This repository aims to create an OFDM RX implementation according to this specification. An overview of the architecture can be obtained from the following figure.
- Mentor Modelsim or Questa
- Python3 (added to the PATH environment variable)
- Python modules: numpy and matplotlib (
pip install numpy matplotlib
)
Just call the script start_rx_simulation.bat <command>
where command
is one of the following:
gui
: Starts the simulation in GUI mode (useful for wave window debugging)cmd
: Starts the simulation in command line modeclean
: Cleans all the simulation artifacts
There is also a bash script start_rx_simulation.sh <command>
with the same name and commands.
The simulation will generate a scatter plot of the modulation symbols using a Python script. The plot contains the BER and EVM values and can be found at src/grpRx/unitTopLevel/sim/scatter_plot#.png
, where #
is the number of the symbol sequence processed. The plot is only available when the simulation of one symbol sequence is finished. Pay attention to the console output of Modelsim/Questa in order to obtain the current simulation status and result of the verification.