📄 demo_tb.v
字号:
// Testbench for "Demo" module
module Demo_TB;
reg astim; // stimulus for port "a"
wire bmon; // connection to monitor port "b"
// Instantiate the device-under-test
Demo DUT (
.a(astim),
.b(bmon)
);
// Apply input stimulus
initial begin
astim = 0;
#10 astim = 1;
#30 astim = 0;
#20 $finish;
end
endmodule
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -