📄 mul2wr.vhd
字号:
library ieee;
use ieee.std_logic_1164.all;
entity mul2wr is
port(sel:in std_logic;
in0,in1:std_logic;
dout:out std_logic
);
end mul2wr;
architecture behav of mul2wr is
begin
process(in1,in0,sel)
begin
if sel='1' then dout<=in1;
elsif sel='0' then dout<=in0;
end if;
end process;
end behav;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -