module oh_parity #( parameter N      = 2 // data width
		 )
   (
    input [N-1:0] in,  // data input
    output 	   out // calculated parity bit
    );

  assign  parity = ^in[N-1:0];

endmodule // oh_parity