图3.6 16*16点阵显示模块
该模块用于满足实验内容中用16*16点阵动态显示日期的要求。可以看出,输出为每一行的数据,通过动态扫描之后就可以动态的显示所有的16行数据。
4 设计步骤
4.1新建一个工程
(1)打开Quartus II 12.1sp1仿真软件,点击File=>New Project Wizard按钮创建一个新的工程。弹出如图所示对话框:
(2)再点击Next按钮出现下一对话框并将工程名和文件名都命名为zjh:
(3)然后再点击Next按钮出现下一对话框将Family设置为cycloneIII,将Package设置为FBGA,将Picount设置为780,将Speed grade设置为8并选择EP3C80F780C8器件,如图所示:
(4)最后点击Next=>Finish按钮完成新工程的创建。
4.2新建一个VHDL文件
(1)点击File=>New按钮出现如图所示对话框:
(2)选择VHDL File完成文件创建,创建完成后如图所示:
4.3VHDL程序的编译及仿真 4.3.1VHDL程序的编译
将编写好的符合实验要求的VHDL程序复制在上图所示的对话框内,然后点击Processing=>Start Compilation按钮开始进行编译,编译完成并确保程序无
误后开始进行管脚分配。
4.3.2管脚分配
(1)点击Assignments=>Assignments Editor按钮出现如图所示对话框:
(2)再点击List、>>、OK按钮出现如图所示管脚分配对话框:
(3)然后按如下表所示的管脚顺序进行分配: Display[0] Display[1] Display[2] Display[3] Display[4] Location Location Location Location Location PIN_G16 PIN_G17 PIN_F18 PIN_G18 PIN_G15 Yes Yes Yes Yes Yes
Display[5] Display[6] Display[7] K1 keyc[0] keyc[1] keyc[2] keyc[3] keyr[0] keyr[1] keyr[2] keyr[3] keyr[4] keyr[5] keyr[6] keyr[7] keyr[8] keyr[9] keyr[10] keyr[11] keyr[12] keyr[13] keyr[14] keyr[15] led[0] led[1] led[2] led[3] S1 Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location Location PIN_G14 PIN_G12 PIN_M21 PIN_AH12 PIN_L5 PIN_H6 PIN_H7 PIN_H5 PIN_C17 PIN_D15 PIN_D14 PIN_D13 PIN_D12 PIN_D10 PIN_C10 PIN_C9 PIN_D21 PIN_C21 PIN_D20 PIN_D19 PIN_C19 PIN_D18 PIN_C18 PIN_D17 PIN_AE8 PIN_J22 PIN_M24 PIN_L24 PIN_AF5 Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes