| поискавой системы для электроныых деталей |
|
DSP56300 датащи(PDF) 85 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
DSP56300 датащи(HTML) 85 Page - Freescale Semiconductor, Inc |
|
85 / 108 page ![]() Extended Algorithm Program Listing Viterbi Decoder Implementation B-7 ;***********************ACSFlush Macro**************************** ; FUNCTION: This routine is very similar to the ACS macro, except that ; the encoding shift register is now flushing back to 0. ; This means that only the upper paths are taken, halving ; the number of states we need to update. The ACS code is ; modified so that we don't compute the lower paths. In ; addition, state storage is modified so that survivor ; paths are stored in consecutive memory locations. ; Survivors are even states on the first pass, then ; every fourth state, etc. ; INPUTS: ; r2 should point to the beginning of the branch metric table ; r5 should point to the latest path metric for state 0 ; r4 should point to the storage location for updated state 0 ; n5 should be the number of input states/2 to process ; n5 is halved each time this macro is invoked ; OUTPUTS: ; Updated path metrics/paths stored in XY memory ; REGISTERS USED: ; a,b,y01,r2,n2,r3,n3,r4,r5,n5 r2 unchanged (modulo req'd) ; ; SA------NSA ; C / ; / ; / ; D/ ; / ; / ; SB ;***************************************************************** ACSFlush macro ;** move #BRY,r2 ;r2 points to branch metrics move r5,r3 ;save r5 to init r4 later move r4,n3 ;save r4 to init r5 later move l:(r2)+n2,y ;get first branch metrics move l:(r5)+n5,a ;load 1st metric/path pair ; do n5,_NextStage ;update each state add y0,a l:(r5)-n5,b ;updt met,load next pair add y1,b l:(r2)+n2,y ;updt met,ld nxt br met max a,b (r5)+ ;sel surv,save met,inc st ptr move l:(r5)+n5,a ;ld next pair vsl b,0,l:(r4)+ ;end 2nd half _NextStage move n5,b ;recall flush count, loop count asr b n2,a ;divide it by 2,prep double branch jump move n3,r5 move b,n5 ;storage for flush count asl a (r2)-n2 ;reinit branch ptr move r3,r4 move a,n2 ;next pass, skip more branches endm Example B-1 Extended Algorithm Program Listing (Continued) Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| 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 |