hcq.vhd
来自「一些很好的FPGA设计实例」· VHDL 代码 · 共 14 行
VHD
14 行
library ieee;
use ieee.std_logic_1164.all;
--------------------------
entity hcq is
port (ena: in std_logic;
input: in std_logic_vector(7 downto 0);
output: out std_logic_vector(7 downto 0));
end hcq;
-------------------------
architecture hcq0 of hcq is
begin
output <= input when (ena ='0') else
(others => 'Z');
end hcq0;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?