SAIFIINDUSTRIES's picture
Add Batch 8 with 10 repos
7df9186 verified
Raw
History Blame Contribute Delete
540 Bytes
`timescale 1ns / 1ns
module visible_tb;
reg clk;
integer cc;
initial begin
if ($test$plusargs("vcd")) begin
$dumpfile("visible.vcd");
$dumpvars(5,visible_tb);
end
$display("Non-checking testbench. Will always PASS");
for (cc=0; cc < 1300; cc=cc+1) begin
clk=0; #5;
clk=1; #5;
end
$display("PASS");
$finish(0);
end
wire [15:0] pattern;
// Note: parameter setting makes the simulation take a factor of 16 fewer
// cycles compared to the default value of 6.
visible #(.div(2)) dut (.clk(clk), .pattern(pattern));
endmodule