Electronic Components Datasheet Search
  English  ▼

X  

DSP56300 Datasheet(PDF) 42 Page - Freescale Semiconductor, Inc

Part # DSP56300
Description  Implementing Viterbi Decoders Using the VSL Instruction on DSP Families
PDF  108 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

DSP56300 Datasheet(HTML) 42 Page - Freescale Semiconductor, Inc

Back Button DSP56300 Datasheet HTML 38Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 39Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 40Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 41Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 42Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 43Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 44Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 45Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 46Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 42 / 108 page
background image
3-14
Viterbi Decoder Implementation
Expanding the Viterbi Algorithm
Traceback: Obtaining the Decoder Output
To store the paths, begin by recalling the path storage address pointer. In the example
code, this is stored in n0. We place copies into r3 (to use as the address pointer for data
writes) and r0 (to update the pointer to the next page at the end of the routine). We then
mask off the 5 LSBs, and proceed to store the paths. We have designed this macro to
process a variable number of states, controlled by the macro argument LPCNT. This
variability will be used in Section 4.
Example 3-3
Partial Path Storage Code Listing
;***********************STORE PARTIAL PATH METRICS MACRO***************
;
FUNCTION: The storage is somewhat twisted.
The stored paths are current
;
up to the most recent input bit, which is NOT convenient for
;
traceback.
I process the data as follows:
I pre
;
loaded the path with 6 bits.
Thereafter, I process 8 path bits
;
so the path has 14 bits.
The most significant 8, I save.
;
the remaining bits are the current encoder values for that path.
;
The 5 lsb's are the current state.
;
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:
;
Updated paths storage X memory, n0 points to next path storage
;
REGISTERS USED:
;
a,b,x1,r0,n0,r3,r5
;*********************************************************************
;
;
Store off path data in bytes to avoid overflow in path reg's
;
STOREPATHS macro LPCNT
;
move
n0,r3
;n0 stores path data pointer
move
n0,r0
move
#>$1f,x1
;mask for 5 lsb's(NUMENCBITS of 1's)
do
LPCNT,_PSTORE1
;store paths for each state
move
y:(r5),b
;grab path
asr
#5,b,a
;align bits 5-12 with a1
;
(the 8 bits beyond enc)
and
x1,b
;mask off 5 lsb's to return to path
move
a1,x:(r3)+
;store 8 ms path bits
move
b1,y:(r5)+
;return 5 ls path bits
_PSTORE1
lua
(R4+NUMSTATES),R5
;r5 points to latest states
lua
(r0+NUMSTATES),n0
;update path data pointer
endm
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com