ImageVerifierCode 换一换
格式:DOC , 页数:6 ,大小:104.50KB ,
资源ID:1050759      下载积分:10 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 微信支付   
验证码:   换一换

加入VIP,免费下载资源
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.wodocx.com/d-1050759.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(实验五 DDS信号发生器设计.doc)为本站会员(星星)主动上传,沃文网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知沃文网(发送邮件至2622162128@qq.com或直接QQ联系客服),我们立即给予删除!

实验五 DDS信号发生器设计.doc

1、实验五 DDS信号发生器的设计(1) 实验目的:学习利用EDA技术和FPGA实现直接数字频率综合器DDS的设计。(2) 实验原理:直接数字频率综合技术,即DDS技术,是一种新型的频率合成技术和信号产生方法。其电路系统具有较高的频率分辨率,可以实现快速的频率切换,并且在改变时能够保持相位的连续,很容易实现频率、相位和幅度的数控调制。 fSIN = M(fclk/2n)DDS基本结构相位累加器位宽和采样点关系 【例11-12】LIBRARY ieee; -波形数据ROMUSE ieee.std_logic_1164.all;LIBRARY altera_mf;USE altera_mf.alter

2、a_mf_components.all;ENTITY data_rom ISPORT(address: IN STD_LOGIC_VECTOR (9 DOWNTO 0);inclock: IN STD_LOGIC ;q: OUT STD_LOGIC_VECTOR (7 DOWNTO 0);END data_rom; . . .init_file = ./data/ rom_data.mif , -波形数据初始化文件路径lpm_hint = ENABLE_RUNTIME_MOD=YES, INSTANCE_NAME=rom2,. . .END; 【例11-13】LIBRARY IEEE; -32

3、位加法器模块USE IEEE.STD_LOGIC_1164.ALL;USE IEEE.STD_LOGIC_UNSIGNED.ALL;ENTITY ADDER32B IS PORT ( A : IN STD_LOGIC_VECTOR(31 DOWNTO 0); B : IN STD_LOGIC_VECTOR(31 DOWNTO 0); S : OUT STD_LOGIC_VECTOR(31 DOWNTO 0) );END ADDER32B;ARCHITECTURE behav OF ADDER32B IS BEGINS = A + B;END behav; 【例11-14】-32位寄存器模块LI

4、BRARY IEEE;USE IEEE.STD_LOGIC_1164.ALL;ENTITY REG32B IS PORT ( Load : IN STD_LOGIC; DIN : IN STD_LOGIC_VECTOR(31 DOWNTO 0); DOUT : OUT STD_LOGIC_VECTOR(31 DOWNTO 0) );END REG32B;ARCHITECTURE behav OF REG32B ISBEGIN PROCESS(Load, DIN) BEGIN IF LoadEVENT AND Load = 1 THEN - 时钟到来时,锁存输入数据 DOUT = DIN; EN

5、D IF; END PROCESS;END behav; 【例11-15】rom_data.mif 10位正弦波数据文件,读者可用MATLAB/DSP Builder生成WIDTH=10;DEPTH=1024;ADDRESS_RADIX=DEC; DATA_RADIX=DEC;CONTENT BEGIN 0 : 513; 1 : 515; 2 : 518; 3 : 521; 4 : 524; 5 : 527; 6 : 530; 7 : 533; 8 : 537; 9 : 540; 10 : 543; 11 : 546; 13 : 549; 13 : 552; 14 : 555; . . . .

6、 . .(略去部分数据) 1018 : 493; 1019 : 496; 1020 : 499; 1021 : 502; 1022 : 505; 1023 : 508;END; (3) 实验内容1:详细述叙DDS的工作原理,依据例11-12至例11-15完成仿真,并由仿真结果进一步说明DDS的原理。完成编译和下载。选择模式1;键2、键1输入8位频率字FWORD;利用GW48系统ADDA板输出波形,用示波器观察输出波形。(4) 实验内容2:根据图11-36,在原设计(图11-38)中加入相位控制电路,用键4、键3输入8位相位字PWORD;重复实验1的内容。(5) 实验内容3:将图11-38的顶层

7、原理图表述为VHDL,重复实验1的内容。(6)实验报告:根据以上的实验内容写出实验报告,包括程序框图说明、各模块工作原理、软件编译过程中遇到的问题、硬件测试和实验过程。 完整的1024各8位的正弦波数据如下:- Quartus II generated Memory Initialization File (.mif)WIDTH=8;DEPTH=1024;ADDRESS_RADIX=HEX;DATA_RADIX=HEX;CONTENT BEGIN000:00; 001:03; 002:06; 003:09; 004:0C; 005:0F; 006:12; 007:15;008:19; 009:

8、1C; 00A:1F; 00B:22; 00C:25; 00D:28; 00E:2B; 00F:2F;010:32; 011:35; 012:38; 013:3B; 014:3E; 015:41; 016:44; 017:48;018:4B; 019:4E; 01A:51; 01B:54; 01C:57; 01D:5A; 01E:5D; 01F:60;020:63; 021:66; 022:6A;023:6D; 024:70; 025:73; 026:76; 027:79;028:7C; 029:7F; 02A:82; 02B:85; 02C:88; 02D:8B; 02E:8E; 02F:9

9、1;030:94; 031:97; 032:9A; 033:9D; 034:A0; 035:A3; 036:A6; 037:A9;038:AC;039:AF; 03A:B2; 03B:B5; 03C:B8; 03D:BB; 03E:BE; 03F:C1;040:C3; 041:C6; 042:C9; 043:CC;044:CF; 045:D2; 046:D5; 047:D8;048:DA; 049:DD; 04A:E0; 04B:E3; 04C:E6; 04D:E9; 04E:EB;04F:EE;050:F1; 051:F4; 052:F6; 053:F9; 054:FC; 055:FF; 0

10、56:01; 057:04;058:07; 059:09; 05A:0C;05B:0F; 05C:11; 05D:14; 05E:17; 05F:19;060:1C; 061:1F; 062:21; 063:24; 064:26; 065:29; 066:2B;067:2E;068:30; 069:33; 06A:36; 06B:38; 06C:3A; 06D:3D; 06E:3F; 06F:42;070:44; 071:47; 072:49;073:4C; 074:4E; 075:50; 076:53; 077:55;078:57; 079:5A; 07A:5C; 07B:5E; 07C:6

11、1; 07D:63; 07E:65; 07F:67;080:6A; 081:6C; 082:6E; 083:70; 084:72; 085:74; 086:77; 087:79;088:7B; 089:7D;08A:7F; 08B:81; 08C:83; 08D:85; 08E:87; 08F:89;090:8B; 091:8D; 092:8F; 093:91; 094:93; 095:95;096:97; 097:99;098:9B; 099:9D; 09A:9E; 09B:A0; 09C:A2; 09D:A4; 09E:A6; 09F:A7;0A0:A9;0A1:AB; 0A2:AD; 0

12、A3:AE; 0A4:B0; 0A5:B2; 0A6:B3; 0A7:B5;0A8:B7; 0A9:B8; 0AA:BA;0AB:BB; 0AC:BD; 0AD:BF; 0AE:C0; 0AF:C2;0B0:C3; 0B1:C5; 0B2:C6; 0B3:C7; 0B4:C9;0B5:CA; 0B6:CC; 0B7:CD;0B8:CE; 0B9:D0; 0BA:D1; 0BB:D2; 0BC:D4; 0BD:D5; 0BE:D6;0BF:D7;0C0:D9; 0C1:DA; 0C2:DB; 0C3:DC; 0C4:DD; 0C5:DE; 0C6:DF; 0C7:E1;0C8:E2; 0C9:E

13、3;0CA:E4; 0CB:E5; 0CC:E6; 0CD:E7; 0CE:E8; 0CF.0D0:E9; 0D1:EA; 0D2:EB; 0D3:EC;0D4:ED; 0D5:EE; 0D6.0D7:EF; 0D8:F0; 0D9:F1; 0DA.0DB:F2; 0DC:F3;0DD.0DE:F4;0DF:F5; 0E0.0E1:F6; 0E2.0E3:F7;0E4.0E5:F8; 0E6.0E7:F9; 0E8.0E9:FA;0EA.0EB:FB;0EC.0EE:FC; 0EF.0F1:FD; 0F2.0F5:FE; 0F6.0FF:FF;100:00;101.10A:FF; 10B.10

14、E:FE; 10F.111:FD; 112.114:FC;115.116:FB; 117.118:FA;119.11A:F9; 11B.11C:F8;11D.11E:F7; 11F.120:F6; 121:F5; 122.123:F4;124:F3;125.126:F2; 127:F1; 128:F0;129.12A:EF; 12B:EE; 12C:ED; 12D:EC; 12E:EB; 12F:EA;130.131:E9; 132:E8; 133:E7; 134:E6; 135:E5; 136:E4;137:E3; 138:E2; 139:E1; 13A:DF;13B:DE; 13C:DD;

15、 13D:DC;13E:DB; 13F:DA; 140:D9; 141:D7; 142:D6; 143:D5; 144:D4;145:D2; 146:D1; 147:D0; 148:CE; 149:CD; 14A:CC; 14B:CA; 14C:C9;14D:C7; 14E:C6; 14F:C5; 150:C3;151:C2; 152:C0; 153:BF; 154:BD;155:BB; 156:BA; 157:B8; 158:B7; 159:B5; 15A:B3; 15B:B2;15C:B0;15D:AE; 15E:AD; 15F:AB; 160:A9; 161:A7; 162:A6; 16

16、3:A4; 164:A2;165:A0; 166:9E;167:9D; 168:9B; 169:99; 16A:97; 16B:95; 16C: 93;16D:91; 16E:8F; 16F:8D; 170:8B; 171:89;172:87; 173:85; 174:83;175:81; 176:7F; 177:7D; 178:7B; 179:79; 17A:77; 17B:74; 17C:72;17D:70; 17E:6E; 17F:6C; 180:6A; 181:67; 182:65; 183:63; 184:61;185:5E; 186:5C; 187:5A; 188:57;189:5

17、5; 18A:53; 18B:50; 18C:4E;18D:4C; 18E:49; 18F:47; 190:44; 191:42; 192:3F; 193:3D;194:3A;195:38; 196:36; 197:33; 198:30; 199:2E; 19A:2B; 19B:29; 19C:26;19D:24; 19E:21; 19F:1F;1A0:1C; 1A1:19; 1A2:17; 1A3:14; 1A4:11;1A5:0F; 1A6:0C; 1A7:09; 1A8:07; 1A9:04; 1AA:01;1AB:FF; 1AC:FC;1AD:F9; 1AE:F6; 1AF:F4; 1

18、B0:F1; 1B1:EE; 1B2:EB; 1B3:E9; 1B4:E6;1B5:E3;1B6:E0; 1B7:DD; 1B8:DA; 1B9:D8; 1BA:D5; 1BB:D2; 1BC:CF;1BD:CC; 1BE:C9; 1BF:C6;1C0:C3; 1C1:C1; 1C2:BE; 1C3:BB; 1C4:B8;1C5:B5; 1C6:B2; 1C7:AF; 1C8:AC; 1C9:A9; 1CA:A6; 1CB:A3; 1CC:A0;1CD:9D; 1CE:9A; 1CF:97; 1D0:94; 1D1:91; 1D2:8E; 1D3:8B; 1D4:88;1D5:85; 1D6:

19、82; 1D7:7F; 1D8:7C; 1D9:79; 1DA:76; 1DB:73; 1DC:70;1DD:6D; 1DE:6A; 1DF:66; 1E0:63; 1E1:60; 1E2:5D; 1E3:5A; 1E4:57;1E5:54; 1E6:51; 1E7:4E; 1E8:4B; 1E9:48; 1EA:44; 1EB:41; 1EC:3E;1ED:3B; 1EE:38; 1EF:35; 1F0:32; 1F1:2F; 1F2:2B; 1F3:28; 1F4:25;1F5:22; 1F6:1F; 1F7:1C; 1F8:19; 1F9:15; 1FA:12; 1FB:0F; 1FC:

20、0C;1FD:09; 1FE:06; 1FF:03; 200:00; 201:FC; 202:F9; 203:F6; 204:F3;205:F0; 206:ED; 207:EA; 208:E6; 209:E3; 20A:E0; 20B:DD; 20C:DA;20D:D7; 20E:D4; 20F:D0; 210:CD; 211:CA; 212:C7; 213:C4; 214:C1;215:BE; 216:BB; 217:B7; 218:B4; 219:B1; 21A:AE; 21B:AB; 21C:A8;21D:A5; 21E:A2; 21F:9F; 220:9C; 221:99; 222:9

21、5; 223:92; 224:8F;225:8C; 226:89; 227:86; 228:83; 229:80; 22A:7D; 22B:7A; 22C:77;22D:74; 22E:71; 22F:6E; 230:6B; 231:68; 232:65; 233:62; 234:5F;235:5C; 236:59; 237:56; 238:53; 239:50; 23A:4D; 23B:4A; 23C:47;23D:44; 23E:41; 23F:3E; 240:3C; 241:39; 242:36; 243:33; 244:30;245:2D; 246:2A; 247:27; 248:25

22、; 249:22; 24A:1F; 24B:1C; 24C:19;24D:16; 24E:14; 24F:11; 250:0E; 251:0B; 252:09; 253:06; 254:03;255:00; 256:FE; 257:FB; 258:F8; 259:F6; 25A:F3; 25B:F0; 25C:EE;25D:EB; 25E:E8; 25F:E6; 260:E3; 261:E0; 262:DE; 263:DB; 264:D9;265:D6; 266:D4; 267:D1; 268:CF; 269:CC; 26A:C9; 26B:C7; 26C:C5;26D:C2; 26E:C0;

23、 26F:BD; 270:BB; 271:B8; 272:B6; 273:B3; 274:B1;275:AF; 276:AC; 277:AA; 278:A8; 279:A5; 27A:A3; 27B:A1; 27C:9E;27D:9C; 27E:9A; 27F:98; 280:95; 281:93; 282:91; 283:8F; 284:8D;285:8B; 286:88; 287:86; 288:84; 289:82; 28A:80; 28B:7E; 28C:7C;28D:7A; 28E:78; 28F:76; 290:74; 291:72; 292:70; 293:6E; 294:6C;

24、295:6A; 296:68; 297:66; 298:64; 299:62; 29A:61; 29B:5F; 29C:5D;29D:5B; 29E:59; 29F:58; 2A0:56; 2A1:54; 2A2:52; 2A3:51; 2A4:4F;2A5:4D; 2A6:4C; 2A7:4A; 2A8:48; 2A9:47; 2AA:45; 2AB:44; 2AC:42;2AD:40; 2AE:3F; 2AF:3D; 2B0:3C; 2B1:3A; 2B2:39; 2B3:38; 2B4:36;2B5:35; 2B6:33; 2B7:32; 2B8:31; 2B9:2F; 2BA:2E;

25、2BB:2D; 2BC:2B;2BD:2A; 2BE:29; 2BF:28; 2C0:26; 2C1:25; 2C2:24; 2C3:23; 2C4:22;2C5:21; 2C6:20; 2C7:1E; 2C8:1D; 2C9:1C; 2CA:1B; 2CB:1A; 2CC:19;2CD:18; 2CE:17; 2CF.2D0:16; 2D1:15; 2D2:14; 2D3:13; 2D4:12;2D5:11; 2D6.2D7:10; 2D8:0F; 2D9:0E; 2DA.2DB:0D; 2DC:0C;2DD.2DE:0B; 2DF:0A; 2E0.2E1:09; 2E2.2E3:08;2E

26、4.2E5:07; 2E6.2E7:06; 2E8.2E9:05; 2EA.2EB:04;2EC.2EE:03; 2EF.2F1:02; 2F2.2F5:01; 2F6.30A:00; 30B.30E:01; 30F.311:02; 312.314:03; 315.316:04;317.318:05; 319.31A:06; 31B.31C:07; 31D.31E:08;31F.320:09; 321:0A;322.323:0B; 324:0C; 325.326:0D;327:0E; 328:0F; 329.32A:10; 32B:11; 32C:12; 32D:13; 32E:14;32F:

27、15; 330.331:16; 332:17; 333:18; 334:19; 335:1A; 336:1B;337:1C; 338:1D; 339:1E; 33A:20; 33B:21; 33C:22; 33D:23; 33E:24;33F:25; 340:26; 341:28; 342:29; 343:2A; 344:2B; 345:2D; 346:2E;347:2F; 348:31; 349:32; 34A:33; 34B:35; 34C:36; 34D:38; 34E:39;34F:3A; 350:3C; 351:3D; 352:3F; 353:40; 354:42; 355:44;

28、356:45;357:47; 358:48; 359:4A; 35A:4C; 35B:4D; 35C:4F; 35D:51; 35E:52;35F:54; 360:56; 361:58; 362:59; 363:5B; 364:5D; 365:5F; 366:61;367:62; 368:64; 369:66; 36A:68; 36B:6A; 36C:6C; 36D:6E; 36E:70;36F:72; 370:74; 371:76; 372:78; 373:7A; 374:7C; 375:7E; 376:80;377:82; 378:84; 379:86; 37A:88; 37B:8B; 3

29、7C:8D; 37D:8F; 37E:91;37F:93; 380:95; 381:98; 382:9A; 383:9C; 384:9E; 385:A1; 386:A3;387:A5; 388:A8; 389:AA; 38A:AC; 38B:AF; 38C:B1; 38D:B3; 38E:B6;38F:B8; 390:BB; 391:BD; 392:C0; 393:C2; 394:C5; 395:C7; 396:C9;397:CC; 398:CF; 399:D1; 39A:D4; 39B:D6; 39C:D9; 39D:DB; 39E:DE;39F:E0; 3A0:E3; 3A1:E6; 3A

30、2:E8; 3A3:EB; 3A4:EE; 3A5:F0; 3A6:F3;3A7:F6; 3A8:F8; 3A9:FB; 3AA:FE; 3AB:00; 3AC:03; 3AD:06; 3AE:09;3AF:0B; 3B0:0E; 3B1:11; 3B2:14; 3B3:16; 3B4:19; 3B5:1C; 3B6:1F;3B7:22; 3B8:25; 3B9:27; 3BA:2A; 3BB:2D; 3BC:30; 3BD:33; 3BE:36;3BF:39; 3C0:3C; 3C1:3E; 3C2:41; 3C3:44; 3C4:47; 3C5:4A; 3C6:4D;3C7:50; 3C8

31、:53; 3C9:56; 3CA:59; 3CB:5C; 3CC:5F; 3CD:62; 3CE:65;3CF:68; 3D0:6B; 3D1:6E; 3D2:71; 3D3:74; 3D4:77; 3D5:7A; 3D6:7D;3D7:80; 3D8:83; 3D9:86; 3DA:89; 3DB:8C; 3DC:8F; 3DD:92; 3DE:95;3DF:99; 3E0:9C; 3E1:9F; 3E2:A2; 3E3:A5; 3E4:A8; 3E5:AB; 3E6:AE;3E7:B1; 3E8:B4; 3E9:B7; 3EA:BB; 3EB:BE; 3EC:C1; 3ED:C4; 3EE:C7;3EF:CA; 3F0:CD; 3F1:D0; 3F2:D4; 3F3:D7; 3F4:DA; 3F5:DD; 3F6:E0;3F7:E3; 3F8:E6; 3F9:EA; 3FA:ED; 3FB:F0; 3FC:F3; 3FD:F6; 3FE:F9; 3FF: FC; END;

版权声明:以上文章中所选用的图片及文字来源于网络以及用户投稿,由于未联系到知识产权人或未发现有关知识产权的登记,如有知识产权人并不愿意我们使用,如有侵权请立即联系:2622162128@qq.com ,我们立即下架或删除。

Copyright© 2022-2024 www.wodocx.com ,All Rights Reserved |陕ICP备19002583号-1 

陕公网安备 61072602000132号     违法和不良信息举报:0916-4228922