Verify Viterbi Decoder Using Cadence Incisive

This example shows how to use HDL Verifier™ in conjunction with Cadence® Incisive® to verify HDL code for a fixed-point Viterbi decoder.

1. Open the Simulink Model

Open the model viterbi_incisive.mdl.

2. Launch Incisive

Before launching Incisive, make sure that the Incisive executables are on the MATLAB® system path.

Launch Incisive by double-clicking the "Incisive Startup Command" block in the Simulink model, or by executing the following command in your MATLAB console:


3. Run Simulation

When Incisive has finished compiling the VHDL files and loading the simulation, the text "Ready for cosimulation ..." is displayed in the Incisive command window. After you see this text, start Simulink simulation from the open model.

When the simulation stops, observe the bit error rate displayed at the "BER Display" block.

4. Rerun Simulation with Different Parameters.

There are two parameters that control the behavior of this model. The first is the frame size and the other is the Es/No used for simulation. You can change those parameters in the MATLAB console. For example,

FrameSize = 10;
EsNo      = 5;

Then you can rerun the cosimulation with updated parameters by starting the simulation again from the model.

4. Finish Simulation

Close the Incisive session. Then return to Simulink and close the model.

Was this topic helpful?