⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cnt.vhd

📁 用 VHDL语言实现闹钟功能
💻 VHD
字号:
library train;
use train.cntpkg.all;


library ieee;
use ieee.std_logic_1164.all;
  

entity cnt is
  port
     (nreset,load,ci,clk:in std_logic;
      d      :in   std_logic_vector(7 downto 0);
      co     :out  std_logic;
       q1    :out  std_logic_vector(6 downto 0);
       q2    :out  std_logic_vector(6 downto 0));
end cnt;
 
architecture arch of cnt is
signal qa,qb  :  std_logic_vector(3 downto 0);
begin 
  u1:cont60 port map(ci,nreset,load,d,clk,co,qa,qb);
  u2:decode47 port map(qa,q1);
  u3:decode47 port map(qb,q2);

end arch;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -