欢迎来到天天文库
浏览记录
ID:49438283
大小:1.66 MB
页数:20页
时间:2020-03-01
《QUARTUSII软件开放性实验报告.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、开放性实验报告专业:电子信息工程班级:*电信*班姓名:学号:指导老师:实验一:流水灯一.实验内容利用QUARTUSII软件,构建NIOSII软核系统,编写程序,实现实验箱上LED灯的流水功能。二.实验原理通过提前设定NIOSII软核处理器的相关寄存器,控制led的IO口的高低电平输出及响应间隔时间,从而改变LED的亮灭并达到流水灯效果。三.实验步骤1.硬件设计(1).构建NIOSII软核NIOSII软核处理器包括cpu,sdram控制器,串行flash控制器,jtag_uart,sysid,pio端口。(1).PLL模块的构建实验箱的板载有源晶振频率为50MHZ,NIOSII及SDRAM
2、需要100MHZ的时钟源,因此需要用PLL模块进行倍频。PLL模块的配置如图所示:输入时钟频率为50MHZ输出时钟c0为输入时钟的2倍频输出时钟c1为输入时钟的2倍频,相位偏移-75度,为SDRAM提供工作时钟PLL模块:(1).系统连线及引脚分配qsf文件中的引脚分配:set_location_assignmentPIN_AF21-tosdram_addr[0]set_location_assignmentPIN_AE20-tosdram_addr[1]set_location_assignmentPIN_AF20-tosdram_addr[2]set_location_assignm
3、entPIN_AE19-tosdram_addr[3]set_location_assignmentPIN_B20-tosdram_addr[4]set_location_assignmentPIN_A21-tosdram_addr[5]set_location_assignmentPIN_B21-tosdram_addr[6]set_location_assignmentPIN_A22-tosdram_addr[7]set_location_assignmentPIN_B22-tosdram_addr[8]set_location_assignmentPIN_A23-tosdram_a
4、ddr[9]set_location_assignmentPIN_AE21-tosdram_addr[10]set_location_assignmentPIN_B23-tosdram_addr[11]set_location_assignmentPIN_B24-tosdram_addr[12]set_location_assignmentPIN_AE22-tosdram_ba[0]set_location_assignmentPIN_AF22-tosdram_ba[1]set_location_assignmentPIN_AE24-tosdram_cas_nset_location_a
5、ssignmentPIN_B25-tosdram_ckeset_location_assignmentPIN_AF23-tosdram_cs_nset_location_assignmentPIN_AD25-tosdram_dq[0]set_location_assignmentPIN_AC25-tosdram_dq[1]set_location_assignmentPIN_AC26-tosdram_dq[2]set_location_assignmentPIN_AB25-tosdram_dq[3]set_location_assignmentPIN_AB26-tosdram_dq[4]
6、set_location_assignmentPIN_AA25-tosdram_dq[5]set_location_assignmentPIN_AA26-tosdram_dq[6]set_location_assignmentPIN_Y25-tosdram_dq[7]set_location_assignmentPIN_W26-tosdram_dq[8]set_location_assignmentPIN_V25-tosdram_dq[9]set_location_assignmentPIN_V26-tosdram_dq[10]set_location_assignmentPIN_U25
7、-tosdram_dq[11]set_location_assignmentPIN_U26-tosdram_dq[12]set_location_assignmentPIN_T25-tosdram_dq[13]set_location_assignmentPIN_R25-tosdram_dq[14]set_location_assignmentPIN_P24-tosdram_dq[15]set_location_assignment
此文档下载收益归作者所有