Hi,
I need to use the algorithm on spra776a.pdf on viterbi decoding. I find that C55 instruction is quite different from C6000. The following code/description on page 11 cannot be easily understand for me.
; AR5: pointer to the old metrics table
; AR4: pointer to the new metrics table
; T2 = SD(2*j) − SD(2*j+1)
;Compute New_metric (i)&(i+8)
hi(AC0) = *AR5+ − T2, ;AC0=Old_Met(2*j) +T2
lo(AC0) = *AR5+ + T2 ;AC0=Old_met(2*j+1)−T2
hi(AC1) = *AR5+ + T2, ;AC1=Old_Met(2*j) −T2
lo(AC1) = *AR5+ − T2 ;AC1=Old_met(2*j+1)+T2
max_diff(AC0, AC1, AC2, AC1) ;Compare AC0, AC1
||*AR4(T0) = lo(AC2), ;Store New_metric(i−1)&(i−1+8)
*AR4+ = hi(AC2)
Three instructions are required to update two states. The states are updated in consecutive
order to simplify pointer manipulation. In many systems, the same local distance is used in
consecutive butterflies.
"Three instructions are required to update two states. " indicates which three instructions?
"update two states" means which states in the code?
Thanks,