OpenCores
URL https://opencores.org/ocsvn/fluid_core_2/fluid_core_2/trunk

Subversion Repositories fluid_core_2

[/] [fluid_core_2/] [trunk/] [xilinx14.5 project/] [isim/] [tb_Test_Bed_isim_beh.exe.sim/] [work/] [m_00000000001085280695_4205540194.c] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 azmathmoos
/**********************************************************************/
2
/*   ____  ____                                                       */
3
/*  /   /\/   /                                                       */
4
/* /___/  \  /                                                        */
5
/* \   \   \/                                                       */
6
/*  \   \        Copyright (c) 2003-2009 Xilinx, Inc.                */
7
/*  /   /          All Right Reserved.                                 */
8
/* /---/   /\                                                         */
9
/* \   \  /  \                                                      */
10
/*  \___\/\___\                                                    */
11
/***********************************************************************/
12
 
13
/* This file is designed for use with ISim build 0x7708f090 */
14
 
15
#define XSI_HIDE_SYMBOL_SPEC true
16
#include "xsi.h"
17
#include <memory.h>
18
#ifdef __GNUC__
19
#include <stdlib.h>
20
#else
21
#include <malloc.h>
22
#define alloca _alloca
23
#endif
24
static const char *ng0 = "C:/Users/Azmath/Documents/M Tech Project/FC2/IF_Stage.v";
25
static int ng1[] = {0, 0};
26
static int ng2[] = {1, 0};
27
static unsigned int ng3[] = {0U, 4294967295U};
28
 
29
 
30
 
31
static void Initial_27_0(char *t0)
32
{
33
    char *t1;
34
    char *t2;
35
 
36
LAB0:    xsi_set_current_line(27, ng0);
37
 
38
LAB2:    xsi_set_current_line(28, ng0);
39
    t1 = ((char*)((ng1)));
40
    t2 = (t0 + 3528);
41
    xsi_vlogvar_wait_assign_value(t2, t1, 0, 0, 6, 0LL);
42
    xsi_set_current_line(29, ng0);
43
    t1 = ((char*)((ng1)));
44
    t2 = (t0 + 3688);
45
    xsi_vlogvar_wait_assign_value(t2, t1, 0, 0, 16, 0LL);
46
    xsi_set_current_line(30, ng0);
47
    t1 = ((char*)((ng1)));
48
    t2 = (t0 + 4008);
49
    xsi_vlogvar_wait_assign_value(t2, t1, 0, 0, 2, 0LL);
50
 
51
LAB1:    return;
52
}
53
 
54
static void Always_33_1(char *t0)
55
{
56
    char t13[8];
57
    char t36[8];
58
    char t42[8];
59
    char t43[8];
60
    char t64[16];
61
    char *t1;
62
    char *t2;
63
    char *t3;
64
    char *t4;
65
    char *t5;
66
    unsigned int t6;
67
    unsigned int t7;
68
    unsigned int t8;
69
    unsigned int t9;
70
    unsigned int t10;
71
    char *t11;
72
    char *t12;
73
    char *t14;
74
    unsigned int t15;
75
    unsigned int t16;
76
    unsigned int t17;
77
    unsigned int t18;
78
    unsigned int t19;
79
    unsigned int t20;
80
    unsigned int t21;
81
    unsigned int t22;
82
    char *t23;
83
    unsigned int t24;
84
    unsigned int t25;
85
    unsigned int t26;
86
    unsigned int t27;
87
    unsigned int t28;
88
    char *t29;
89
    char *t30;
90
    unsigned int t31;
91
    unsigned int t32;
92
    unsigned int t33;
93
    unsigned int t34;
94
    unsigned int t35;
95
    char *t37;
96
    char *t38;
97
    char *t39;
98
    char *t40;
99
    char *t41;
100
    char *t44;
101
    char *t45;
102
    char *t46;
103
    char *t47;
104
    char *t48;
105
    char *t49;
106
    char *t50;
107
    char *t51;
108
    char *t52;
109
    char *t53;
110
    unsigned int t54;
111
    int t55;
112
    char *t56;
113
    unsigned int t57;
114
    int t58;
115
    int t59;
116
    unsigned int t60;
117
    unsigned int t61;
118
    int t62;
119
    int t63;
120
 
121
LAB0:    t1 = (t0 + 5336U);
122
    t2 = *((char **)t1);
123
    if (t2 == 0)
124
        goto LAB2;
125
 
126
LAB3:    goto *t2;
127
 
128
LAB2:    xsi_set_current_line(33, ng0);
129
    t2 = (t0 + 6648);
130
    *((int *)t2) = 1;
131
    t3 = (t0 + 5368);
132
    *((char **)t3) = t2;
133
    *((char **)t1) = &&LAB4;
134
 
135
LAB1:    return;
136
LAB4:    xsi_set_current_line(33, ng0);
137
 
138
LAB5:    xsi_set_current_line(34, ng0);
139
    t4 = (t0 + 1208U);
140
    t5 = *((char **)t4);
141
    t4 = (t5 + 4);
142
    t6 = *((unsigned int *)t4);
143
    t7 = (~(t6));
144
    t8 = *((unsigned int *)t5);
145
    t9 = (t8 & t7);
146
    t10 = (t9 != 0);
147
    if (t10 > 0)
148
        goto LAB6;
149
 
150
LAB7:    xsi_set_current_line(39, ng0);
151
    t2 = (t0 + 4168);
152
    t3 = (t2 + 56U);
153
    t4 = *((char **)t3);
154
    memset(t13, 0, 8);
155
    t5 = (t4 + 4);
156
    t6 = *((unsigned int *)t5);
157
    t7 = (~(t6));
158
    t8 = *((unsigned int *)t4);
159
    t9 = (t8 & t7);
160
    t10 = (t9 & 1U);
161
    if (t10 != 0)
162
        goto LAB13;
163
 
164
LAB11:    if (*((unsigned int *)t5) == 0)
165
        goto LAB10;
166
 
167
LAB12:    t11 = (t13 + 4);
168
    *((unsigned int *)t13) = 1;
169
    *((unsigned int *)t11) = 1;
170
 
171
LAB13:    t12 = (t13 + 4);
172
    t14 = (t4 + 4);
173
    t15 = *((unsigned int *)t4);
174
    t16 = (~(t15));
175
    *((unsigned int *)t13) = t16;
176
    *((unsigned int *)t12) = 0;
177
    if (*((unsigned int *)t14) != 0)
178
        goto LAB15;
179
 
180
LAB14:    t21 = *((unsigned int *)t13);
181
    *((unsigned int *)t13) = (t21 & 1U);
182
    t22 = *((unsigned int *)t12);
183
    *((unsigned int *)t12) = (t22 & 1U);
184
    t23 = (t13 + 4);
185
    t24 = *((unsigned int *)t23);
186
    t25 = (~(t24));
187
    t26 = *((unsigned int *)t13);
188
    t27 = (t26 & t25);
189
    t28 = (t27 != 0);
190
    if (t28 > 0)
191
        goto LAB16;
192
 
193
LAB17:
194
LAB18:
195
LAB8:    goto LAB2;
196
 
197
LAB6:    xsi_set_current_line(34, ng0);
198
 
199
LAB9:    xsi_set_current_line(35, ng0);
200
    t11 = ((char*)((ng1)));
201
    t12 = (t0 + 3528);
202
    xsi_vlogvar_wait_assign_value(t12, t11, 0, 0, 6, 0LL);
203
    xsi_set_current_line(36, ng0);
204
    t2 = ((char*)((ng1)));
205
    t3 = (t0 + 3688);
206
    xsi_vlogvar_wait_assign_value(t3, t2, 0, 0, 16, 0LL);
207
    xsi_set_current_line(37, ng0);
208
    t2 = ((char*)((ng1)));
209
    t3 = (t0 + 4008);
210
    xsi_vlogvar_wait_assign_value(t3, t2, 0, 0, 2, 0LL);
211
    xsi_set_current_line(38, ng0);
212
    t2 = ((char*)((ng1)));
213
    t3 = (t0 + 4168);
214
    xsi_vlogvar_wait_assign_value(t3, t2, 0, 0, 1, 0LL);
215
    goto LAB8;
216
 
217
LAB10:    *((unsigned int *)t13) = 1;
218
    goto LAB13;
219
 
220
LAB15:    t17 = *((unsigned int *)t13);
221
    t18 = *((unsigned int *)t14);
222
    *((unsigned int *)t13) = (t17 | t18);
223
    t19 = *((unsigned int *)t12);
224
    t20 = *((unsigned int *)t14);
225
    *((unsigned int *)t12) = (t19 | t20);
226
    goto LAB14;
227
 
228
LAB16:    xsi_set_current_line(39, ng0);
229
 
230
LAB19:    xsi_set_current_line(41, ng0);
231
    t29 = (t0 + 1528U);
232
    t30 = *((char **)t29);
233
    t29 = (t30 + 4);
234
    t31 = *((unsigned int *)t29);
235
    t32 = (~(t31));
236
    t33 = *((unsigned int *)t30);
237
    t34 = (t33 & t32);
238
    t35 = (t34 != 0);
239
    if (t35 > 0)
240
        goto LAB20;
241
 
242
LAB21:    xsi_set_current_line(45, ng0);
243
    t2 = (t0 + 2328U);
244
    t3 = *((char **)t2);
245
    t2 = (t3 + 4);
246
    t6 = *((unsigned int *)t2);
247
    t7 = (~(t6));
248
    t8 = *((unsigned int *)t3);
249
    t9 = (t8 & t7);
250
    t10 = (t9 != 0);
251
    if (t10 > 0)
252
        goto LAB26;
253
 
254
LAB27:    xsi_set_current_line(51, ng0);
255
    t2 = (t0 + 1688U);
256
    t3 = *((char **)t2);
257
    t2 = (t3 + 4);
258
    t6 = *((unsigned int *)t2);
259
    t7 = (~(t6));
260
    t8 = *((unsigned int *)t3);
261
    t9 = (t8 & t7);
262
    t10 = (t9 != 0);
263
    if (t10 > 0)
264
        goto LAB36;
265
 
266
LAB37:    xsi_set_current_line(54, ng0);
267
    t2 = (t0 + 1368U);
268
    t3 = *((char **)t2);
269
    memset(t13, 0, 8);
270
    t2 = (t3 + 4);
271
    t6 = *((unsigned int *)t2);
272
    t7 = (~(t6));
273
    t8 = *((unsigned int *)t3);
274
    t9 = (t8 & t7);
275
    t10 = (t9 & 1U);
276
    if (t10 != 0)
277
        goto LAB43;
278
 
279
LAB41:    if (*((unsigned int *)t2) == 0)
280
        goto LAB40;
281
 
282
LAB42:    t4 = (t13 + 4);
283
    *((unsigned int *)t13) = 1;
284
    *((unsigned int *)t4) = 1;
285
 
286
LAB43:    t5 = (t13 + 4);
287
    t11 = (t3 + 4);
288
    t15 = *((unsigned int *)t3);
289
    t16 = (~(t15));
290
    *((unsigned int *)t13) = t16;
291
    *((unsigned int *)t5) = 0;
292
    if (*((unsigned int *)t11) != 0)
293
        goto LAB45;
294
 
295
LAB44:    t21 = *((unsigned int *)t13);
296
    *((unsigned int *)t13) = (t21 & 1U);
297
    t22 = *((unsigned int *)t5);
298
    *((unsigned int *)t5) = (t22 & 1U);
299
    t12 = (t13 + 4);
300
    t24 = *((unsigned int *)t12);
301
    t25 = (~(t24));
302
    t26 = *((unsigned int *)t13);
303
    t27 = (t26 & t25);
304
    t28 = (t27 != 0);
305
    if (t28 > 0)
306
        goto LAB46;
307
 
308
LAB47:
309
LAB48:
310
LAB38:
311
LAB28:
312
LAB22:    goto LAB18;
313
 
314
LAB20:    xsi_set_current_line(41, ng0);
315
 
316
LAB23:    xsi_set_current_line(42, ng0);
317
    t37 = (t0 + 2648U);
318
    t38 = *((char **)t37);
319
    t37 = (t0 + 3528);
320
    t39 = (t37 + 56U);
321
    t40 = *((char **)t39);
322
    xsi_vlogtype_concat(t36, 10, 10, 2U, t40, 6, t38, 4);
323
    t41 = (t0 + 3848);
324
    t44 = (t0 + 3848);
325
    t45 = (t44 + 72U);
326
    t46 = *((char **)t45);
327
    t47 = (t0 + 3848);
328
    t48 = (t47 + 64U);
329
    t49 = *((char **)t48);
330
    t50 = (t0 + 4008);
331
    t51 = (t50 + 56U);
332
    t52 = *((char **)t51);
333
    xsi_vlog_generic_convert_array_indices(t42, t43, t46, t49, 2, 1, t52, 2, 2);
334
    t53 = (t42 + 4);
335
    t54 = *((unsigned int *)t53);
336
    t55 = (!(t54));
337
    t56 = (t43 + 4);
338
    t57 = *((unsigned int *)t56);
339
    t58 = (!(t57));
340
    t59 = (t55 && t58);
341
    if (t59 == 1)
342
        goto LAB24;
343
 
344
LAB25:    xsi_set_current_line(43, ng0);
345
    t2 = (t0 + 4008);
346
    t3 = (t2 + 56U);
347
    t4 = *((char **)t3);
348
    t5 = ((char*)((ng2)));
349
    memset(t13, 0, 8);
350
    xsi_vlog_unsigned_add(t13, 32, t4, 2, t5, 32);
351
    t11 = (t0 + 4008);
352
    xsi_vlogvar_wait_assign_value(t11, t13, 0, 0, 2, 0LL);
353
    xsi_set_current_line(44, ng0);
354
    t2 = (t0 + 1848U);
355
    t3 = *((char **)t2);
356
    t2 = (t0 + 3528);
357
    xsi_vlogvar_wait_assign_value(t2, t3, 0, 0, 6, 0LL);
358
    goto LAB22;
359
 
360
LAB24:    t60 = *((unsigned int *)t42);
361
    t61 = *((unsigned int *)t43);
362
    t62 = (t60 - t61);
363
    t63 = (t62 + 1);
364
    xsi_vlogvar_wait_assign_value(t41, t36, 0, *((unsigned int *)t43), t63, 0LL);
365
    goto LAB25;
366
 
367
LAB26:    xsi_set_current_line(45, ng0);
368
 
369
LAB29:    xsi_set_current_line(46, ng0);
370
    t4 = (t0 + 2488U);
371
    t5 = *((char **)t4);
372
    t4 = (t5 + 4);
373
    t15 = *((unsigned int *)t4);
374
    t16 = (~(t15));
375
    t17 = *((unsigned int *)t5);
376
    t18 = (t17 & t16);
377
    t19 = (t18 != 0);
378
    if (t19 > 0)
379
        goto LAB30;
380
 
381
LAB31:
382
LAB32:    xsi_set_current_line(50, ng0);
383
    t2 = (t0 + 2168U);
384
    t3 = *((char **)t2);
385
    t2 = (t0 + 3528);
386
    xsi_vlogvar_wait_assign_value(t2, t3, 0, 0, 6, 0LL);
387
    goto LAB28;
388
 
389
LAB30:    xsi_set_current_line(46, ng0);
390
 
391
LAB33:    xsi_set_current_line(47, ng0);
392
    t11 = (t0 + 2648U);
393
    t12 = *((char **)t11);
394
    t11 = (t0 + 3528);
395
    t14 = (t11 + 56U);
396
    t23 = *((char **)t14);
397
    t29 = ((char*)((ng2)));
398
    memset(t13, 0, 8);
399
    xsi_vlog_unsigned_add(t13, 32, t23, 6, t29, 32);
400
    xsi_vlogtype_concat(t64, 36, 36, 2U, t13, 32, t12, 4);
401
    t30 = (t0 + 3848);
402
    t37 = (t0 + 3848);
403
    t38 = (t37 + 72U);
404
    t39 = *((char **)t38);
405
    t40 = (t0 + 3848);
406
    t41 = (t40 + 64U);
407
    t44 = *((char **)t41);
408
    t45 = (t0 + 4008);
409
    t46 = (t45 + 56U);
410
    t47 = *((char **)t46);
411
    xsi_vlog_generic_convert_array_indices(t36, t42, t39, t44, 2, 1, t47, 2, 2);
412
    t48 = (t36 + 4);
413
    t20 = *((unsigned int *)t48);
414
    t55 = (!(t20));
415
    t49 = (t42 + 4);
416
    t21 = *((unsigned int *)t49);
417
    t58 = (!(t21));
418
    t59 = (t55 && t58);
419
    if (t59 == 1)
420
        goto LAB34;
421
 
422
LAB35:    xsi_set_current_line(48, ng0);
423
    t2 = (t0 + 4008);
424
    t3 = (t2 + 56U);
425
    t4 = *((char **)t3);
426
    t5 = ((char*)((ng2)));
427
    memset(t13, 0, 8);
428
    xsi_vlog_unsigned_add(t13, 32, t4, 2, t5, 32);
429
    t11 = (t0 + 4008);
430
    xsi_vlogvar_wait_assign_value(t11, t13, 0, 0, 2, 0LL);
431
    goto LAB32;
432
 
433
LAB34:    t22 = *((unsigned int *)t36);
434
    t24 = *((unsigned int *)t42);
435
    t62 = (t22 - t24);
436
    t63 = (t62 + 1);
437
    xsi_vlogvar_wait_assign_value(t30, t64, 0, *((unsigned int *)t42), t63, 0LL);
438
    goto LAB35;
439
 
440
LAB36:    xsi_set_current_line(51, ng0);
441
 
442
LAB39:    xsi_set_current_line(52, ng0);
443
    t4 = (t0 + 4008);
444
    t5 = (t4 + 56U);
445
    t11 = *((char **)t5);
446
    t12 = ((char*)((ng2)));
447
    memset(t13, 0, 8);
448
    xsi_vlog_unsigned_minus(t13, 32, t11, 2, t12, 32);
449
    t14 = (t0 + 4008);
450
    xsi_vlogvar_wait_assign_value(t14, t13, 0, 0, 2, 0LL);
451
    xsi_set_current_line(53, ng0);
452
    t2 = (t0 + 3848);
453
    t3 = (t2 + 56U);
454
    t4 = *((char **)t3);
455
    t5 = (t0 + 3848);
456
    t11 = (t5 + 72U);
457
    t12 = *((char **)t11);
458
    t14 = (t0 + 3848);
459
    t23 = (t14 + 64U);
460
    t29 = *((char **)t23);
461
    t30 = (t0 + 4008);
462
    t37 = (t30 + 56U);
463
    t38 = *((char **)t37);
464
    t39 = ((char*)((ng2)));
465
    memset(t36, 0, 8);
466
    xsi_vlog_unsigned_minus(t36, 32, t38, 2, t39, 32);
467
    xsi_vlog_generic_get_array_select_value(t13, 10, t4, t12, t29, 2, 1, t36, 32, 2);
468
    memset(t42, 0, 8);
469
    t40 = (t42 + 4);
470
    t41 = (t13 + 4);
471
    t6 = *((unsigned int *)t13);
472
    t7 = (t6 >> 4);
473
    *((unsigned int *)t42) = t7;
474
    t8 = *((unsigned int *)t41);
475
    t9 = (t8 >> 4);
476
    *((unsigned int *)t40) = t9;
477
    t10 = *((unsigned int *)t42);
478
    *((unsigned int *)t42) = (t10 & 63U);
479
    t15 = *((unsigned int *)t40);
480
    *((unsigned int *)t40) = (t15 & 63U);
481
    t44 = (t0 + 3528);
482
    xsi_vlogvar_wait_assign_value(t44, t42, 0, 0, 6, 0LL);
483
    goto LAB38;
484
 
485
LAB40:    *((unsigned int *)t13) = 1;
486
    goto LAB43;
487
 
488
LAB45:    t17 = *((unsigned int *)t13);
489
    t18 = *((unsigned int *)t11);
490
    *((unsigned int *)t13) = (t17 | t18);
491
    t19 = *((unsigned int *)t5);
492
    t20 = *((unsigned int *)t11);
493
    *((unsigned int *)t5) = (t19 | t20);
494
    goto LAB44;
495
 
496
LAB46:    xsi_set_current_line(54, ng0);
497
 
498
LAB49:    xsi_set_current_line(55, ng0);
499
    t14 = (t0 + 3528);
500
    t23 = (t14 + 56U);
501
    t29 = *((char **)t23);
502
    t30 = ((char*)((ng2)));
503
    memset(t36, 0, 8);
504
    xsi_vlog_unsigned_add(t36, 32, t29, 6, t30, 32);
505
    t37 = (t0 + 3528);
506
    xsi_vlogvar_wait_assign_value(t37, t36, 0, 0, 6, 0LL);
507
    xsi_set_current_line(56, ng0);
508
    t2 = (t0 + 2008U);
509
    t3 = *((char **)t2);
510
    t2 = (t0 + 3688);
511
    xsi_vlogvar_wait_assign_value(t2, t3, 0, 0, 16, 0LL);
512
    xsi_set_current_line(57, ng0);
513
    t2 = (t0 + 2008U);
514
    t3 = *((char **)t2);
515
    memset(t36, 0, 8);
516
    t2 = (t36 + 4);
517
    t4 = (t3 + 4);
518
    t6 = *((unsigned int *)t3);
519
    t7 = (t6 >> 11);
520
    *((unsigned int *)t36) = t7;
521
    t8 = *((unsigned int *)t4);
522
    t9 = (t8 >> 11);
523
    *((unsigned int *)t2) = t9;
524
    t10 = *((unsigned int *)t36);
525
    *((unsigned int *)t36) = (t10 & 31U);
526
    t15 = *((unsigned int *)t2);
527
    *((unsigned int *)t2) = (t15 & 31U);
528
    memset(t13, 0, 8);
529
    t5 = (t36 + 4);
530
    t16 = *((unsigned int *)t36);
531
    t17 = *((unsigned int *)t5);
532
    t18 = (t16 | t17);
533
    if (t18 != 31U)
534
        goto LAB51;
535
 
536
LAB50:    if (*((unsigned int *)t5) == 0)
537
        goto LAB52;
538
 
539
LAB53:    t11 = (t13 + 4);
540
    *((unsigned int *)t13) = 1;
541
    *((unsigned int *)t11) = 1;
542
 
543
LAB51:    t12 = (t0 + 4168);
544
    xsi_vlogvar_wait_assign_value(t12, t13, 0, 0, 1, 0LL);
545
    goto LAB48;
546
 
547
LAB52:    *((unsigned int *)t13) = 1;
548
    goto LAB51;
549
 
550
}
551
 
552
static void Cont_63_2(char *t0)
553
{
554
    char t3[8];
555
    char t4[8];
556
    char t19[8];
557
    char t29[8];
558
    char *t1;
559
    char *t2;
560
    char *t5;
561
    unsigned int t6;
562
    unsigned int t7;
563
    unsigned int t8;
564
    unsigned int t9;
565
    unsigned int t10;
566
    char *t11;
567
    char *t12;
568
    unsigned int t13;
569
    unsigned int t14;
570
    unsigned int t15;
571
    char *t16;
572
    char *t17;
573
    char *t18;
574
    char *t20;
575
    char *t21;
576
    char *t22;
577
    char *t23;
578
    char *t24;
579
    char *t25;
580
    char *t26;
581
    char *t27;
582
    char *t28;
583
    char *t30;
584
    char *t31;
585
    unsigned int t32;
586
    unsigned int t33;
587
    unsigned int t34;
588
    unsigned int t35;
589
    unsigned int t36;
590
    unsigned int t37;
591
    unsigned int t38;
592
    unsigned int t39;
593
    unsigned int t40;
594
    unsigned int t41;
595
    char *t42;
596
    char *t43;
597
    char *t44;
598
    char *t45;
599
    char *t46;
600
    char *t47;
601
    unsigned int t48;
602
    unsigned int t49;
603
    char *t50;
604
    unsigned int t51;
605
    unsigned int t52;
606
    char *t53;
607
    unsigned int t54;
608
    unsigned int t55;
609
    char *t56;
610
 
611
LAB0:    t1 = (t0 + 5584U);
612
    t2 = *((char **)t1);
613
    if (t2 == 0)
614
        goto LAB2;
615
 
616
LAB3:    goto *t2;
617
 
618
LAB2:    xsi_set_current_line(63, ng0);
619
    t2 = (t0 + 1688U);
620
    t5 = *((char **)t2);
621
    memset(t4, 0, 8);
622
    t2 = (t5 + 4);
623
    t6 = *((unsigned int *)t2);
624
    t7 = (~(t6));
625
    t8 = *((unsigned int *)t5);
626
    t9 = (t8 & t7);
627
    t10 = (t9 & 1U);
628
    if (t10 != 0)
629
        goto LAB4;
630
 
631
LAB5:    if (*((unsigned int *)t2) != 0)
632
        goto LAB6;
633
 
634
LAB7:    t12 = (t4 + 4);
635
    t13 = *((unsigned int *)t4);
636
    t14 = *((unsigned int *)t12);
637
    t15 = (t13 || t14);
638
    if (t15 > 0)
639
        goto LAB8;
640
 
641
LAB9:    t38 = *((unsigned int *)t4);
642
    t39 = (~(t38));
643
    t40 = *((unsigned int *)t12);
644
    t41 = (t39 || t40);
645
    if (t41 > 0)
646
        goto LAB10;
647
 
648
LAB11:    if (*((unsigned int *)t12) > 0)
649
        goto LAB12;
650
 
651
LAB13:    if (*((unsigned int *)t4) > 0)
652
        goto LAB14;
653
 
654
LAB15:    memcpy(t3, t42, 8);
655
 
656
LAB16:    t43 = (t0 + 6792);
657
    t44 = (t43 + 56U);
658
    t45 = *((char **)t44);
659
    t46 = (t45 + 56U);
660
    t47 = *((char **)t46);
661
    memset(t47, 0, 8);
662
    t48 = 15U;
663
    t49 = t48;
664
    t50 = (t3 + 4);
665
    t51 = *((unsigned int *)t3);
666
    t48 = (t48 & t51);
667
    t52 = *((unsigned int *)t50);
668
    t49 = (t49 & t52);
669
    t53 = (t47 + 4);
670
    t54 = *((unsigned int *)t47);
671
    *((unsigned int *)t47) = (t54 | t48);
672
    t55 = *((unsigned int *)t53);
673
    *((unsigned int *)t53) = (t55 | t49);
674
    xsi_driver_vfirst_trans(t43, 0, 3);
675
    t56 = (t0 + 6664);
676
    *((int *)t56) = 1;
677
 
678
LAB1:    return;
679
LAB4:    *((unsigned int *)t4) = 1;
680
    goto LAB7;
681
 
682
LAB6:    t11 = (t4 + 4);
683
    *((unsigned int *)t4) = 1;
684
    *((unsigned int *)t11) = 1;
685
    goto LAB7;
686
 
687
LAB8:    t16 = (t0 + 3848);
688
    t17 = (t16 + 56U);
689
    t18 = *((char **)t17);
690
    t20 = (t0 + 3848);
691
    t21 = (t20 + 72U);
692
    t22 = *((char **)t21);
693
    t23 = (t0 + 3848);
694
    t24 = (t23 + 64U);
695
    t25 = *((char **)t24);
696
    t26 = (t0 + 4008);
697
    t27 = (t26 + 56U);
698
    t28 = *((char **)t27);
699
    xsi_vlog_generic_get_array_select_value(t19, 10, t18, t22, t25, 2, 1, t28, 2, 2);
700
    memset(t29, 0, 8);
701
    t30 = (t29 + 4);
702
    t31 = (t19 + 4);
703
    t32 = *((unsigned int *)t19);
704
    t33 = (t32 >> 0);
705
    *((unsigned int *)t29) = t33;
706
    t34 = *((unsigned int *)t31);
707
    t35 = (t34 >> 0);
708
    *((unsigned int *)t30) = t35;
709
    t36 = *((unsigned int *)t29);
710
    *((unsigned int *)t29) = (t36 & 15U);
711
    t37 = *((unsigned int *)t30);
712
    *((unsigned int *)t30) = (t37 & 15U);
713
    goto LAB9;
714
 
715
LAB10:    t42 = ((char*)((ng3)));
716
    goto LAB11;
717
 
718
LAB12:    xsi_vlog_unsigned_bit_combine(t3, 32, t29, 32, t42, 32);
719
    goto LAB16;
720
 
721
LAB14:    memcpy(t3, t29, 8);
722
    goto LAB16;
723
 
724
}
725
 
726
static void Cont_65_3(char *t0)
727
{
728
    char *t1;
729
    char *t2;
730
    char *t3;
731
    char *t4;
732
    char *t5;
733
    char *t6;
734
    char *t7;
735
    char *t8;
736
    char *t9;
737
    unsigned int t10;
738
    unsigned int t11;
739
    char *t12;
740
    unsigned int t13;
741
    unsigned int t14;
742
    char *t15;
743
    unsigned int t16;
744
    unsigned int t17;
745
    char *t18;
746
 
747
LAB0:    t1 = (t0 + 5832U);
748
    t2 = *((char **)t1);
749
    if (t2 == 0)
750
        goto LAB2;
751
 
752
LAB3:    goto *t2;
753
 
754
LAB2:    xsi_set_current_line(65, ng0);
755
    t2 = (t0 + 3528);
756
    t3 = (t2 + 56U);
757
    t4 = *((char **)t3);
758
    t5 = (t0 + 6856);
759
    t6 = (t5 + 56U);
760
    t7 = *((char **)t6);
761
    t8 = (t7 + 56U);
762
    t9 = *((char **)t8);
763
    memset(t9, 0, 8);
764
    t10 = 63U;
765
    t11 = t10;
766
    t12 = (t4 + 4);
767
    t13 = *((unsigned int *)t4);
768
    t10 = (t10 & t13);
769
    t14 = *((unsigned int *)t12);
770
    t11 = (t11 & t14);
771
    t15 = (t9 + 4);
772
    t16 = *((unsigned int *)t9);
773
    *((unsigned int *)t9) = (t16 | t10);
774
    t17 = *((unsigned int *)t15);
775
    *((unsigned int *)t15) = (t17 | t11);
776
    xsi_driver_vfirst_trans(t5, 0, 5);
777
    t18 = (t0 + 6680);
778
    *((int *)t18) = 1;
779
 
780
LAB1:    return;
781
}
782
 
783
static void Cont_66_4(char *t0)
784
{
785
    char *t1;
786
    char *t2;
787
    char *t3;
788
    char *t4;
789
    char *t5;
790
    char *t6;
791
    char *t7;
792
    unsigned int t8;
793
    unsigned int t9;
794
    char *t10;
795
    unsigned int t11;
796
    unsigned int t12;
797
    char *t13;
798
    unsigned int t14;
799
    unsigned int t15;
800
    char *t16;
801
 
802
LAB0:    t1 = (t0 + 6080U);
803
    t2 = *((char **)t1);
804
    if (t2 == 0)
805
        goto LAB2;
806
 
807
LAB3:    goto *t2;
808
 
809
LAB2:    xsi_set_current_line(66, ng0);
810
    t2 = (t0 + 1048U);
811
    t3 = *((char **)t2);
812
    t2 = (t0 + 6920);
813
    t4 = (t2 + 56U);
814
    t5 = *((char **)t4);
815
    t6 = (t5 + 56U);
816
    t7 = *((char **)t6);
817
    memset(t7, 0, 8);
818
    t8 = 1U;
819
    t9 = t8;
820
    t10 = (t3 + 4);
821
    t11 = *((unsigned int *)t3);
822
    t8 = (t8 & t11);
823
    t12 = *((unsigned int *)t10);
824
    t9 = (t9 & t12);
825
    t13 = (t7 + 4);
826
    t14 = *((unsigned int *)t7);
827
    *((unsigned int *)t7) = (t14 | t8);
828
    t15 = *((unsigned int *)t13);
829
    *((unsigned int *)t13) = (t15 | t9);
830
    xsi_driver_vfirst_trans(t2, 0, 0);
831
    t16 = (t0 + 6696);
832
    *((int *)t16) = 1;
833
 
834
LAB1:    return;
835
}
836
 
837
static void Cont_68_5(char *t0)
838
{
839
    char *t1;
840
    char *t2;
841
    char *t3;
842
    char *t4;
843
    char *t5;
844
    char *t6;
845
    char *t7;
846
    char *t8;
847
    char *t9;
848
    unsigned int t10;
849
    unsigned int t11;
850
    char *t12;
851
    unsigned int t13;
852
    unsigned int t14;
853
    char *t15;
854
    unsigned int t16;
855
    unsigned int t17;
856
    char *t18;
857
 
858
LAB0:    t1 = (t0 + 6328U);
859
    t2 = *((char **)t1);
860
    if (t2 == 0)
861
        goto LAB2;
862
 
863
LAB3:    goto *t2;
864
 
865
LAB2:    xsi_set_current_line(68, ng0);
866
    t2 = (t0 + 3688);
867
    t3 = (t2 + 56U);
868
    t4 = *((char **)t3);
869
    t5 = (t0 + 6984);
870
    t6 = (t5 + 56U);
871
    t7 = *((char **)t6);
872
    t8 = (t7 + 56U);
873
    t9 = *((char **)t8);
874
    memset(t9, 0, 8);
875
    t10 = 65535U;
876
    t11 = t10;
877
    t12 = (t4 + 4);
878
    t13 = *((unsigned int *)t4);
879
    t10 = (t10 & t13);
880
    t14 = *((unsigned int *)t12);
881
    t11 = (t11 & t14);
882
    t15 = (t9 + 4);
883
    t16 = *((unsigned int *)t9);
884
    *((unsigned int *)t9) = (t16 | t10);
885
    t17 = *((unsigned int *)t15);
886
    *((unsigned int *)t15) = (t17 | t11);
887
    xsi_driver_vfirst_trans(t5, 0, 15);
888
    t18 = (t0 + 6712);
889
    *((int *)t18) = 1;
890
 
891
LAB1:    return;
892
}
893
 
894
 
895
extern void work_m_00000000001085280695_4205540194_init()
896
{
897
        static char *pe[] = {(void *)Initial_27_0,(void *)Always_33_1,(void *)Cont_63_2,(void *)Cont_65_3,(void *)Cont_66_4,(void *)Cont_68_5};
898
        xsi_register_didat("work_m_00000000001085280695_4205540194", "isim/tb_Test_Bed_isim_beh.exe.sim/work/m_00000000001085280695_4205540194.didat");
899
        xsi_register_executes(pe);
900
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.