參數(shù)資料
型號(hào): DSP56600
廠商: 飛思卡爾半導(dǎo)體(中國(guó))有限公司
英文描述: Implementing Viterbi Decoders Using the VSL Instruction on DSP Families
中文描述: 維特比解碼器實(shí)現(xiàn)上使用DSP的家庭教學(xué)的VSL
文件頁(yè)數(shù): 87/108頁(yè)
文件大小: 726K
代理商: DSP56600
Extended Algorithm Program Listing
Viterbi Decoder Implementation
For More Information On This Product,
Go to: www.freescale.com
B-9
;***********************TRACEBACK OUTPUT PATH MACRO*******************
;
FUNCTION: To output the correct data, we begin at the end. We take
;
the output path of the survivor state (0), and place its
;
associated output path in memory as the last output data
;
byte. Then we use bits 3-7 of that data as an offset pointer
;
to the correct traceback data of the next previous path data
;
memory. We continue this until we have traced the data back
;
to the begining.
;
INPUTS:
;
n0 should point to memory where the path bits are to be stored
;
r5 should point to the latest path metric for state 0
;
OUTPUTS:
;
Decoder output data in Y memory
;
REGISTERS USED:
;
a,b,y,r0,n0,r2,r5
;
;*********************************************************************
;
Store off path data in bytes to avoid overflow in path reg's
TRACEBACK macro
;
move
N0,R0
move
#0,n0
move
#DECOUT+(NUMINPUTS/8/2),r2 ;point to end of output buffer
move
y:(r5),b
move
#-1,m2
move
b1,x:(r0)
move
#$513,y0
;
;*****************BEGIN TRACEBACK*****************************
IF (EVEN==0)
move
x:(r0+n0),a
extractu y0,a,b
lua
(r0-NUMSTATES),r0
lsl
#8,a
move
b0,n0
move
a1,y:(r2)-
ENDIF
;
do
#NUMINPUTS/8/2,TRCBK
move
x:(r0+n0),a
extractu y0,a,b
lua
(r0-NUMSTATES),r0
move
b0,n0
move
a1,y1
move
x:(r0+n0),a
extractu y0,a,b
lua
(r0-NUMSTATES),r0
move
b0,n0
lsl
#8,a
or
y1,a
move
a1,y:(r2)-
TRCBK
endm
;path ptr to r0
;prep for traceback
;recall last path
;r2 now linear
;save off last path data
;control word for extract
;recall last path
;bits 3-7 of a1 point to next data
;dec r0 to next earlier path set
;move to upper byte
;load as offset for traceback
;save off
;once for each byte pair
;recall last path
;get ptr to next earlier path
;point r0 to next earlier states
;save ptr as offset
;save out byte in x1
;do it all again!
;move to upper byte
;or in last byte to get 16 bit word
;store result
Example B-1
Extended Algorithm Program Listing (Continued)
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 制造商全稱(chēng):Freescale Semiconductor, Inc 功能描述:INTERGRATED CELLULAR BASEBAND PROCESSOR DEVELOPMENT IC
DSP56600FM 制造商:FREESCALE 制造商全稱(chēng):Freescale Semiconductor, Inc 功能描述:16-BIT DIGITAL SIGNAL PROCESSOR
DSP56602 制造商:MOTOROLA 制造商全稱(chēng):Motorola, Inc 功能描述:16-Bit Digital Signal Processor User manual
DSP56602AD 制造商:MOTOROLA 制造商全稱(chēng):Motorola, Inc 功能描述:16-Bit Digital Signal Processor User manual
DSP56602DS 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:DSP56602 16-Bit Digital Signal Processor Datasheet