top.v 230 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
module top (en, a, b);
    input en;
	input a;
	output reg b;

    (* keep = "true" *) wire  int_dat;
`ifndef BUG

    always @(en or a)
		b <= (en)? a : 1'bZ;
`else

    always @(en or a)
		b <= (en)? ~a : 1'bZ;
`endif
endmodule