欢迎来到天天文库
浏览记录
ID:37459579
大小:1.72 MB
页数:32页
时间:2019-05-24
《nios II标准系统的创建》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、niosII标准系统的创建 在此之前,我曾经过介绍过如何建立最小(small)的nios系统(见文章nios无痛入门)。在这儿,我将要介绍如何建立一个常用的标准(Standard)Nios系统。如果本文能对您有一点点帮助,我都会感到非常高兴。 在本文中,我只挑要点讲一下,关于软件的详细使用指南,请您参考官方提供的help文档。我使用本站设计的ezNiosDKC6B开发板来示范这个实验;如果您采用自己的开发板,请您适当得修改,以适应您的开发板。第一节:创建并初步配置项目。1。创建项目。创建一个空项目,我将他命名为ezC
2、6Be_StdF50(请参考文章“nios无痛入门”,在此不再赘述),器件(Device)设置为EP1C6T144C8。 如果采用的是ezNiosDKC3系列,请选择EP1C3T144C8,如下图: 2。执行如下script,主要目的是一次性映射PIN脚。#Setup.tcl#Setuppinsettingset_global_assignment-nameRESERVE_ALL_UNUSED_PINS"ASINPUTTRI-STATED"set_global_assignment-nameENABLE_INIT_DONE_O
3、UTPUTONset_global_assignment-nameCYCLONE_CONFIGURATION_DEVICEEPCS1set_location_assignmentPIN_16-toOSC0set_location_assignmentPIN_125-toRESET_set_location_assignmentPIN_28-toLED[0]set_location_assignmentPIN_85-toLED[1]set_location_assignmentPIN_96-toLED[2]set_lo
4、cation_assignmentPIN_97-toLED[3]set_location_assignmentPIN_27-toKEY[1]set_location_assignmentPIN_17-toKEY[2]set_location_assignmentPIN_92-toKEY[3]set_location_assignmentPIN_93-toKEY[4]set_location_assignmentPIN_51-toSDRAM_CS_set_location_assignmentPIN_52-to
5、SDRAM_RAS_set_location_assignmentPIN_53-toSDRAM_CAS_set_location_assignmentPIN_56-toSDRAM_WE_set_location_assignmentPIN_39-toSDRAM_CKEset_location_assignmentPIN_26-toSDRAM_CLKset_location_assignmentPIN_50-toSDRAM_BA[0]set_location_assignmentPIN_49-toSDRAM_BA[1]se
6、t_location_assignmentPIN_47-toSDRAM_A[0]set_location_assignmentPIN_42-toSDRAM_A[1]set_location_assignmentPIN_41-toSDRAM_A[2]set_location_assignmentPIN_40-toSDRAM_A[3]set_location_assignmentPIN_34-toSDRAM_A[4]set_location_assignmentPIN_33-toSDRAM_A[5]set_l
7、ocation_assignmentPIN_32-toSDRAM_A[6]set_location_assignmentPIN_31-toSDRAM_A[7]set_location_assignmentPIN_35-toSDRAM_A[8]set_location_assignmentPIN_36-toSDRAM_A[9]set_location_assignmentPIN_48-toSDRAM_A[10]set_location_assignmentPIN_37-toSDRAM_A[11]set_lo
8、cation_assignmentPIN_38-toSDRAM_A[12]set_location_assignmentPIN_69-toSDRAM_DQ[0]set_location_assignmentPIN_68-toSDRAM_DQ[1]se
此文档下载收益归作者所有