?? set.vhd
字號:
LIBRARY IEEE;
USE IEEE.std_logic_1164.all;
USE IEEE.std_logic_arith.all;
USE IEEE.std_logic_unsigned.all;
ENTITY set IS
PORT(miaoin,fenin,shiin,setmiao,setfen,setshi,Set: in std_logic;
coutmiao,coutfen,coutshi: out std_logic);
END set;
ARCHITECTURE behave of set IS
begin
process(miaoin,fenin,shiin,Set,setmiao,setfen,setshi)
begin
if Set = '1' then
coutmiao <= setmiao;
coutfen <= setfen;
coutshi <= setshi;
else
coutmiao <= miaoin;
coutfen <= fenin;
coutshi <= shiin;
end if;
end process;
end behave;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -