?? mux2.vhd
字號:
--mux2
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_unsigned.all;
use IEEE.std_logic_arith.all;
entity mux2 is
port(a,b,en:in std_logic;
y:out std_logic);
end mux2;
architecture behav of mux2 is
begin
y<=b when en='1' else a;
end behav;
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -