mirror of
https://github.com/annoyatron255/yosys4gal.git
synced 2024-12-23 02:52:24 +00:00
9 lines
89 B
Coq
9 lines
89 B
Coq
|
module tristate (
|
||
|
input a, b, c,
|
||
|
output y
|
||
|
);
|
||
|
|
||
|
assign y = c ? a && b : 1'bz;
|
||
|
|
||
|
endmodule
|