ENTITY xr2_x1 IS
GENERIC (
  CONSTANT area 	 : NATURAL := 2250;
  CONSTANT transistors	 : NATURAL := 12;
  CONSTANT cin_i0	 : NATURAL := 21;
  CONSTANT cin_i1	 : NATURAL := 22;
  CONSTANT tplh_i1_q	 : NATURAL := 260;
  CONSTANT rup_i1_q	 : NATURAL := 3200;
  CONSTANT tphh_i1_q	 : NATURAL := 402;
  CONSTANT rup_i1_q	 : NATURAL := 3200;
  CONSTANT tphl_i1_q	 : NATURAL := 373;
  CONSTANT rdown_i1_q	 : NATURAL := 2820;
  CONSTANT tpll_i1_q	 : NATURAL := 386;
  CONSTANT rdown_i1_q	 : NATURAL := 2820;
  CONSTANT tplh_i0_q	 : NATURAL := 292;
  CONSTANT rup_i0_q	 : NATURAL := 3200;
  CONSTANT tphh_i0_q	 : NATURAL := 363;
  CONSTANT rup_i0_q	 : NATURAL := 3200;
  CONSTANT tphl_i0_q	 : NATURAL := 288;
  CONSTANT rdown_i0_q	 : NATURAL := 2820;
  CONSTANT tpll_i0_q	 : NATURAL := 388;
  CONSTANT rdown_i0_q	 : NATURAL := 2820
);
PORT (
  i0	 : in  BIT;
  i1	 : in  BIT;
  q	 : out BIT;
  vdd	 : in  BIT;
  vss	 : in  BIT
);
END xr2_x1;

ARCHITECTURE behaviour_data_flow OF xr2_x1 IS

BEGIN
  ASSERT ((vdd and not (vss)) = '1')
  REPORT "power supply is missing on xr2_x1"
  SEVERITY WARNING;
  q <= (i0 xor i1) after 1000 ps;
END;
