update and debug testbench
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
'include "predefined/not_gate.v"
|
||||
|
||||
module not_tb();
|
||||
reg ta;
|
||||
wire ty;
|
||||
|
||||
not_gate dut(y, ta);
|
||||
|
||||
initial begin
|
||||
ta=0;
|
||||
$monitor("IN: %b", ta, "OUT: ", y)
|
||||
ta=1;
|
||||
$monitor("IN: %b", ta, "OUT: ", y)
|
||||
end
|
||||
endmodule
|
||||
Reference in New Issue
Block a user