📄 count_00_59.vhd
字号:
--*********************************
--* 2 Dig Counter From 00 To 59 *
--* Filename : COUNT_00_59.VHD *
--*********************************
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
use work.CLOCK_PACK.all;
entity COUNT_00_59 is
Port ( CLK : in std_logic;
RESET : in std_logic;
CE : in std_logic;
CARRY : out std_logic;
BCD : out std_logic_vector(7 downto 0));
end COUNT_00_59;
architecture Behavioral of COUNT_00_59 is
signal CARRY10 : std_logic;
begin
COUNTER : COUNT_0_9 port map (CLK,RESET,CE ,CARRY10,BCD(3 downto 0));
COUNTER10 : COUNT_0_5 port map (CLK,RESET,CARRY10,CARRY ,BCD(7 downto 4));
end Behavioral;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -