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

📄 cntshow.vhd

📁 Quartus环境下的12进制计数器的扫描显示电路
💻 VHD
字号:
library IEEE;
use ieee.std_logic_1164.all;
 
entity cntshow is
port
(CLK,RST,EN : IN STD_LOGIC;
LED7S : OUT STD_LOGIC_VECTOR(6 DOWNTO 0)  ;
COUT : OUT STD_LOGIC );
end cntshow;
architecture arch of cntshow is 
component decl7s is
port
(A : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
LED7S : OUT STD_LOGIC_VECTOR(6 DOWNTO 0) ) ;
end component;

component cnt12 is
port
(CLK,RST,EN : IN STD_LOGIC;
CQ : buffer STD_LOGIC_VECTOR(3 DOWNTO 0);
COUT : OUT STD_LOGIC );
end component;

signal qa: std_logic_vector(3 downto 0);
begin
u1: cnt12 port map(CLK,RST,EN,qa,cout);
u2: decl7s port map(qa,led7s);
end arch;

⌨️ 快捷键说明

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