?? ex09.vhd
字號(hào):
library ieee;
use ieee.std_logic_1164.all;
entity ex09 is port(
B,COPY_ENABLE: in std_logic_vector(8 downto 1);
A: out std_logic_vector(8 downto 1));
end ex09;
architecture archmux of ex09 is
begin
PROCESS(B,COPY_ENABLE)
BEGIN
A<="00000000";
FOR I IN 8 DOWNTO 1 LOOP
NEXT WHEN (COPY_ENABLE(I)='0');
A(I)<=B(I);
END LOOP;
END PROCESS;
end archmux;
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -