File2 is as follows.. component XOR2 port (A : in std_logic := 'U'; B : in std_logic := 'U'; Y : out std_logic); end component;