Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

DSP56300 Datasheet(PDF) 81 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) 81 Page - Freescale Semiconductor, Inc

Back Button DSP56300 Datasheet HTML 77Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 78Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 79Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 80Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 81Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 82Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 83Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 84Page - Freescale Semiconductor, Inc DSP56300 Datasheet HTML 85Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 81 / 108 page
background image
Extended Algorithm Program Listing
Viterbi Decoder Implementation
B-3
B.1
16-BIT ENHANCED VITERBI DECODER PROGRAM LISTING
This appendix contains the complete 16-bit program listing for Section 4. The code in
this section introduces several modifications to the code discussed in Section 3.
Generalized branch metrics are allowed, as well as the optimization of the code that
reduces the computations when data occurs in blocks.
Example B-1
Extended Algorithm Program Listing
OPT
mex
;****************56600**VITERBI DECODER***********************************
; THIS ROUTINE IMPLEMENTS A CONVOLUTIONAL DECODER USING THE VITERBI ALG. IT IS
; OPTIMIZED FOR SPEED, WHICH MEANS THAT EVERY ALU REGISTER AND ALL OF THE R REGISTERS
; ARE USED.
A SIGNIFICANT AMOUNT OF THESE CAN BE FREED BY STORING AND REUSING
; REGISTERS BETWEEN THE FINDMETRICS ROUTINES AND THE ACS,ACSFlush ROUTINES.
; INPUT is at INDATA: real in x imag in y.
OUTPUT begins at y:DECOUT
; GLOBAL REGISTER USE: a,b,x,y,r012345,n025,m245(are set to a modulo mode)
;*****************BRANCH METRIC MACRO*************************************
;
FUNCTION: Input data and generate branch metrics.
This function
;
subtracts the path metric for state 0 from all branch metrics
;
to provide autonormaliztion. For this decoder, the metric is a scaled
;
sum or difference of the real and imag inputs.
;
INPUTS:
;
r2 should point to the beginning of the branch metric table
;
r5 should point to the latest path metric for state 0
;
r1 should point to the next input XY data pair
;
OUTPUTS:
;
Branch metrics are stored at BRX in XY memory
;
REGISTERS USED:
;
a,b,x01,y01,r1,r2,r5, r5 unchanged,r2 unchanged (modulo req'd)
;*****************FINDMETRICS MACRO******************************************
FindMetrics macro
move
x:(r5),a
;st. metric scaling, read last st. 0
neg
a
l:(r1)+,y ;negate metric|grab dec input
move
#-16,x1
;sign for real component, upper br.
mac
x1,y1,a
a,b
;comp 0x partial br. path mt. to
move
y1,x0
;mv real input to x0
mac
x1,y0,a
a,y1
;a gets 00 br. y1 gets 0x partial br
subl
a,b
b,x0
;a has 00 br, b has 11 br, save path
tfr
y1,a
a,y1
;swap 0x and 00 to compute 01 branch
mac
-x1,y0,a
b,x1
;a gets 01 br
tfr
x0,b
b,y0
;swap path metric,11 branch to y0
subl
a,b
y1,x0
;b gets 10 br, x0 has copy of 00 br.
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