or88.vhd
来自「实现电子密码锁的各项功能,经过编译和仿真」· VHDL 代码 · 共 15 行
VHD
15 行
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity or88 is
port(
q_temp: in std_logic_vector(7 downto 0);
qout: out std_logic);
end or88;
architecture bhv of or88 is
begin
process(q_temp)
begin
qout<=q_temp(7) or q_temp(6) or q_temp(5) or q_temp(4) or q_temp(3) or q_temp(2) or q_temp(1) or q_temp(0);
end process;
end bhv;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?