PlatformsFaststream SiliconFaststream RadioFaststream VisionConnected EdgeFaststream SecureMobility & Rail
ProductsSemiconductor IPWireless & RANEdge & GatewaysTracking & IdentificationSoftware & FrameworksConnected Systems
TechnologyRTL to GDSIIVerification methodologyDFT and silicon testLow-power designMixed-signal integrationDesign enablement5G protocol stackWireless and RF architectureBaseband and low PHYForward error correctionControl and data planeHigh-speed interfacesFirmware and bootSilicon root of trustSoftware-defined vehicleAutomotive OTAFunctional safety
AIAI Engineering ServicesEdge AI & Embedded MLComputer Vision EngineeringSensor Fusion & PerceptionAI Silicon & AccelerationMLOps for DevicesAI Visual InspectionPredictive MaintenanceDriver MonitoringVideo Analytics & Safety
SolutionsSemiconductorIndustrial AIConnected ProductsAsset TrackingAutomotive & MobilitySmart InfrastructureSecure IdentityWireless & SatelliteSmart WashroomsFuel ManagementSmart BuildingsWorker SafetyEnergy MonitoringSmart AgricultureSmart CityAutonomous PlatformsAssembly AutomationLiDAR Rail SafetyHardware Wallet
IndustriesSemiconductorTelecommunicationsIndustrial & ManufacturingAutomotive & MobilityTransportation & RailAerospace & DefenceHealthcare & MedicalEnergy & UtilitiesOil & GasRetailConsumer ElectronicsMedia & EntertainmentSmart Infrastructure & IoT
ServicesSystem Integration overviewASIC & SoC DesignFPGA DesignFPGA-to-ASIC ConversionAnalog, Mixed-Signal & RFHardware & High-Speed PCBEmbedded SoftwareCloud, OTA & Device ManagementManufacturing TransitionHow we engage
InsightCase StudiesKnowledge CenterWhite PapersGlossaryNewsletterResources & Support
CompanyAbout FaststreamEngineering ExcellenceLeadership & OrganisationHow We EngageQuality & ComplianceStandards & EcosystemPartners & EcosystemTrust CentreLocations & DeliveryNewsroom & MediaCareers
ContactStart a projectHow we engage
Talk to an engineer
SIGNAL PROCESSING

Forward Error Correction

Every link is a negotiation between how little power you can transmit and how much error you can repair. Forward error correction is where that negotiation is settled: it buys back the decibels the link budget cannot afford, at a cost in latency, silicon area and power that almost always dominates the receiver.

LDPCPolarTurboReed-SolomonHARQRate matchingSoft decision
Where the receiver's silicon actually goes
SHARE OF RECEIVER RESOURCELDPC decoder memoryusually dominantHARQ soft buffersized for worst caseDecoder logicparallelises wellRate matching and interleavingcheap, easy to get wrongDemodulationsoft values inThe decoder frequently chooses the device for the entire design, which is why it is sized first.
WHY IT EXISTS

Coding gain is cheaper than transmit power.

A receiver needs a certain signal-to-noise ratio to recover data. You can supply it with transmit power, with antenna gain, or with coding — and coding is usually the cheapest of the three, because power costs amplifier efficiency and thermal design while antenna gain costs mechanics and beamwidth.

The other reason is that retransmission is not always available. On a satellite link the round trip makes an automatic repeat request expensive, and on a broadcast link there is no return path at all. Where the channel is one-way or the delay is long, correction has to happen forward.

The consequence is that the decoder frequently dominates the receiver. On the FPGA satellite modem programme the error-correction block consumed a disproportionate share of both logic and memory, and its architecture effectively chose the device for the entire design.

CODE FAMILIES

Five families, and what each is actually for.

They are not interchangeable. Block length, target error rate, latency budget and decoder cost decide, and modern standards use more than one.

Forward error correction families
FamilyWhere it is usedWhy it was chosen there
Convolutional / ViterbiLegacy cellular, deep-space heritage, short control channelsSimple decoder with good performance at short lengths; superseded for bulk data but still efficient where blocks are tiny
Turbo3G and 4G data channelsNear-capacity performance at moderate block lengths; iterative decoding cost was acceptable at the throughputs of the era
LDPC5G NR data, DVB-S2/S2X, Wi-Fi, storageExcellent performance with a decoder that parallelises well, which is what makes multi-gigabit throughput achievable
Polar5G NR control channelsProvably capacity-achieving and better than LDPC at the short block lengths control signalling uses
Reed-SolomonOptical, storage, and as an outer code in concatenated schemesCorrects bursts rather than scattered bit errors, which is why it pairs with an inner code that leaves burst residue

5G NR uses LDPC for data and polar for control in the same air interface, because block length changes which code wins.

WHAT IS ACTUALLY HARD

Seven problems, and none of them is picking the code.

SATELLITE AND BROADCAST

Where correction has to do all the work.

No return path, or a return path too slow to use. Everything is decided at the transmitter.

Coding on one-way and long-delay links
ConstraintWhat it forcesConsequence
Long round tripRetransmission is impractical for most trafficCoding is sized for the worst usable condition rather than the average
Very low signal-to-noise ratioLong block lengths and low code ratesLarge decoder memories and more iterations, both of which cost silicon
Varying conditionsAdaptive coding and modulation across the pass or the weatherThe receiver must track and switch modes without losing lock
No return path at allEvery recipient must decode from the same transmissionThe margin is set by the worst receiver in the population, not the typical one

Concatenation is common here: an inner soft-decision code close to capacity, and an outer code clearing the residual errors the inner decoder leaves behind.

WHERE THIS APPLIES

Industries this serves.

COMMON QUESTIONS

What engineers ask about this.

01

What is forward error correction?

Adding structured redundancy at the transmitter so the receiver can repair errors without asking for a retransmission. It buys signal-to-noise margin — coding gain — which is usually cheaper than supplying the same margin with transmit power or antenna gain.

02

Why does 5G NR use both LDPC and polar codes?

Because block length changes which code wins. LDPC performs excellently and parallelises well at the long block lengths data channels use, which is what makes high throughput achievable. Polar performs better at the short block lengths control signalling uses. Using one code for both would compromise one of them.

03

What makes an error-correction block expensive in hardware?

Memory, not logic. Iterative decoders pass messages between nodes and need large memories to hold them, and the HARQ soft buffer holds failed transmissions for combining. On real designs the decoder frequently dominates device selection for the whole receiver.

04

What is soft-decision decoding and why does it matter?

Feeding the decoder a confidence value per bit — a log-likelihood ratio — rather than a hard one or zero. It is worth several decibels of coding gain. How many bits those values are quantised to is a direct trade between performance and memory, and it is decided per stage.

05

What is HARQ?

Hybrid automatic repeat request: combining forward error correction with retransmission. With incremental redundancy the soft values of a failed transmission are retained and combined with the retransmission rather than discarded, which is why the soft buffer is often the largest memory in the receiver.

06

Why is Reed-Solomon still used?

It corrects bursts rather than scattered bit errors, so it pairs naturally as an outer code with an inner soft-decision code that leaves burst residue behind. Concatenation of that kind is common in satellite, broadcast and storage.

07

How does low-latency traffic change the choice?

It cannot wait for many decoding iterations or a long interleaver, so it accepts a lower code rate and more transmit resource instead. The right coding decision for bulk data is the wrong one for ultra-reliable low-latency traffic on the same air interface.

KEEP READING

Related work.

BUILD WITH FASTSTREAM

Bring us the difficult part.

Tell us the specification, the constraint and the deadline. Programmes that cross silicon, radio, embedded and AI are where Faststream is strongest.