西工大DSP定點(diǎn)小數(shù)乘法_第1頁(yè)
西工大DSP定點(diǎn)小數(shù)乘法_第2頁(yè)
西工大DSP定點(diǎn)小數(shù)乘法_第3頁(yè)
西工大DSP定點(diǎn)小數(shù)乘法_第4頁(yè)
西工大DSP定點(diǎn)小數(shù)乘法_第5頁(yè)
已閱讀5頁(yè),還剩5頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、精選優(yōu)質(zhì)文檔-傾情為你奉上DSP實(shí)驗(yàn)報(bào)告定點(diǎn)小數(shù)乘法實(shí)驗(yàn)?zāi)康?、 自行安裝CCS3.3版本,配置和運(yùn)行CCS;2、 熟悉CCS開(kāi)發(fā)環(huán)境,訪問(wèn)讀寫DSP寄存器AC0-AC3,AR0-AR7,T0-T3;3、 結(jié)合c5510的存儲(chǔ)器空間分配,訪問(wèn)DSP的內(nèi)部RAM;4、 編寫一個(gè)簡(jiǎn)單的定點(diǎn)DSP程序,計(jì)算一個(gè)式子。實(shí)驗(yàn)結(jié)果CCS安裝運(yùn)行后如下:初始界面選擇C5510simulator建立新工程;建立新匯編語(yǔ)言源程序文件;建立CMD文件;訪問(wèn)讀寫寄存器AC0-AC3,AR0-AR7,PC,T0-T3:計(jì)算一個(gè)簡(jiǎn)單乘加算式ASM源程序如下:.text.global startstart: MOV #0

2、006h,AC0H;Q6 MOV #0026h,AC1H;Q5 MPY AC1,AC0 MOV #0023h,AC1H;Q0 MOV #0014h,AC2H;Q0 MPY AC2,AC1 MOV #03C0h,AC2H;Q6 MOV #0033h,AC3H;Q5 MPY AC3,AC2 SFTSC AC1,#11,AC3 ADD AC0,AC3 ADD AC2,AC3運(yùn)行后寄存器的結(jié)果如下:計(jì)算得結(jié)果應(yīng)為724.12,但由于修改小數(shù)點(diǎn)的位置使計(jì)算結(jié)果有些偏差。CMD文件如下:-e start-stack 500-sysstack 500MEMORY MMR: o = 0x l = 0x0000

3、c0 /* 192B Memory Mapped Registers */ DARAM0: o = 0x0000C0 l = 0x001F40 /* 8kB Dual Access RAM 0 */ DARAM1: o = 0x l = 0x /* 8kB Dual Access RAM 1 */ DARAM2: o = 0x l = 0x /* 8kB Dual Access RAM 2 */ DARAM3: o = 0x l = 0x /* 8kB Dual Access RAM 3 */ DARAM4: o = 0x l = 0x /* 8kB Dual Access RAM 4 */

4、DARAM5: o = 0x00A000 l = 0x /* 8kB Dual Access RAM 5 */ DARAM6: o = 0x00C000 l = 0x /* 8kB Dual Access RAM 6 */ DARAM7: o = 0x00E000 l = 0x /* 8kB Dual Access RAM 7 */ SARAM0: o = 0x l = 0x /* 8kB Single Access RAM 0 */ SARAM1: o = 0x l = 0x /* 8kB Single Access RAM 1 */ SARAM2: o = 0x l = 0x /* 8kB

5、 Single Access RAM 2 */ SARAM3: o = 0x l = 0x /* 8kB Single Access RAM 3 */ SARAM4: o = 0x l = 0x /* 8kB Single Access RAM 4 */ SARAM5: o = 0x01A000 l = 0x /* 8kB Single Access RAM 5 */ SARAM6: o = 0x01C000 l = 0x /* 8kB Single Access RAM 6 */ SARAM7: o = 0x01E000 l = 0x /* 8kB Single Access RAM 7 *

6、/ SARAM8: o = 0x l = 0x /* 8kB Single Access RAM 8 */ SARAM9: o = 0x l = 0x /* 8kB Single Access RAM 9 */ SARAM10: o = 0x l = 0x /* 8kB Single Access RAM 10 */ SARAM11: o = 0x l = 0x /* 8kB Single Access RAM 11 */ SARAM12: o = 0x l = 0x /* 8kB Single Access RAM 12 */ SARAM13: o = 0x02A000 l = 0x /*

7、8kB Single Access RAM 13 */ SARAM14: o = 0x02C000 l = 0x /* 8kB Single Access RAM 14 */ SARAM15: o = 0x02E000 l = 0x /* 8kB Single Access RAM 15 */ SARAM16: o = 0x l = 0x /* 8kB Single Access RAM 16 */ SARAM17: o = 0x l = 0x /* 8kB Single Access RAM 17 */ SARAM18: o = 0x l = 0x /* 8kB Single Access

8、RAM 18 */ SARAM19: o = 0x l = 0x /* 8kB Single Access RAM 19 */ SARAM20: o = 0x l = 0x /* 8kB Single Access RAM 20 */ SARAM21: o = 0x03A000 l = 0x /* 8kB Single Access RAM 21 */ SARAM22: o = 0x03C000 l = 0x /* 8kB Single Access RAM 22 */ SARAM23: o = 0x03E000 l = 0x /* 8kB Single Access RAM 23 */ CE

