top.v 185 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
module top
(
 input x,
 input y,
 input z,
 input clk,

 input A,
 output B
 );
 
`ifndef BUG
assign  B = (x || y || !z)?  (A & z) : ~x;
`else
assign B =  z - y + x;

`endif

endmodule