entity relays is
Port ( rst : in STD_LOGIC;
y : inout STD_LOGIC_VECTOR (1 downto 0));
end relays;
architecture Behavioral of relays is
begin
process(rst)
begin
if rst='1' then y<="00";
else y<="11";
end if;
end process;
end Behavioral;
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment