yosys4gal/testcases/tristate.v

10 lines
110 B
Coq
Raw Permalink Normal View History

2024-04-04 06:33:47 +00:00
module tristate (
input a, b, c, d,
output x, y
2024-04-04 06:33:47 +00:00
);
assign x = !d;
2024-04-04 06:33:47 +00:00
assign y = c ? a && b : 1'bz;
endmodule