T
trescot@gmail.com
Guest
I am writing a test-bench in verilog. Its as follows.
`timescale 1ns/100ps
.....
.....
initial
begin
tb_tclk = 1'b0 ;
Reset_tb = 1'b0 ;
# 10000 $finish ;
end
always
#10 tb_tclk = !tb_tclk ;
initial
begin
$vcdpluson ;
end
Basically I want the clock to run for 10000 ns. When I open the vpd
file, I am surprised to see the clock toggling just for 1 cycle
instead of multiple cycles since the clock is 20 ns.
I will appreciate for any feedback.
Thanks
Trescot
`timescale 1ns/100ps
.....
.....
initial
begin
tb_tclk = 1'b0 ;
Reset_tb = 1'b0 ;
# 10000 $finish ;
end
always
#10 tb_tclk = !tb_tclk ;
initial
begin
$vcdpluson ;
end
Basically I want the clock to run for 10000 ns. When I open the vpd
file, I am surprised to see the clock toggling just for 1 cycle
instead of multiple cycles since the clock is 20 ns.
I will appreciate for any feedback.
Thanks
Trescot