| поискавой системы для электроныых деталей |
|
DSP56300 датащи(PDF) 101 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
DSP56300 датащи(HTML) 101 Page - Freescale Semiconductor, Inc |
|
101 / 108 page ![]() 24-Bit Algorithm Program Listing Viterbi Decoder Implementation C-9 ;***********************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. As a result, 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,y1,r0,n0,r3,r5 ;********************************************************************* ; ; Store off path data in wordsto avoid overflow in path reg's ; STOREPATHS macro LPCNT ; move n0,r3 ;n0 stores path data pointer move n0,r0 move #>$1f,y1 ;mask for 1 lsb's(NUMENCBITS-1 of 1's) do LPCNT,_PSTORE1 ;store paths for each state move y:(r5),b ;grab path asr #5,b,a ;align bits5-20 w/ a1 (16 bits beyond enc) and y1,b ;mask off 5 lsb's to return to path move a1,x:(r3)+ ;store 16 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 Example C-1 24-bit 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 |