-
Notifications
You must be signed in to change notification settings - Fork 1
/
mealy.vcd
103 lines (103 loc) · 930 Bytes
/
mealy.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
$date
Wed Aug 26 16:22:45 2020
$end
$version
GHDL v0
$end
$timescale
1 fs
$end
$scope module standard $end
$upscope $end
$scope module std_logic_1164 $end
$upscope $end
$scope module numeric_std $end
$upscope $end
$scope module mealy_tb $end
$var reg 1 ! clk $end
$var reg 1 " reset $end
$var reg 1 # enable $end
$var reg 2 $ o[1:0] $end
$var integer 32 % i $end
$scope module mealy_test $end
$var reg 1 & clk $end
$var reg 1 ' reset $end
$var reg 1 ( enable $end
$var integer 32 ) i $end
$var reg 2 * o[1:0] $end
$var integer 32 + state $end
$var integer 32 , next_state $end
$upscope $end
$upscope $end
$enddefinitions $end
#0
0!
1"
0#
b00 $
b1 %
0&
1'
0(
b1 )
b00 *
b0 +
b1 ,
#10
1!
0"
1#
b0 %
1&
0'
1(
b0 )
b1 +
b10 ,
#20
0!
0&
#30
1!
b10 $
1&
b10 *
b10 +
b100 ,
#40
0!
0&
#50
1!
b01 $
1&
b01 *
b100 +
#60
0!
0&
#70
1!
b00 $
b1 %
1&
b1 )
b00 *
b101 ,
#80
0!
0&
#90
1!
1&
b101 +
b0 ,
#100
0!
0&
#110
1!
1&
b0 +
b1 ,
#120