Use the Viterbi Decoder block for fixed-point soft-decision convolutional decoding.
A Quantizer subsystem (containing Gain (Simulink), Scalar Quantizer Encoder, and Data Type Conversion (Simulink) blocks) quantizes the signal and casts the output data type to
fixdt(0,3,0). The signal input to the Viterbi Decoder block is
The Viterbi Decoder block has the
Decision type parameter set to
Soft decision and
Number of soft decision bits set to 3, and on the Data Types tab, the
State metric word length is set to
6 and the
Output data type is set to
boolean. The bit error rate is displayed and captured to the
BER workspace variable.
The computed bit error rate is 0.00002. The total number of errors is 18. The total number of bits processed is 1000044.