9、0: o = 0x l = 0x3C0000 /* 4MB CE0 external memory space */ CE1: o = 0x l = 0x /* 4MB CE1 external memory space */ CE2: o = 0x l = 0x /* 4MB CE2 external memory space */ CE3: o = 0xC00000 l = 0x3F0000 /* 4MB CE3 external memory space */ ROM: o = 0xFF0000 l = 0x00FF00 /* 64kB ROM (MPNMC=0) or CE3 (MPN

10、MC=1) */ VECS: o = 0xFFFF00 l = 0x /* reset vector */SECTIONS vectors (NOLOAD) VECS /* If MPNMC = 1, remove the NOLOAD directive */ .cinit DARAM0 .text DARAM1 .stack DARAM0 .sysstack DARAM0 .sysmem DARAM4 .data DARAM4 .cio DARAM0 .bss DARAM5 .const DARAM0MAP文件:* TMS320C55x Linker PC v4.2.3 * Linked

11、Mon Apr 8 19:00:23 2016OUTPUT FILE NAME: ENTRY POINT SYMBOL: start address: MEMORY CONFIGURATION name origin length used unused attr fill (bytes) (bytes) (bytes) (bytes)- - - - - - - MMR c0 c0 RWIX DARAM0 c0 00001f40 00001f40 RWIX DARAM1 00001fdf RWIX DARAM2 RWIX DARAM3 RWIX DARAM4 RWIX DARAM5 0000a

12、000 RWIX DARAM6 0000c000 RWIX DARAM7 0000e000 RWIX SARAM0 RWIX SARAM1 RWIX SARAM2 RWIX SARAM3 RWIX SARAM4 RWIX SARAM5 0001a000 RWIX SARAM6 0001c000 RWIX SARAM7 0001e000 RWIX SARAM8 RWIX SARAM9 RWIX SARAM10 RWIX SARAM11 RWIX SARAM12 RWIX SARAM13 0002a000 RWIX SARAM14 0002c000 RWIX SARAM15 0002e000 RW

13、IX SARAM16 RWIX SARAM17 RWIX SARAM18 RWIX SARAM19 RWIX SARAM20 RWIX SARAM21 0003a000 RWIX SARAM22 0003c000 RWIX SARAM23 0003e000 RWIX CE0 003c0000 003c0000 RWIX CE1 RWIX CE2 RWIX CE3 00c00000 003f0000 003f0000 RWIX ROM 00ff0000 0000ff00 0000ff00 RWIX VECS 00ffff00 RWIXSECTION ALLOCATION MAP(Addresse

14、s surrounded by s are displayed for convenience only!)output attributes/section page orgn(bytes) orgn(words) len(bytes) len(words) input sections- - - - - - -.cinit 0 c0 * UNINITIALIZED.text 0 * * test2.obj (.text) * -HOLE- fill = 20.data 0 * UNINITIALIZED.bss 0 0000a000 * UNINITIALIZEDGLOBAL SYMBOL

15、S: SORTED ALPHABETICALLY BY Name abs. value/byte addr word addr name- - - $TI_capability$C5500$CallingConvention $TI_capability$C5500$MemoryModel $TI_capability_requires_rev2 .bss .data .textffffffff _binit_ _bss_ffffffff _c_args_ffffffff _cinit_ _data_ _edata_ _end_ _etext_ffffffff _pinit_ _text_ffffffff binitffffffff cinit edata end etextffffffff pinit startGLOBAL SYMBOLS: SORTED BY Symbol Address abs. value/byte addr word addr name- - - $TI_capability$C5500$MemoryModel $TI_capability_requires_re

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論