ctrl.vhd
来自「用vhdl实现的多功能时钟,有整点响铃,秒表等多种功能」· VHDL 代码 · 共 14 行
VHD
14 行
library ieee;
use ieee.std_logic_1164.all;
entity ctrl is
port(clk :in std_logic;
sel :in std_logic;
set :in std_logic;
clkout :out std_logic);
end ctrl;
architecture one of ctrl is
begin
clkout <= (clk and sel) or ((not sel) and set);
end one;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?