亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? example 3-15.asm

?? 《基于TI DSP的通用算法實(shí)現(xiàn)》程序代碼
?? ASM
?? 第 1 頁 / 共 2 頁
字號(hào):

;Example 3 - 15. FFT Implementation of a 2N Real Sequence Based on Data-Packing Method for TMS320C54x	

* Appendix A Main.inc


* Filename: Main.inc
* Includes all the constants that are used in the entire application

	K_0 		.set 0 ; constant
	K_FIR_INDEX 	.set 1 ; index count
	K_FIR_BFFR 	.set 16 ; FIR buffer size
	K_neg1 		.set –1h ; index count
	K_BIQUAD 	.set 2 ; there are 2 bi-quad sections
	K_IIR_SIZE 	.set 10 ; each bi-quad has 5 coeffs
	K_STACK_SIZE 	.set 200 ; stack size
	K_FRAME_SIZE 	.set 256 ; PING/PONG buffer size
	K_FRAME_FLAG 	.set 1 ; set after 256 collected
	H_FILT_SIZE 	.set 128 ; H(z) filter size
	ADPT_FILT_SIZE 	.set 128 ; W(z) filter size
	K_mu 		.set 0h ; initial step constant
	K_HOST_FLAG 	.set 1 ; Enable EVM_HOST interface
	K_DEFAULT_AC01 	.set 1h ; default AC01 init   
	
* This include file sets the FFT size for the ’54x Real FFT code
* Note that the Real FFT size (i.e. the number of points in the
* original real input sequence) is 2N; whereas the FFT size is
* the number of complex points formed by packing the real inputs,
* which is N. For example, for a 256-pt Real FFT, K_FFT_SIZE
* should be set to 128 and K_LOGN should be set to 7.

	K_FFT_SIZE 	.set 128 ; # of complex points (=N)
	K_LOGN 		.set 7 ; # of stages (=logN/log2)
	K_ZERO_BK 	.set 0
	K_TWID_TBL_SIZE .set 128 ; Twiddle table size
	K_DATA_IDX_1 	.set 2 ; Data index for Stage 1
	K_DATA_IDX_2 	.set 4 ; Data index for Stage 2
	K_DATA_IDX_3 	.set 8 ; Data index for Stage 3
	K_FLY_COUNT_3 	.set 4 ; Butterfly counter for Stage 3
	K_TWID_IDX_3 	.set 32 ; Twiddle index for Stage 3


; Appendix B FFT Example Code

; B.1 256-Point Real FFT Initialization

; TEXAS INSTRUMENTS INCORPORATED
; DSP Data Communication System Development / ASP
;
; Archives: PVCS
; Filename: rfft.asm
; Version: 1.0
; Status : draft ( )
; proposal (X)
; accepted ( ) dd–mm–yy/?acceptor.
;
; AUTHOR Simon Lau and Nathan Baltz
;
; Application Specific Products
; Data Communication System Development
; 12203 SW Freeway, MS 701
; Stafford, TX 77477
;{
; IPR statements description (can be collected).
;}
;(C) Copyright 1996. Texas Instruments. All rights reserved.
;
;{
; Change history:
;
; VERSION DATE / AUTHORS COMMENT
; 1.0 July–17–96 / Simon & Nathan original created
;
;}
;{
; 1. ABSTRACT
;
; 1.1 Function Type
; a.Core Routine
; b.Subroutine
;
; 1.2 Functional Description
; This file contains core routine:
; rfft
;
; 1.3 Specification/Design Reference (optional)
;
; 1.4 Module Test Document Reference
; Not done
;
; 1.5 Compilation Information
; Compiler: TMS320C54X ASSEMBLER
; Version: 1.02 (PC)
; Activation: asm500 –s rfft.asm
;
; 1.6 Notes and Special Considerations
; –
;}
;{
; 2. VOCABULARY
;
; 2.1 Definition of Special Words, Keywords (optional)
; –
; 2.2 Local Compiler Flags
; –
; 2.3 Local Constants
; –
;}
;{
; 3. EXTERNAL RESOURCES
;
; 3.1 Include Files

	.mmregs
	.include ”main.inc”
	.include ”init_54x.inc”
; 3.2 External Data
	.ref bit_rev, fft, unpack
	.ref power
	.ref sine,cosine
	.ref sine_table,cos_table
	
; 3.3 Import Functions
;}
;{
; 4. INTERNAL RESOURCES
;
; 4.1 Local Static Data
; –
; 4.2 Global Static Data
; –
; 4.3 Dynamic Data
; –
; 4.4 Temporary Data
; –
; 4.5 Export Functions
.def rfft_task
;}
; 5. SUBROUTINE CODE
; HeaderBegin
;==============================================================================
;
;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
; 5.1 rfft
;
; 5.2 Functional Description
; The following code implements a Radix–2, DIT, 2N–point Real FFT for the
; TMS320C54x. This main program makes four function calls, each
; corresponds to a different phase of the algorithm. For more details about
; how each phase is implemented, see bit_rev.asm, fft.asm, unpack.asm, and
; power.asm assembly files.
;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
;
; 5.3 Activation
; Activation example:
; CALL rfft
; Reentrancy: No
; Recursive : No
; 5.4 Inputs
; NONE
; 5.5 Outputs
; NONE
;
; 5.6 Global
;
; Data structure: AR1
SPRA669
TMS320C54x Digital Filters 29
; Data Format: 16–bit pointer
; Modified: No
; Description: used for moving the twiddle tables from
; program to data
;
; 5.7 Special considerations for data structure
; –
; 5.8 Entry and Exit conditions
;
; |DP|OVM|SXM|C16|FRCT|ASM|AR0|AR1|AR2|AR3|AR4|AR5|AR6|AR7|A |B |BK|BRC| T|TRN
; | | | | | | | | | | | | | | | | | | | |
;in |U | 1 | 1 |NU | 1 |NU |NU |NU |NU |NU |NU |NU |NU |NU |NU|NU|NU|NU |NU|NU
; | | | | | | | | | | | | | | | | | | | |
;out|U | 1 | 1 |NU | 1 |U |NU |UM |NU |NU |NU |NU |NU |NU |NU|NU|NU|UM |NU|NU
;
; Note : UM – Used & Modified, U – Used, NU – Not Used
;
; 5.9 Execution
; Execution time: ?cycles
; Call rate: not applicable for this application
;
;==============================================================================
;HeaderEnd
; 5.10 Code
	.asg AR1,FFT_TWID_P
	.sect ”rfft_prg”
rfft_task:
	STM #sine,FFT_TWID_P
	RPT #K_FFT_SIZE–1 		; move FIR coeffs from program
	MVPD #sine_table,*FFT_TWID_P+ 	; to data
	STM #cosine,FFT_TWID_P
	RPT #K_FFT_SIZE–1 		; move FIR coeffs from program
	MVPD #cos_table,*FFT_TWID_P+ 	; to data
	CALL bit_rev
	CALL fft
	CALL unpack
	CALLD power
	STM #K_ST1,ST1 			; restore the original contents of
					; ST1 since ASM field has changed
	RET 				; return to main program
	.end



; B.2 Bit Reversal Routine
; TEXAS INSTRUMENTS INCORPORATED
; DSP Data Communication System Development / ASP ;
;
; Archives: PVCS
; Filename: bit_rev.asm
; Version: 1.0
; Status : draft ( )
; proposal (X)
; accepted ( ) dd–mm–yy/?acceptor.
;
; AUTHOR Simon Lau and Nathan Baltz
;
; Application Specific Products
; Data Communication System Development
; 12203 SW Freeway, MS 701
; Stafford, TX 77477
;{
; IPR statements description (can be collected).
;}
SPRA669
30 TMS320C54x Digital Filters
;(C) Copyright 1996. Texas Instruments. All rights reserved.
;
;{
; Change history:
;
; VERSION DATE / AUTHORS COMMENT
; 1.0 July–17–96 / Simon & Nathan original created
;
;}
;{
; 1. ABSTRACT
;
; 1.1 Function Type
; a.Core Routine
; b.Subroutine
;
; 1.2 Functional Description
; This file contains one subroutine:
; bit_rev
;
; 1.3 Specification/Design Reference (optional)
; called by rfft.asm depending upon the task thru CALA
;
; 1.4 Module Test Document Reference
; Not done
;
; 1.5 Compilation Information
; Compiler: TMS320C54X ASSEMBLER
; Version: 1.02 (PC)
; Activation: asm500 –s bit_rev.asm
;
; 1.6 Notes and Special Considerations
; –
;}
;{
; 2. VOCABULARY
;
; 2.1 Definition of Special Words, Keywords (optional)
; –
; 2.2 Local Compiler Flags
; –
; 2.3 Local Constants
; –
;}
;{
; 3. EXTERNAL RESOURCES
;
; 3.1 Include Files
.mmregs
.include ”main.inc”
; 3.2 External Data
.ref d_input_addr, fft_data
; 3.3 Import Functions
;}
;{
; 4. INTERNAL RESOURCES
;
; 4.1 Local Static Data
; –
; 4.2 Global Static Data
; –
; 4.3 Dynamic Data
; –
; 4.4 Temporary Data
; –
; 4.5 Export Functions
.def bit_rev
;}
; 5. SUBROUTINE CODE
; HeaderBegin
;==============================================================================
;
;––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
; 5.1 bit_rev
;
; 5.2 Functional Description
; This function is called from the main module of the ’C54x Real FFT code.
; It reorders the original 2N–point real input sequence by using
; bit–reversed addressing. This new sequence is stored into the data
; processing buffer of size 2N, where FFT will be performed in–place
; during Phase Two.
;
;––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––—
;
; 5.3 Activation
; Activation example:
; CALL bit_rev
; Reentrancy: No
; Recursive : No
;
; 5.4 Inputs
; NONE
; 5.5 Outputs
; NONE
;
; 5.6 Global
;
; Data structure: AR0
; Data Format: 16–bit index pointer
; Modified: No
; Description: used for bit reversed addressing
;
; Data structure: AR2
; Data Format: 16–bit pointer
; Modified: Yes
; Description: pointer to processed data in bit–reversed order
;
; Data structure: AR3
; Data Format: 16–bit pointer
; Modified: Yes
; Description: pointer to original input data in natural order
;
; Data structure: AR7
; Data Format: 16–bit pointer
; Modified: Yes
; Description: starting addressing of data processing buffer
;
; 5.7 Special considerations for data structure
; –
; 5.8 Entry and Exit conditions
;
; |DP|OVM|SXM|C16|FRCT|ASM|AR0|AR1|AR2|AR3|AR4|AR5|AR6|AR7|A |B |BK|BRC| T|TRN|
; | | | | | | | | | | | | | | | | | | | | |
;in |U | 1 | 1 |NU | 1 |NU |NU |NU |NU |NU |NU |NU |NU |NU |NU|NU|NU|NU |NU|NU |
; | | | | | | | | | | | | | | | | | | | | |
;out|U | 1 | 1 |NU | 1 |NU |UM |NU |UM |UM |NU |NU |NU |UM |NU|NU|NU|UM |NU|NU |
;
; Note : UM – Used & Modified, U – Used, NU – Not Used
;
; 5.9 Execution
; Execution time: ?cycles
; Call rate: not applicable for this application
;
;==============================================================================
;HeaderEnd
; 5.10 Code
	.asg AR2,REORDERED_DATA
	.asg AR3,ORIGINAL_INPUT
	.asg AR7,DATA_PROC_BUF
	.sect ”rfft_prg”
bit_rev:
	SSBX FRCT 				; fractional mode is on
	MVDK d_input_addr,ORIGINAL_INPUT 	; AR3 –> 1 st original input
	STM #fft_data,DATA_PROC_BUF 		; AR7 –> data processing buffer
	MVMM DATA_PROC_BUF,REORDERED_DATA 	; AR2 –> 1st bit–reversed data
	STM #K_FFT_SIZE–1,BRC
	RPTBD bit_rev_end–1
	STM #K_FFT_SIZE,AR0 			; AR0 = 1/2 size of circ buffer
	MVDD *ORIGINAL_INPUT+,*REORDERED_DATA+
	MVDD *ORIGINAL_INPUT–,*REORDERED_DATA+
	MAR *ORIGINAL_INPUT+0B
bit_rev_end:

	RET 					; return to Real FFT main module
	.end


; B.3 256-Point Real FFT Routine

; TEXAS INSTRUMENTS INCORPORATED
; DSP Data Communication System Development / ASP
;
; Archives: PVCS
; Filename: fft.asm
; Version: 1.0
; Status : draft ( )
; proposal (X)
; accepted ( ) dd–mm–yy/?acceptor.
;
; AUTHOR Simon Lau and Nathan Baltz
;
; Application Specific Products
; Data Communication System Development
; 12203 SW Freeway, MS 701
; Stafford, TX 77477
;{
; IPR statements description (can be collected).
;}
;(C) Copyright 1996. Texas Instruments. All rights reserved.
;
;{
; Change history:
;
; VERSION DATE / AUTHORS COMMENT
; 1.0 July–17–96 / Simon & Nathan original created
SPRA669
TMS320C54x Digital Filters 33
;
;}
;{
; 1. ABSTRACT
;
; 1.1 Function Type
; a.Core Routine
; b.Subroutine
;
; 1.2 Functional Description
; This file contains one subroutine:
; fft
;
; 1.3 Specification/Design Reference (optional)
; called by rfft.asm depending upon the task thru CALA
;
; 1.4 Module Test Document Reference
; Not done
;
; 1.5 Compilation Information
; Compiler: TMS320C54X ASSEMBLER
; Version: 1.02 (PC)
; Activation: asm500 –s fft.asm
;
; 1.6 Notes and Special Considerations
; –
;}
;{
; 2. VOCABULARY
;
; 2.1 Definition of Special Words, Keywords (optional)
; –
; 2.2 Local Compiler Flags
; –
; 2.3 Local Constants
; –
;}
;{
; 3. EXTERNAL RESOURCES
;
; 3.1 Include Files
.mmregs
.include ”main.inc”
; 3.2 External Data
.ref fft_data, d_grps_cnt, d_twid_idx, d_data_idx, sine, cosine
; 3.3 Import Functions
;}
;{
; 4. INTERNAL RESOURCES
;
; 4.1 Local Static Data
; –
; 4.2 Global Static Data
; –
; 4.3 Dynamic Data
; –
; 4.4 Temporary Data
; –
; 4.5 Export Functions
.def fft
;}
; 5. SUBROUTINE CODE
; HeaderBegin
SPRA669
34 TMS320C54x Digital Filters
;==============================================================================
;
;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
; 5.1 fft
;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美xxxxxxxx| 国产亚洲一本大道中文在线| 国产一二精品视频| 卡一卡二国产精品| 亚洲视频中文字幕| 久久香蕉国产线看观看99| 在线区一区二视频| 高清不卡一二三区| 国产乱子伦视频一区二区三区| 亚洲三级久久久| 亚洲视频在线一区观看| 欧美大度的电影原声| 欧美日韩在线一区二区| 成人av免费观看| 国产精品一区二区在线观看网站| 日韩在线卡一卡二| 亚洲永久精品国产| 亚洲影院理伦片| 国产精品久久久久四虎| 日韩精品一区二区三区视频| 日韩欧美在线123| 91精品国产综合久久福利| 欧美性猛交xxxxxxxx| 色久优优欧美色久优优| 色欧美片视频在线观看| 欧美视频在线播放| 91精品国产综合久久福利 | 国产麻豆91精品| zzijzzij亚洲日本少妇熟睡| 色哟哟一区二区三区| 欧美无砖专区一中文字| 久久精品一区二区三区四区| 亚洲午夜激情网页| 成人精品gif动图一区| 3d动漫精品啪啪1区2区免费| 久久精品一区二区三区不卡| 亚洲午夜电影在线观看| 国产成人av电影在线观看| 色狠狠桃花综合| 日韩精品一区在线| 亚洲国产中文字幕| 成人av在线影院| 精品三级在线观看| 亚洲三级电影网站| 成人一级片网址| 日韩女优av电影| 最新日韩在线视频| 成人黄色av网站在线| 欧美影院一区二区三区| 26uuu亚洲综合色欧美| 婷婷国产在线综合| 一本大道综合伊人精品热热| 国产亚洲综合色| 美女一区二区三区在线观看| 色94色欧美sute亚洲线路二| 中文字幕在线不卡一区二区三区| 麻豆成人在线观看| 97久久超碰国产精品| 欧美va日韩va| 日韩一区精品视频| 色综合久久中文字幕| 国产精品久久久久影院亚瑟| 国产精品亚洲а∨天堂免在线| 日韩一级黄色片| 日韩国产精品久久久| 精品国精品国产| 国产老肥熟一区二区三区| 久久天天做天天爱综合色| 久久99蜜桃精品| 精品国精品国产尤物美女| 日本成人在线电影网| 日韩一级免费观看| 精品一区二区在线观看| 欧美日韩aaaaa| 国产不卡视频在线观看| 亚洲伦理在线精品| 欧美亚洲动漫精品| 首页亚洲欧美制服丝腿| 777色狠狠一区二区三区| 天堂影院一区二区| 精品日韩av一区二区| 韩国女主播成人在线| 国产精品欧美精品| 91国偷自产一区二区三区成为亚洲经典| 亚洲午夜成aⅴ人片| 国产人久久人人人人爽| 国产在线视视频有精品| 中文字幕欧美一区| 欧美一区二区三区影视| 成人国产精品免费网站| 亚洲欧美一区二区三区久本道91| 欧美一区二区在线不卡| 懂色av中文一区二区三区| 亚洲激情自拍偷拍| 日韩欧美国产一区在线观看| 91福利视频网站| 国产一区二区伦理| 午夜精品久久久久久久久久| 国产拍欧美日韩视频二区| 欧美视频在线一区| 成人动漫中文字幕| 国产一区二区三区在线观看免费 | 9人人澡人人爽人人精品| 亚洲综合色成人| 国产欧美日韩在线| 精品精品欲导航| 欧美视频一区二区三区四区| k8久久久一区二区三区| 国产精品一区二区在线看| 久久国产免费看| 美女视频一区在线观看| 图片区日韩欧美亚洲| 一区二区三区四区在线播放 | 亚洲午夜一区二区三区| 亚洲国产精品成人综合| 国产精品毛片高清在线完整版| 亚洲成人在线免费| 男女性色大片免费观看一区二区 | 精品写真视频在线观看| 国产精品亚洲午夜一区二区三区| 成人一区二区在线观看| 在线视频一区二区三| 日韩欧美精品三级| 中文字幕第一区二区| 亚洲国产综合人成综合网站| 中文字幕成人在线观看| 亚洲va国产va欧美va观看| 亚洲专区一二三| 亚洲毛片av在线| 久久国产精品一区二区| 色狠狠综合天天综合综合| 中文字幕在线一区免费| 99久久精品一区二区| 亚洲国产精品一区二区久久| 免费在线观看成人| 欧美日韩视频第一区| 国产精品久久久久久久久快鸭| 亚洲www啪成人一区二区麻豆 | 蓝色福利精品导航| 欧美在线三级电影| 精品剧情在线观看| 亚洲欧美一区二区久久| 蜜臀av一级做a爰片久久| 成人国产精品免费观看动漫 | 欧美日韩精品欧美日韩精品| 精品欧美久久久| 亚洲桃色在线一区| 欧美aaaaaa午夜精品| 成人美女视频在线看| 欧美日本一道本在线视频| 日本一区二区视频在线观看| 亚洲综合色自拍一区| 国产99精品国产| 欧美日韩国产三级| 一区二区三区四区蜜桃 | 久久免费精品国产久精品久久久久| 国产精品久久一级| 韩国视频一区二区| 欧美精选在线播放| 亚洲美女少妇撒尿| 成人app在线| 精品黑人一区二区三区久久| 午夜视频在线观看一区二区| 91丝袜呻吟高潮美腿白嫩在线观看| 国产免费久久精品| www.亚洲人| 中文字幕在线观看一区二区| 精品一二三四在线| 国产偷国产偷亚洲高清人白洁 | 成人av网站大全| 久久久久99精品一区| 亚洲最新在线观看| 在线国产电影不卡| 亚洲欧美日本在线| av高清久久久| 国产精品久久久久久户外露出 | 久久久www免费人成精品| 欧美aaa在线| 国产亚洲一二三区| 色综合久久九月婷婷色综合| 亚洲私人黄色宅男| av不卡在线观看| 国产精品水嫩水嫩| 日本一区二区视频在线| 福利一区福利二区| 亚洲乱码中文字幕综合| 欧美在线免费观看亚洲| 美女性感视频久久| 国产精品麻豆一区二区| 色域天天综合网| 精品亚洲aⅴ乱码一区二区三区| 国产欧美精品一区二区色综合朱莉| a在线播放不卡| 国产成人精品一区二| 亚洲最大的成人av| 中文字幕人成不卡一区| 日韩精品一区二区三区蜜臀| 在线看不卡av| 99久久99精品久久久久久| 国产最新精品精品你懂的|