mux4b.vhd
来自「多功能时钟」· VHDL 代码 · 共 13 行
VHD
13 行
library ieee;
use ieee.std_logic_1164.all;
entity mux4b is
port(in1,in2:in std_logic_vector(3 downto 0);
sel:in std_logic;
y:out std_logic_vector(3 downto 0));
end;
architecture one of mux4b is
begin
y<=in1 when sel='1' else
in2;
end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?