forked from zylin/Verilog_VCD
-
Notifications
You must be signed in to change notification settings - Fork 22
/
counter_tb.vcd
108 lines (108 loc) · 737 Bytes
/
counter_tb.vcd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
$date
Sat Apr 29 09:34:13 2017
$end
$version
Icarus Verilog
$end
$timescale
1s
$end
$scope module counter_tb $end
$var wire 2 ! out [1:0] $end
$var reg 1 " clock $end
$var reg 1 # enable $end
$var reg 1 $ reset $end
$scope module top $end
$var wire 1 " clock $end
$var wire 1 # enable $end
$var wire 1 $ reset $end
$var reg 2 % out [1:0] $end
$upscope $end
$upscope $end
$enddefinitions $end
#0
$dumpvars
bx %
0$
0#
1"
bx !
$end
#1
0"
1$
#2
b0 !
b0 %
1"
#3
0"
0$
#4
1"
#5
0"
1#
#6
b1 !
b1 %
1"
#7
0"
#8
b10 !
b10 %
1"
#9
0"
#10
b11 !
b11 %
1"
#11
0"
#12
b0 !
b0 %
1"
#13
0"
#14
b1 !
b1 %
1"
#15
0"
#16
b10 !
b10 %
1"
#17
0"
#18
b11 !
b11 %
1"
#19
0"
#20
b0 !
b0 %
1"
#21
0"
#22
b1 !
b1 %
1"
#23
0"
#24
b10 !
b10 %
1"
#25
0"
0#
#26
1"