How gc1905/5g-nr-pusch works
This repository is a MATLAB prototype of a 5G NR PUSCH software transceiver and link-level simulator. The documented user workflow configures and launches a simulation sweep, which runs the link-level processing loop; the transceiver turns transport data into a PUSCH waveform, models a channel, and recovers data at the receiver. A separate entry point runs LDPC codec simulations without baseband processing. The README establishes the entry points and simulation loop; most internal connections below are dashed because the MATLAB sources were not sampled.
Main entry points: nr_sch_link_level_sim.m Link-level loop · nr_pusch_transmit.m PUSCH transmitter · nr_pusch_receive.m PUSCH receiver · nr_codec Transport coding
Components 16
Simulation
- Simulation sweep
run_5gnr_sim_sweep.m - Link-level loop
nr_common/nr_sch_link_level_sim.m - Codec simulation
run_5gnr_codec.m - Link metrics
utils/evm.m
Transmit chain
- Transport coding
nr_codec - Scrambling and DMRS
nr_phy - Modulation mapping
modulation/modulation_mapper.m - PUSCH transmitter
nr_phy/nr_pusch_transmit.m - OFDM modulation
nr_phy/nr_ofdma_modulator.m
Channel and estimation
- Fading and impairments
fading - Channel and sync estimation
estimation
Receive chain
- OFDM demodulation
nr_phy/nr_ofdma_demodulator.m - PUSCH receiver
nr_phy/nr_pusch_receive.m - Soft demapping
modulation/modulation_demapper_soft.m - Transport decoding
nr_codec/nr_sch_decode.m
Other components
- Engineer
Connections 18
- Engineer → Simulation sweep: configures
README.md - Simulation sweep → Link-level loop: runs
README.md - Engineer → Codec simulation: runs
README.md - Link-level loop → PUSCH transmitter: dispatches
- Link-level loop → Fading and impairments: applies
- Link-level loop → PUSCH receiver: dispatches
- Link-level loop → Link metrics: measures
- Link-level loop → Transport coding: configures
- PUSCH transmitter → Transport coding: encodes
- PUSCH transmitter → Scrambling and DMRS: uses
- PUSCH transmitter → Modulation mapping: maps
- PUSCH transmitter → OFDM modulation: modulates
- Fading and impairments → Channel and sync estimation: affects
- PUSCH receiver → OFDM demodulation: demodulates
- PUSCH receiver → Channel and sync estimation: uses
- PUSCH receiver → Soft demapping: demaps
- PUSCH receiver → Transport decoding: decodes
- Codec simulation → Transport coding: simulates