faulttst.v
来自「几个简单的verilog代码」· Verilog 代码 · 共 20 行
V
20 行
`timescale 1ns / 100 ps
module fault_strobe;
// declare delays as parameters for ease of modification.
parameter offset=50, wait_strobe=2;
// setup the stobe for the test nodes.
initial
// Specify a startup time of "offset" before strobing test nodes.
#offset
// After a negative clock edge occurs,
// strobe the test nodes after a wait time of "wait_strobe".
forever @(negedge stimulate.clock)
#wait_strobe $fs_strobe( stimulate.vendcoke,
stimulate.vendpepsi, stimulate.vendsoft_drink );
endmodule
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?