10.6.4.3. Performing Bit-Accurate Simulation
- Open the SynthesisInfo block parameter dialog box.
- Turn on Bit Accurate Simulation.
When you turn on bit-accurate simulation and you simulate the design, the Simulink simulation is no longer based on the multiprecision floating-point library. Instead, the Simulink simulation signal values are generated from the same model of the floating-point operations that generate the RTL. Therefore, the simulation values exactly match the values that the hardware produces.Note: Do not turn on Bit Accurate Simulation when your design includes Memory-Mapped library blocks, otherwise the simulation is all zeros.The bit-accurate simulation correctly reproduces the signal values of the data paths in the design, but the timing of those signals may not necessarily reflect any register retiming that the scheduler has carried out. To make the bit-accurate simulation also reproduce the correct timing:
- Click DSP Builder > Verify Design
- Click on the Advanced tab.
- Turn on Bit accuracy is also cycle accurate