set_s_m_h.vhd
来自「VHDL的数字钟」· VHDL 代码 · 共 16 行
VHD
16 行
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity set_s_m_h is
port(en,add,cout:in std_logic;
clk:out std_logic);
end;
architecture one of set_s_m_h is
begin
process(en,add,cout)
begin
if en='0' then
clk<=cout;else clk<=add;
end if;
end process;
end one;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?