📄 deccounter7490.vhd
字号:
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
entity count7490 is
port(clk,reset: in std_logic;
count: out unsigned (3 downto 0)
);
end count7490;
architecture reg of count7490 is
signal co:unsigned (3 downto 0);
begin
process(clk)
begin
if (reset='1') then
co<="0000";
elsif (clk'event and clk='1') then
co<=co+1;
end if;
end process;
count<= co;
end reg;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -