mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-09-07 12:21:16 +02:00
10 lines
118 B
Verilog
10 lines
118 B
Verilog
module tri_buf (a,b,enable);
|
|
input a;
|
|
output b;
|
|
input enable;
|
|
wire b;
|
|
|
|
assign b = (enable) ? a : 1'bz;
|
|
|
|
endmodule
|