📄 mux2_1.vhd
字号:
--core_design
--mux2_1
--all right reserved
library ieee;
use ieee.std_logic_1164.all;
entity mux2_1 is
port (en:in std_logic;
in1:in std_logic_vector(31 downto 0);
in2:in std_logic_vector(31 downto 0);
out1:out std_logic_vector(31 downto 0)
);
end mux2_1;
architecture b of mux2_1 is
begin
process(en,in1,in2)
begin
case en is
when '0' =>out1<=in1;
when '1' =>out1<=in2;
when others =>null;
end case;
end process;
end b;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -