-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathicache.v.out
328 lines (328 loc) · 11.5 KB
/
icache.v.out
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
#! /c/Source/iverilog-install/bin/vvp
:ivl_version "12.0 (devel)" "(s20150603-1539-g2693dd32b)";
:ivl_delay_selection "TYPICAL";
:vpi_time_precision - 10;
:vpi_module "C:\iverilog\lib\ivl\system.vpi";
:vpi_module "C:\iverilog\lib\ivl\vhdl_sys.vpi";
:vpi_module "C:\iverilog\lib\ivl\vhdl_textio.vpi";
:vpi_module "C:\iverilog\lib\ivl\v2005_math.vpi";
:vpi_module "C:\iverilog\lib\ivl\va_math.vpi";
S_00000238e570fd70 .scope module, "icache" "icache" 2 12;
.timescale -9 -10;
.port_info 0 /INPUT 1 "clock";
.port_info 1 /INPUT 1 "reset";
.port_info 2 /INPUT 32 "pc";
.port_info 3 /OUTPUT 32 "instruction";
.port_info 4 /OUTPUT 1 "busywait";
.port_info 5 /OUTPUT 1 "i_read";
.port_info 6 /OUTPUT 6 "i_address";
.port_info 7 /INPUT 128 "i_readdata";
.port_info 8 /INPUT 1 "i_busywait";
P_00000238e570ff00 .param/l "IDLE" 0 2 70, C4<0>;
P_00000238e570ff38 .param/l "I_READ" 0 2 70, C4<1>;
L_00000238e570bcb0/d .functor AND 1, L_00000238e5779350, L_00000238e5779670, C4<1>, C4<1>;
L_00000238e570bcb0 .delay 1 (9,9,9) L_00000238e570bcb0/d;
v00000238e570d410_0 .net *"_ivl_10", 2 0, L_00000238e57795d0; 1 drivers
v00000238e570d550_0 .net *"_ivl_12", 4 0, L_00000238e5779b70; 1 drivers
L_00000238e577ba88 .functor BUFT 1, C4<00>, C4<0>, C4<0>, C4<0>;
v00000238e570de10_0 .net *"_ivl_15", 1 0, L_00000238e577ba88; 1 drivers
v00000238e570d5f0_0 .net *"_ivl_16", 127 0, L_00000238e57793f0; 1 drivers
v00000238e570dd70_0 .net *"_ivl_18", 4 0, L_00000238e5779490; 1 drivers
L_00000238e577bad0 .functor BUFT 1, C4<00>, C4<0>, C4<0>, C4<0>;
v00000238e570d730_0 .net *"_ivl_21", 1 0, L_00000238e577bad0; 1 drivers
v00000238e570db90_0 .net *"_ivl_22", 0 0, L_00000238e5778590; 1 drivers
v00000238e570da50_0 .net *"_ivl_24", 4 0, L_00000238e5778270; 1 drivers
L_00000238e577bb18 .functor BUFT 1, C4<00>, C4<0>, C4<0>, C4<0>;
v00000238e570e270_0 .net *"_ivl_27", 1 0, L_00000238e577bb18; 1 drivers
v00000238e570dff0_0 .net *"_ivl_28", 131 0, L_00000238e5779530; 1 drivers
v00000238e570dc30_0 .net *"_ivl_31", 35 0, L_00000238e57781d0; 1 drivers
v00000238e570d7d0_0 .net *"_ivl_32", 0 0, L_00000238e5779670; 1 drivers
v00000238e570d870_0 .net "block_data", 31 0, L_00000238e57792b0; 1 drivers
v00000238e570e090_0 .net "block_tag", 2 0, L_00000238e5778b30; 1 drivers
v00000238e570d910_0 .var "busywait", 0 0;
v00000238e570d9b0 .array "cache_data", 0 7, 127 0;
v00000238e570daf0 .array "cache_tag", 0 7, 2 0;
v00000238e570d370 .array "cache_valid", 0 7, 0 0;
o00000238e57233c8 .functor BUFZ 1, C4<z>; HiZ drive
v00000238e570dcd0_0 .net "clock", 0 0, o00000238e57233c8; 0 drivers
v00000238e570deb0_0 .net "hit", 0 0, L_00000238e570bcb0; 1 drivers
v00000238e5779e90_0 .var/i "i", 31 0;
v00000238e5779030_0 .var "i_address", 5 0;
o00000238e5723488 .functor BUFZ 1, C4<z>; HiZ drive
v00000238e5778ef0_0 .net "i_busywait", 0 0, o00000238e5723488; 0 drivers
v00000238e57783b0_0 .var "i_read", 0 0;
o00000238e57234e8 .functor BUFZ 128, C4<zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz>; HiZ drive
v00000238e5779f30_0 .net "i_readdata", 127 0, o00000238e57234e8; 0 drivers
v00000238e5778f90_0 .net "index", 2 0, L_00000238e5778c70; 1 drivers
v00000238e5778950_0 .var "instruction", 31 0;
v00000238e5779d50_0 .var "next_state", 0 0;
v00000238e5779170_0 .net "offset", 1 0, L_00000238e5778e50; 1 drivers
o00000238e57235d8 .functor BUFZ 32, C4<zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz>; HiZ drive
v00000238e57786d0_0 .net "pc", 31 0, o00000238e57235d8; 0 drivers
o00000238e5723608 .functor BUFZ 1, C4<z>; HiZ drive
v00000238e5778450_0 .net "reset", 0 0, o00000238e5723608; 0 drivers
v00000238e5778090_0 .var "state", 0 0;
v00000238e5778a90_0 .net "tag", 2 0, L_00000238e5779210; 1 drivers
v00000238e57790d0_0 .net "valid", 0 0, L_00000238e5779350; 1 drivers
E_00000238e5706900 .event posedge, v00000238e5778450_0, v00000238e570dcd0_0;
E_00000238e57069c0/0 .event anyedge, v00000238e5778090_0, v00000238e5778a90_0, v00000238e5778f90_0, v00000238e5778ef0_0;
E_00000238e57069c0/1 .event anyedge, v00000238e5779f30_0;
E_00000238e57069c0 .event/or E_00000238e57069c0/0, E_00000238e57069c0/1;
E_00000238e5706200 .event anyedge, v00000238e5778090_0, v00000238e570deb0_0, v00000238e5778ef0_0;
E_00000238e5706580 .event anyedge, v00000238e570deb0_0;
v00000238e570d9b0_0 .array/port v00000238e570d9b0, 0;
v00000238e570d9b0_1 .array/port v00000238e570d9b0, 1;
E_00000238e5706540/0 .event anyedge, v00000238e5779170_0, v00000238e5778f90_0, v00000238e570d9b0_0, v00000238e570d9b0_1;
v00000238e570d9b0_2 .array/port v00000238e570d9b0, 2;
v00000238e570d9b0_3 .array/port v00000238e570d9b0, 3;
v00000238e570d9b0_4 .array/port v00000238e570d9b0, 4;
v00000238e570d9b0_5 .array/port v00000238e570d9b0, 5;
E_00000238e5706540/1 .event anyedge, v00000238e570d9b0_2, v00000238e570d9b0_3, v00000238e570d9b0_4, v00000238e570d9b0_5;
v00000238e570d9b0_6 .array/port v00000238e570d9b0, 6;
v00000238e570d9b0_7 .array/port v00000238e570d9b0, 7;
E_00000238e5706540/2 .event anyedge, v00000238e570d9b0_6, v00000238e570d9b0_7;
E_00000238e5706540 .event/or E_00000238e5706540/0, E_00000238e5706540/1, E_00000238e5706540/2;
L_00000238e5778c70 .part o00000238e57235d8, 4, 3;
L_00000238e5779210 .part o00000238e57235d8, 7, 3;
L_00000238e5778e50 .part o00000238e57235d8, 2, 2;
L_00000238e5778b30 .part L_00000238e57781d0, 33, 3;
L_00000238e57792b0 .part L_00000238e57781d0, 1, 32;
L_00000238e5779350 .part L_00000238e57781d0, 0, 1;
L_00000238e57795d0 .array/port v00000238e570daf0, L_00000238e5779b70;
L_00000238e5779b70 .concat [ 3 2 0 0], L_00000238e5778c70, L_00000238e577ba88;
L_00000238e57793f0 .array/port v00000238e570d9b0, L_00000238e5779490;
L_00000238e5779490 .concat [ 3 2 0 0], L_00000238e5778c70, L_00000238e577bad0;
L_00000238e5778590 .array/port v00000238e570d370, L_00000238e5778270;
L_00000238e5778270 .concat [ 3 2 0 0], L_00000238e5778c70, L_00000238e577bb18;
L_00000238e5779530 .concat [ 1 128 3 0], L_00000238e5778590, L_00000238e57793f0, L_00000238e57795d0;
L_00000238e57781d0 .delay 36 (10,10,10) L_00000238e57781d0/d;
L_00000238e57781d0/d .part L_00000238e5779530, 0, 36;
L_00000238e5779670 .cmp/eq 3, L_00000238e5778b30, L_00000238e5779210;
.scope S_00000238e570fd70;
T_0 ;
%wait E_00000238e5706540;
%delay 10, 0;
%load/vec4 v00000238e5779170_0;
%dup/vec4;
%pushi/vec4 0, 0, 2;
%cmp/u;
%jmp/1 T_0.0, 6;
%dup/vec4;
%pushi/vec4 1, 0, 2;
%cmp/u;
%jmp/1 T_0.1, 6;
%dup/vec4;
%pushi/vec4 2, 0, 2;
%cmp/u;
%jmp/1 T_0.2, 6;
%dup/vec4;
%pushi/vec4 3, 0, 2;
%cmp/u;
%jmp/1 T_0.3, 6;
%jmp T_0.4;
T_0.0 ;
%load/vec4 v00000238e5778f90_0;
%pad/u 5;
%ix/vec4 4;
%load/vec4a v00000238e570d9b0, 4;
%parti/s 32, 0, 2;
%store/vec4 v00000238e5778950_0, 0, 32;
%jmp T_0.4;
T_0.1 ;
%load/vec4 v00000238e5778f90_0;
%pad/u 5;
%ix/vec4 4;
%load/vec4a v00000238e570d9b0, 4;
%parti/s 32, 32, 7;
%store/vec4 v00000238e5778950_0, 0, 32;
%jmp T_0.4;
T_0.2 ;
%load/vec4 v00000238e5778f90_0;
%pad/u 5;
%ix/vec4 4;
%load/vec4a v00000238e570d9b0, 4;
%parti/s 32, 64, 8;
%store/vec4 v00000238e5778950_0, 0, 32;
%jmp T_0.4;
T_0.3 ;
%load/vec4 v00000238e5778f90_0;
%pad/u 5;
%ix/vec4 4;
%load/vec4a v00000238e570d9b0, 4;
%parti/s 32, 96, 8;
%store/vec4 v00000238e5778950_0, 0, 32;
%jmp T_0.4;
T_0.4 ;
%pop/vec4 1;
%jmp T_0;
.thread T_0, $push;
.scope S_00000238e570fd70;
T_1 ;
%wait E_00000238e5706580;
%load/vec4 v00000238e570deb0_0;
%flag_set/vec4 8;
%jmp/0xz T_1.0, 8;
%pushi/vec4 0, 0, 1;
%store/vec4 v00000238e570d910_0, 0, 1;
%jmp T_1.1;
T_1.0 ;
%pushi/vec4 1, 0, 1;
%store/vec4 v00000238e570d910_0, 0, 1;
T_1.1 ;
%jmp T_1;
.thread T_1, $push;
.scope S_00000238e570fd70;
T_2 ;
%wait E_00000238e5706200;
%load/vec4 v00000238e5778090_0;
%dup/vec4;
%pushi/vec4 0, 0, 1;
%cmp/u;
%jmp/1 T_2.0, 6;
%dup/vec4;
%pushi/vec4 1, 0, 1;
%cmp/u;
%jmp/1 T_2.1, 6;
%pushi/vec4 0, 0, 1;
%store/vec4 v00000238e5779d50_0, 0, 1;
%jmp T_2.3;
T_2.0 ;
%load/vec4 v00000238e570deb0_0;
%nor/r;
%flag_set/vec4 8;
%jmp/0xz T_2.4, 8;
%pushi/vec4 1, 0, 1;
%store/vec4 v00000238e5779d50_0, 0, 1;
%jmp T_2.5;
T_2.4 ;
%pushi/vec4 0, 0, 1;
%store/vec4 v00000238e5779d50_0, 0, 1;
T_2.5 ;
%jmp T_2.3;
T_2.1 ;
%load/vec4 v00000238e5778ef0_0;
%nor/r;
%flag_set/vec4 8;
%jmp/0xz T_2.6, 8;
%pushi/vec4 0, 0, 1;
%store/vec4 v00000238e5779d50_0, 0, 1;
%jmp T_2.7;
T_2.6 ;
%pushi/vec4 1, 0, 1;
%store/vec4 v00000238e5779d50_0, 0, 1;
T_2.7 ;
%jmp T_2.3;
T_2.3 ;
%pop/vec4 1;
%jmp T_2;
.thread T_2, $push;
.scope S_00000238e570fd70;
T_3 ;
%wait E_00000238e57069c0;
%load/vec4 v00000238e5778090_0;
%dup/vec4;
%pushi/vec4 0, 0, 1;
%cmp/u;
%jmp/1 T_3.0, 6;
%dup/vec4;
%pushi/vec4 1, 0, 1;
%cmp/u;
%jmp/1 T_3.1, 6;
%jmp T_3.2;
T_3.0 ;
%pushi/vec4 0, 0, 1;
%store/vec4 v00000238e57783b0_0, 0, 1;
%pushi/vec4 63, 63, 6;
%store/vec4 v00000238e5779030_0, 0, 6;
%pushi/vec4 0, 0, 1;
%store/vec4 v00000238e570d910_0, 0, 1;
%jmp T_3.2;
T_3.1 ;
%pushi/vec4 1, 0, 1;
%store/vec4 v00000238e57783b0_0, 0, 1;
%load/vec4 v00000238e5778a90_0;
%load/vec4 v00000238e5778f90_0;
%concat/vec4; draw_concat_vec4
%store/vec4 v00000238e5779030_0, 0, 6;
%pushi/vec4 1, 0, 1;
%store/vec4 v00000238e570d910_0, 0, 1;
%delay 10, 0;
%load/vec4 v00000238e5778ef0_0;
%pad/u 32;
%cmpi/e 0, 0, 32;
%jmp/0xz T_3.3, 4;
%load/vec4 v00000238e5779f30_0;
%load/vec4 v00000238e5778f90_0;
%pad/u 5;
%ix/vec4 4;
%store/vec4a v00000238e570d9b0, 4, 0;
%pushi/vec4 1, 0, 1;
%load/vec4 v00000238e5778f90_0;
%pad/u 5;
%ix/vec4 4;
%store/vec4a v00000238e570d370, 4, 0;
%load/vec4 v00000238e5778a90_0;
%load/vec4 v00000238e5778f90_0;
%pad/u 5;
%ix/vec4 4;
%store/vec4a v00000238e570daf0, 4, 0;
T_3.3 ;
%jmp T_3.2;
T_3.2 ;
%pop/vec4 1;
%jmp T_3;
.thread T_3, $push;
.scope S_00000238e570fd70;
T_4 ;
%wait E_00000238e5706900;
%load/vec4 v00000238e5778450_0;
%flag_set/vec4 8;
%jmp/0xz T_4.0, 8;
%pushi/vec4 0, 0, 1;
%assign/vec4 v00000238e5778090_0, 0;
%pushi/vec4 0, 0, 32;
%store/vec4 v00000238e5779e90_0, 0, 32;
T_4.2 ;
%load/vec4 v00000238e5779e90_0;
%cmpi/s 8, 0, 32;
%jmp/0xz T_4.3, 5;
%pushi/vec4 0, 0, 1;
%ix/getv/s 3, v00000238e5779e90_0;
%ix/load 4, 0, 0; Constant delay
%assign/vec4/a/d v00000238e570d370, 0, 4;
%load/vec4 v00000238e5779e90_0;
%addi 1, 0, 32;
%store/vec4 v00000238e5779e90_0, 0, 32;
%jmp T_4.2;
T_4.3 ;
%jmp T_4.1;
T_4.0 ;
%load/vec4 v00000238e5779d50_0;
%assign/vec4 v00000238e5778090_0, 0;
T_4.1 ;
%jmp T_4;
.thread T_4;
.scope S_00000238e570fd70;
T_5 ;
%vpi_call 2 139 "$dumpfile", "cpu_wavedata.vcd" {0 0 0};
%pushi/vec4 0, 0, 32;
%store/vec4 v00000238e5779e90_0, 0, 32;
T_5.0 ;
%load/vec4 v00000238e5779e90_0;
%cmpi/s 8, 0, 32;
%jmp/0xz T_5.1, 5;
%vpi_call 2 141 "$dumpvars", 32'sb00000000000000000000000000000001, &A<v00000238e570d9b0, v00000238e5779e90_0 > {0 0 0};
; show_stmt_assign_vector: Get l-value for compressed += operand
%load/vec4 v00000238e5779e90_0;
%pushi/vec4 1, 0, 32;
%add;
%store/vec4 v00000238e5779e90_0, 0, 32;
%jmp T_5.0;
T_5.1 ;
%end;
.thread T_5;
# The file index is used to find the file name in the following table.
:file_names 3;
"N/A";
"<interactive>";
"icache.v";