yosys4gal/testcases/tristate.v
annoyatron255 f20410a723
Add OLMCs
2024-04-04 01:33:47 -05:00

9 lines
89 B
Verilog

module tristate (
input a, b, c,
output y
);
assign y = c ? a && b : 1'bz;
endmodule