3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-11 03:33:36 +00:00
yosys/tests/ecp5/tribuf.v
2019-10-04 09:53:54 +02:00

9 lines
108 B
Verilog

module tristate (en, i, o);
input en;
input i;
output o;
assign o = en ? i : 1'bz;
endmodule