--VHDL code position: xd_p69_ex5_1B_wait
-------------------------------------------------------------------------------
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
USE IEEE.STD_LOGIC_ARITH.ALL;
USE IEEE.STD_LOGIC_UNSIGNED.ALL;
ENTITY wait5_1b IS
PORT ( a, b : IN STD_LOGIC;
y : OUT STD_LOGIC
);
END ENTITY wait5_1b;
ARCHITECTURE bhv OF wait5_1b IS
BEGIN
PROCESS
BEGIN
y <= a AND b
WAIT ON a, b;
END PROCESS;
END ARCHITECTURE bhv;