zero_detect.vhd
来自「该芯片的功能是: ① 有一复位开关」· VHDL 代码 · 共 10 行
VHD
10 行
library ieee;
use ieee.std_logic_1164.all;
entity zero_detect is
port(a:in std_logic_vector(3 downto 0);
zero:out std_logic);
end zero_detect;
architecture rtl of zero_detect is
begin
zero<='1' when a="0000" else '0';
end rtl;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?