參數(shù)資料
型號: DSP56600
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: Implementing Viterbi Decoders Using the VSL Instruction on DSP Families
中文描述: 維特比解碼器實現(xiàn)上使用DSP的家庭教學(xué)的VSL
文件頁數(shù): 45/108頁
文件大?。?/td> 726K
代理商: DSP56600
Expanding the Viterbi Algorithm
Main: Gluing the Pieces Together
Viterbi Decoder Implementation
For More Information On This Product,
Go to: www.freescale.com
3-17
Again, we read the next (previous) path into A1 using r0, which points to the previous
page, and n0, which points to the correct path in that page. We extract the new path
pointer information, update r0 to the next previous page, and move the path pointer to
n0. Move the path data to the upper byte, OR in the lower byte from x1, and move the
resulting word into memory using r2. The loop continues until we have traced back to
the beginning, and y:DECOUT points to the start of the decoder output.
3.7
MAIN: GLUING THE PIECES TOGETHER
The only thing left is to put the pieces together. In
Examples 3-5
through
3-7
, we present
the main routine. Its function is to initialize registers so everything starts properly, and
to invoke the macros at the needed time.
Example 3-5
begins the Viterbi decoding routine by setting equates for the encoder size
and input data length, and initializing address registers. NUMSTATES is set to the
number of encoder states, which for our example is 32. ENCBITS is the number of bits
used to encode. This includes the input bit as well as the state bits. NoOfAcsButt sets the
number of ACS butterflies for the butterfly loop. For our rate 1/2 code, this is
automatically set to half the number of states. The EVEN flag is used by the assembler to
include an extra half-byte of traceback if the number of input bytes of data is odd.
Example 3-5
Main Viterbi Decoding Routine: Initialization
;***************************MAIN***********************************************
;
NUMSTATESequ
32
ENCBITS
equ
6
NoOfAcsButt
equ
NUMSTATES/2
NUMINPUTSequ
168
EVEN
equ
1-(NUMINPUTS/8)%2 ;EVEN SET TO 1/0 IF NUMINPUTS IS
;
org
p:$400
VITDEC
move
#NUMSTATES/2-1,m2
move
#>3,n2
move
#STATE1,r5
move
#STATE2,r4
move
#NUMSTATES*2-1,m4
move
#NUMSTATES*2-1,m5
move
#NUMSTATES/2,n5
move
#PATHOUT,n0
move
#-1,m3
;
move
#INDATA,r1
;
;most cases=log2(NUMSTATES)+1
EVEN/ODD #BYTES
;r2 points to branch metric table
;increment for branch metric storage
;r5 points to current state metric
;r4 points to updated state metric
;both modulo to flip loc each sym
;input metrics spacing for each butterfly
;n0 points to storage for output paths
;set linear mode, traceback ptr
;r1 points to input data
F
Freescale Semiconductor, Inc.
n
.
相關(guān)PDF資料
PDF描述
DSP56852E 16-bit Digital Signal Controllers
DSP56852VFE 16-bit Digital Signal Controllers
DSP56853E 16-bit Digital Signal Controllers
DSP56853FG120 16-bit Digital Signal Controllers
DSP56853FGE 16-bit Digital Signal Controllers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DSP56600AD 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:INTERGRATED CELLULAR BASEBAND PROCESSOR DEVELOPMENT IC
DSP56600FM 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:16-BIT DIGITAL SIGNAL PROCESSOR
DSP56602 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:16-Bit Digital Signal Processor User manual
DSP56602AD 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:16-Bit Digital Signal Processor User manual
DSP56602DS 制造商:未知廠家 制造商全稱:未知廠家 功能描述:DSP56602 16-Bit Digital Signal Processor Datasheet