?? delta_address.vhd
字號(hào):
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
entity delta_address is
port(
clk:in std_logic;
addin:in std_logic_vector(9 downto 0);
addout:out std_logic_vector(7 downto 0));
end;
architecture delta of delta_address is
begin
process(clk)
begin
if rising_edge(clk) then
if addin(8)='1' then
addout(7 downto 0)<=not addin(7 downto 0);
else
addout(7 downto 0)<=addin(7 downto 0);
end if;
end if ;
end process;
end;
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -