文件名称:wu2
介绍说明--下载内容均来自于网络,请自行研究使用
1、 用16*16点阵的发光二极管逐行扫描显示“一”字。
2、 输入为四位二进制矢量。
3、 采用行列扫描的方法,用四位二进制做行选信号(总共16列),如选中第一行,则扫描第一行之中哪些行是高电平(1),哪些行是低电平(0) 为高电平的则点亮,为低电平的不亮。
4、 注意扫描频率的设置,扫描频率足够快,才能动态扫描“一”字。
5、 程序由行扫描模块和显示模块构成。
行扫描模块输入为一个时钟信号和重置信号,输出为4位二进制(用sel表示)行选信号,用来选中行,进行扫描。
显示模块:输入为行选信号,输出为16位二进制,用来表示一行,该行这中的1的位置就表示亮灯的位置,0的位置就表示不亮,循环扫描,达到动态显示的目的。
-1, Use 16:00 of 16* giving out light of the diode gradually go scanning to show " a" words. 2, The importation is four binary system vectors. 3, Adopt the method of row or column scanning, go to choose signal (altogether 16 rows) with four binary systems, if pick out the first, then the scanning first in which go is Gao Dian Ping (1), which go is low to give or get an electric shock even (0) Evenly then ordering for Gao Dian is bright, being low the electricity isn' t evenly bright. 4, Notice the constitution of scanning the frequency, scan frequency enough quickly, just can the dynamic state scan " a" words. 5, Procedure from go to scan a mold piece and show mold piece composing. The going to scan a mold piece an importation is a clock signal and resets signal, output to 4 binary systems (mean with the sel) to go to choose signal, use to pick out a line, carry on a scanning. Show a mold piece: In order to go to choose signal, the importation outputs to 16 binary
(系统自动生成,下载前可以参看下载内容)
下载文件列表
wu2.vhd