实验二7段数码管静态显示译码器.doc
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《实验二7段数码管静态显示译码器.doc》由会员分享,可在线阅读,更多相关《实验二7段数码管静态显示译码器.doc(7页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、实验二7段数码管静态显示译码器实验二 7 段数码管静态显示译码器 1. 实验目的学习quartusii 和modelsim的使用方法;学习原理图和veriloghdl混合输入设计方法;掌握7 段数码管静态显示译码器的设计及仿真方法。2. 实验原理根据下面电路图,设计7 段数码管静态显示译码器电路,在kx3c10F+开发板上实现该电路,并作仿真.3. 实验设备kx3c10F+开发板,电脑.4.实验步骤4.1编译4.1。1七段数码管代码module segled(out1,a); /定义模块名和输入输出端口input 3:0a; /输入一个3位矢量output 6:0out1; /输出一个6位矢量
2、reg 6:0out1; /reg型变量用于always语句always(a) /敏感信号啊begincase(a) /case语句用于选择输出4b0000:out1=7b1000000; 4b0001:out1=7b1001111;4b0010:out1=7b0100100;4b0011:out1=7b0110000;4b0100:out1=7b0011001;4b0101:out1=7b0010010;4b0110:out1=7b0000011;4b0111:out1=7b1111000;4b1000:out1=7b0000000;4b1001:out1=7b0011000;4b1010:
3、out1=7b0001000;4b1011:out1=7b0011100;4b1100:out1=7b1000111;4b1101:out1=7b0100011;4b1110:out1=7b0000110;4b1111:out1=7b0001110;endcaseendendmodule /模块结束效果图:4。1。2综合模块代码/ Copyright (C) 1991-2013 Altera Corporation/ Your use of Altera Corporations design tools, logic functions / and other software and to
4、ols, and its AMPP partner logic / functions, and any output files from any of the foregoing / (including device programming or simulation files), and any / associated documentation or information are expressly subject / to the terms and conditions of the Altera Program License / Subscription Agreeme
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 实验 数码管 静态 显示 译码器
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内