7段数码管控制实验.pptVIP

  • 31
  • 0
  • 约1.5千字
  • 约 5页
  • 2018-06-27 发布于河南
  • 举报
7段数码管控制实验

实验 利用可编程逻辑器件进行 7段数码管控制接口的设计 实验目的 1.了解7段数码管显示的原理及接口 驱动方法。 2.利用用可编程逻辑器件进行7段数码 管定时更新。 实验任务 将外部时钟进行分频处理(编写分频功能模块); 使用分频后的时钟进行计数,得到数码管输出控制的计数状态; 3.当程序下载成功时,7段数码管依次分时显示递增或递减数据。 library ieee; use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; entity cnt is port( clk,rst:in std_logic; count:out std_logic_vector(3 downto 0) ); end cnt; architecture cnt_arch of cnt is begin 显示器程序 library ieee; use ieee.std_logic_1164.all; entity bcd is port( a:in std_logic_vector(3 downto 0); Y:out std_logic_vector(6 downto 0)); end bcd; arch

文档评论(0)

1亿VIP精品文档

相关文档