?? mux_2.vhd
字號:
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
entity mux_2 is
port(
sel: in std_logic;
clk1: in std_logic;
clk2: in std_logic;
clko: out std_logic);
end mux_2;
architecture mux_2_arch of mux_2 is
begin
process(sel)
begin
if sel='1' then
clko<=clk1;
else
clko<=clk2;
end if;
end process;
end mux_2_arch;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -