?? switch.vhd
字號(hào):
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
entity switch is
Port ( vgadd : in std_logic_vector(14 downto 0);
convadd : in std_logic_vector(14 downto 0);
address2 : out std_logic_vector(14 downto 0);
Q_9 : in std_logic);
end switch;
architecture Behavioral of switch is
begin
process(Q_9)
begin
if(Q_9='1')then
address2 <= convadd;
else
address2 <= vgadd;
end if;
end process;
end Behavioral;
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -