I want to connect testbench to CPU bus in an intermittent manner. The simulation starts with CPU handling traffic, and then verification takes over.
I tried the following code, but the result is X.
`timescale 1ns/1ns
module test_force;
wire tb;
wire cpu;
wire dut;
assign cpu = 1;
assign dut = cpu;
assign dut = tb;
initial begin
#2 force tb = 0;
#200 $finish;
end
endmodule