initial import
This commit is contained in:
9
tests/asicworld/code_verilog_tutorial_tri_buf.v
Normal file
9
tests/asicworld/code_verilog_tutorial_tri_buf.v
Normal file
@@ -0,0 +1,9 @@
|
||||
module tri_buf (a,b,enable);
|
||||
input a;
|
||||
output b;
|
||||
input enable;
|
||||
wire b;
|
||||
|
||||
assign b = (enable) ? a : 1'bz;
|
||||
|
||||
endmodule
|
||||
Reference in New Issue
Block a user