aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ecp5/tribuf.v
blob: 90dd314e4728c20accf90b5dbdc058a1a66e7490 (plain)
1
2
3
4
5
6
7
8
module tristate (en, i, o);
    input en;
    input i;
    output o;

	assign o = en ? i : 1'bz;

endmodule