📄 checoutvalue.vhd
字号:
library IEEE;
use IEEE.std_logic_1164.all;
use ieee.std_logic_unsigned.all;
use ieee.std_logic_arith.all;
entity checoutvalue is
port (
reset: in STD_LOGIC;
jmp: in STD_LOGIC;
d_in: in STD_LOGIC_VECTOR (10 downto 0);
d_out: out STD_LOGIC_VECTOR (10 downto 0)
);
end checoutvalue;
architecture checoutvalue_arch of checoutvalue is
signal da : std_logic_vector(10 downto 0);
begin
-- <<enter your statements here>>
process(reset,da)
begin
case reset is
when '0' =>
d_out<="00000000000";
when others =>
d_out<=da;
end case;
end process;
process(jmp)
begin
if jmp='1' and jmp'event then
da<=d_in;
end if;
end process;
end checoutvalue_arch;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -