📄 counter.vhd
字号:
-- 库声明library IEEE;use IEEE.STD_LOGIC_1164.all;use ieee.std_logic_arith.all;-- 实体声明entity counter is generic ( MAX_COUNT : integer := 10 ); port ( clk : in std_logic; reset_n : in std_logic; ce : in std_logic; overflow : out std_logic; dout : out std_logic_vector(3 downto 0) );end counter;--}} End of automatically maintained section-- 结构体architecture counter of counter issignal count : integer;begin dout <= conv_std_logic_vector(count, 4); -- enter your statements here -- -- 主
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -