搜索资源列表
-
0下载:
Write VHDL codes to show, on two 7-segment LEDs, the binary coded decimal (BCD) equivalence of the binary representation of the state of eight switches. Use a function to perform the specified task. Assume that the 7-segment LEDs are turned on with l
-
-
0下载:
用vhdl语言编译一个码制转换
四位二进制->BCD码,然后将BCD码->七段显示器码。
(1)当输入为0~9的数时,其十位数为0,个位数=输入。
当输入为10~15的数时,其十位数为1,个位数=输入-10。
(2)然后将十位和个位的BCD码转换为七段显示码
-Vhdl language used to compile a binary code system conversion of four-> BCD code, then BCD code->
-
-
0下载:
七段数码是纯组合电路,通常的小规模专用IC,如74或4000系列的器件只能作十进制BCD码译码,然而数字系统中的数据处理和运算都是2进制的,所以输出表达都是16进制的,为了满足16进制数的译码显示,最方便的方法就是利用译码程序在FPGA\CPLD中来实现。本实验作为7段译码器,输出信号LED7S的7位分别是g、f、e、d、c、b、a,高位在左,低位在右。例如当LED7S输出为“1101101”时,数码管的7个段g、f、e、d、c、b、a分别为1、1、0、1、1、1、0、1。接有高电平段发亮,于
-
-
0下载:
数据段中binb存放一个16位二进制无符号数,将其化成压缩BCD码,存于bcdu单元中-in data segment, binary unsigned data, convert the data in to BCD formate
-