MATLAB: Viterbi Decoder vitdec for HDL-Code generation

hdlHDL Codervitdecviterbi

Hello, I need to model a Viterbi Decoder. Since I want to generate HDL code out of my model, vitdec(…) is no solution. It´s not supportet by the HDL coder. Has someone a working model which is equivalent to:
out_1 = vitdec(c_in,t,35,'trunc','hard',punct);
Thanks a lot, Stefan

Best Answer

The Viterbi decoder is well supported for HDL code generation from both MATLAB and Simulink. This is amply demonstrated in the Examples published with HDL Coder. Please see any one of these published examples; they are all part of the HDL Coder documentation.
  1. HDL Code Generation from Viterbi Decoder System Object
  2. Viterbi Decoder Using Simulink Blocks
  3. Viterbi Decoder Using the MATLAB Function Block
You may also use the Viterbi Decoder Simulink block, which is part of the Communications System Toolbox.
Related Question