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_00000000002541112824_0280760099.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/P_Reg.v";
25
static int ng1[] = {0, 0};
26
 
27
 
28
 
29
static void Cont_20_0(char *t0)
30
{
31
    char t4[8];
32
    char t18[8];
33
    char t25[8];
34
    char *t1;
35
    char *t2;
36
    char *t3;
37
    unsigned int t5;
38
    unsigned int t6;
39
    unsigned int t7;
40
    unsigned int t8;
41
    unsigned int t9;
42
    char *t10;
43
    char *t11;
44
    unsigned int t12;
45
    unsigned int t13;
46
    unsigned int t14;
47
    unsigned int t15;
48
    char *t16;
49
    char *t17;
50
    unsigned int t19;
51
    unsigned int t20;
52
    unsigned int t21;
53
    unsigned int t22;
54
    unsigned int t23;
55
    char *t24;
56
    unsigned int t26;
57
    unsigned int t27;
58
    unsigned int t28;
59
    char *t29;
60
    char *t30;
61
    char *t31;
62
    unsigned int t32;
63
    unsigned int t33;
64
    unsigned int t34;
65
    unsigned int t35;
66
    unsigned int t36;
67
    unsigned int t37;
68
    unsigned int t38;
69
    char *t39;
70
    char *t40;
71
    unsigned int t41;
72
    unsigned int t42;
73
    unsigned int t43;
74
    int t44;
75
    unsigned int t45;
76
    unsigned int t46;
77
    unsigned int t47;
78
    int t48;
79
    unsigned int t49;
80
    unsigned int t50;
81
    unsigned int t51;
82
    unsigned int t52;
83
    char *t53;
84
    char *t54;
85
    char *t55;
86
    char *t56;
87
    char *t57;
88
    unsigned int t58;
89
    unsigned int t59;
90
    char *t60;
91
    unsigned int t61;
92
    unsigned int t62;
93
    char *t63;
94
    unsigned int t64;
95
    unsigned int t65;
96
    char *t66;
97
 
98
LAB0:    t1 = (t0 + 3624U);
99
    t2 = *((char **)t1);
100
    if (t2 == 0)
101
        goto LAB2;
102
 
103
LAB3:    goto *t2;
104
 
105
LAB2:    xsi_set_current_line(20, ng0);
106
    t2 = (t0 + 1184U);
107
    t3 = *((char **)t2);
108
    memset(t4, 0, 8);
109
    t2 = (t3 + 4);
110
    t5 = *((unsigned int *)t2);
111
    t6 = (~(t5));
112
    t7 = *((unsigned int *)t3);
113
    t8 = (t7 & t6);
114
    t9 = (t8 & 1U);
115
    if (t9 != 0)
116
        goto LAB4;
117
 
118
LAB5:    if (*((unsigned int *)t2) != 0)
119
        goto LAB6;
120
 
121
LAB7:    t11 = (t4 + 4);
122
    t12 = *((unsigned int *)t4);
123
    t13 = (!(t12));
124
    t14 = *((unsigned int *)t11);
125
    t15 = (t13 || t14);
126
    if (t15 > 0)
127
        goto LAB8;
128
 
129
LAB9:    memcpy(t25, t4, 8);
130
 
131
LAB10:    t53 = (t0 + 4816);
132
    t54 = (t53 + 56U);
133
    t55 = *((char **)t54);
134
    t56 = (t55 + 56U);
135
    t57 = *((char **)t56);
136
    memset(t57, 0, 8);
137
    t58 = 1U;
138
    t59 = t58;
139
    t60 = (t25 + 4);
140
    t61 = *((unsigned int *)t25);
141
    t58 = (t58 & t61);
142
    t62 = *((unsigned int *)t60);
143
    t59 = (t59 & t62);
144
    t63 = (t57 + 4);
145
    t64 = *((unsigned int *)t57);
146
    *((unsigned int *)t57) = (t64 | t58);
147
    t65 = *((unsigned int *)t63);
148
    *((unsigned int *)t63) = (t65 | t59);
149
    xsi_driver_vfirst_trans(t53, 0, 0);
150
    t66 = (t0 + 4688);
151
    *((int *)t66) = 1;
152
 
153
LAB1:    return;
154
LAB4:    *((unsigned int *)t4) = 1;
155
    goto LAB7;
156
 
157
LAB6:    t10 = (t4 + 4);
158
    *((unsigned int *)t4) = 1;
159
    *((unsigned int *)t10) = 1;
160
    goto LAB7;
161
 
162
LAB8:    t16 = (t0 + 1344U);
163
    t17 = *((char **)t16);
164
    memset(t18, 0, 8);
165
    t16 = (t17 + 4);
166
    t19 = *((unsigned int *)t16);
167
    t20 = (~(t19));
168
    t21 = *((unsigned int *)t17);
169
    t22 = (t21 & t20);
170
    t23 = (t22 & 1U);
171
    if (t23 != 0)
172
        goto LAB11;
173
 
174
LAB12:    if (*((unsigned int *)t16) != 0)
175
        goto LAB13;
176
 
177
LAB14:    t26 = *((unsigned int *)t4);
178
    t27 = *((unsigned int *)t18);
179
    t28 = (t26 | t27);
180
    *((unsigned int *)t25) = t28;
181
    t29 = (t4 + 4);
182
    t30 = (t18 + 4);
183
    t31 = (t25 + 4);
184
    t32 = *((unsigned int *)t29);
185
    t33 = *((unsigned int *)t30);
186
    t34 = (t32 | t33);
187
    *((unsigned int *)t31) = t34;
188
    t35 = *((unsigned int *)t31);
189
    t36 = (t35 != 0);
190
    if (t36 == 1)
191
        goto LAB15;
192
 
193
LAB16:
194
LAB17:    goto LAB10;
195
 
196
LAB11:    *((unsigned int *)t18) = 1;
197
    goto LAB14;
198
 
199
LAB13:    t24 = (t18 + 4);
200
    *((unsigned int *)t18) = 1;
201
    *((unsigned int *)t24) = 1;
202
    goto LAB14;
203
 
204
LAB15:    t37 = *((unsigned int *)t25);
205
    t38 = *((unsigned int *)t31);
206
    *((unsigned int *)t25) = (t37 | t38);
207
    t39 = (t4 + 4);
208
    t40 = (t18 + 4);
209
    t41 = *((unsigned int *)t39);
210
    t42 = (~(t41));
211
    t43 = *((unsigned int *)t4);
212
    t44 = (t43 & t42);
213
    t45 = *((unsigned int *)t40);
214
    t46 = (~(t45));
215
    t47 = *((unsigned int *)t18);
216
    t48 = (t47 & t46);
217
    t49 = (~(t44));
218
    t50 = (~(t48));
219
    t51 = *((unsigned int *)t31);
220
    *((unsigned int *)t31) = (t51 & t49);
221
    t52 = *((unsigned int *)t31);
222
    *((unsigned int *)t31) = (t52 & t50);
223
    goto LAB17;
224
 
225
}
226
 
227
static void Cont_21_1(char *t0)
228
{
229
    char t4[8];
230
    char t16[8];
231
    char t35[8];
232
    char t43[8];
233
    char *t1;
234
    char *t2;
235
    char *t3;
236
    unsigned int t5;
237
    unsigned int t6;
238
    unsigned int t7;
239
    unsigned int t8;
240
    unsigned int t9;
241
    char *t10;
242
    char *t11;
243
    unsigned int t12;
244
    unsigned int t13;
245
    unsigned int t14;
246
    unsigned int t15;
247
    char *t17;
248
    char *t18;
249
    unsigned int t19;
250
    unsigned int t20;
251
    unsigned int t21;
252
    unsigned int t22;
253
    unsigned int t23;
254
    char *t24;
255
    char *t25;
256
    char *t26;
257
    unsigned int t27;
258
    unsigned int t28;
259
    unsigned int t29;
260
    unsigned int t30;
261
    unsigned int t31;
262
    unsigned int t32;
263
    unsigned int t33;
264
    unsigned int t34;
265
    char *t36;
266
    unsigned int t37;
267
    unsigned int t38;
268
    unsigned int t39;
269
    unsigned int t40;
270
    unsigned int t41;
271
    char *t42;
272
    unsigned int t44;
273
    unsigned int t45;
274
    unsigned int t46;
275
    char *t47;
276
    char *t48;
277
    char *t49;
278
    unsigned int t50;
279
    unsigned int t51;
280
    unsigned int t52;
281
    unsigned int t53;
282
    unsigned int t54;
283
    unsigned int t55;
284
    unsigned int t56;
285
    char *t57;
286
    char *t58;
287
    unsigned int t59;
288
    unsigned int t60;
289
    unsigned int t61;
290
    int t62;
291
    unsigned int t63;
292
    unsigned int t64;
293
    unsigned int t65;
294
    int t66;
295
    unsigned int t67;
296
    unsigned int t68;
297
    unsigned int t69;
298
    unsigned int t70;
299
    char *t71;
300
    char *t72;
301
    char *t73;
302
    char *t74;
303
    char *t75;
304
    unsigned int t76;
305
    unsigned int t77;
306
    char *t78;
307
    unsigned int t79;
308
    unsigned int t80;
309
    char *t81;
310
    unsigned int t82;
311
    unsigned int t83;
312
    char *t84;
313
 
314
LAB0:    t1 = (t0 + 3872U);
315
    t2 = *((char **)t1);
316
    if (t2 == 0)
317
        goto LAB2;
318
 
319
LAB3:    goto *t2;
320
 
321
LAB2:    xsi_set_current_line(21, ng0);
322
    t2 = (t0 + 1344U);
323
    t3 = *((char **)t2);
324
    memset(t4, 0, 8);
325
    t2 = (t3 + 4);
326
    t5 = *((unsigned int *)t2);
327
    t6 = (~(t5));
328
    t7 = *((unsigned int *)t3);
329
    t8 = (t7 & t6);
330
    t9 = (t8 & 1U);
331
    if (t9 != 0)
332
        goto LAB4;
333
 
334
LAB5:    if (*((unsigned int *)t2) != 0)
335
        goto LAB6;
336
 
337
LAB7:    t11 = (t4 + 4);
338
    t12 = *((unsigned int *)t4);
339
    t13 = (!(t12));
340
    t14 = *((unsigned int *)t11);
341
    t15 = (t13 || t14);
342
    if (t15 > 0)
343
        goto LAB8;
344
 
345
LAB9:    memcpy(t43, t4, 8);
346
 
347
LAB10:    t71 = (t0 + 4880);
348
    t72 = (t71 + 56U);
349
    t73 = *((char **)t72);
350
    t74 = (t73 + 56U);
351
    t75 = *((char **)t74);
352
    memset(t75, 0, 8);
353
    t76 = 1U;
354
    t77 = t76;
355
    t78 = (t43 + 4);
356
    t79 = *((unsigned int *)t43);
357
    t76 = (t76 & t79);
358
    t80 = *((unsigned int *)t78);
359
    t77 = (t77 & t80);
360
    t81 = (t75 + 4);
361
    t82 = *((unsigned int *)t75);
362
    *((unsigned int *)t75) = (t82 | t76);
363
    t83 = *((unsigned int *)t81);
364
    *((unsigned int *)t81) = (t83 | t77);
365
    xsi_driver_vfirst_trans(t71, 0, 0);
366
    t84 = (t0 + 4704);
367
    *((int *)t84) = 1;
368
 
369
LAB1:    return;
370
LAB4:    *((unsigned int *)t4) = 1;
371
    goto LAB7;
372
 
373
LAB6:    t10 = (t4 + 4);
374
    *((unsigned int *)t4) = 1;
375
    *((unsigned int *)t10) = 1;
376
    goto LAB7;
377
 
378
LAB8:    t17 = (t0 + 1504U);
379
    t18 = *((char **)t17);
380
    memset(t16, 0, 8);
381
    t17 = (t18 + 4);
382
    t19 = *((unsigned int *)t17);
383
    t20 = (~(t19));
384
    t21 = *((unsigned int *)t18);
385
    t22 = (t21 & t20);
386
    t23 = (t22 & 1U);
387
    if (t23 != 0)
388
        goto LAB14;
389
 
390
LAB12:    if (*((unsigned int *)t17) == 0)
391
        goto LAB11;
392
 
393
LAB13:    t24 = (t16 + 4);
394
    *((unsigned int *)t16) = 1;
395
    *((unsigned int *)t24) = 1;
396
 
397
LAB14:    t25 = (t16 + 4);
398
    t26 = (t18 + 4);
399
    t27 = *((unsigned int *)t18);
400
    t28 = (~(t27));
401
    *((unsigned int *)t16) = t28;
402
    *((unsigned int *)t25) = 0;
403
    if (*((unsigned int *)t26) != 0)
404
        goto LAB16;
405
 
406
LAB15:    t33 = *((unsigned int *)t16);
407
    *((unsigned int *)t16) = (t33 & 1U);
408
    t34 = *((unsigned int *)t25);
409
    *((unsigned int *)t25) = (t34 & 1U);
410
    memset(t35, 0, 8);
411
    t36 = (t16 + 4);
412
    t37 = *((unsigned int *)t36);
413
    t38 = (~(t37));
414
    t39 = *((unsigned int *)t16);
415
    t40 = (t39 & t38);
416
    t41 = (t40 & 1U);
417
    if (t41 != 0)
418
        goto LAB17;
419
 
420
LAB18:    if (*((unsigned int *)t36) != 0)
421
        goto LAB19;
422
 
423
LAB20:    t44 = *((unsigned int *)t4);
424
    t45 = *((unsigned int *)t35);
425
    t46 = (t44 | t45);
426
    *((unsigned int *)t43) = t46;
427
    t47 = (t4 + 4);
428
    t48 = (t35 + 4);
429
    t49 = (t43 + 4);
430
    t50 = *((unsigned int *)t47);
431
    t51 = *((unsigned int *)t48);
432
    t52 = (t50 | t51);
433
    *((unsigned int *)t49) = t52;
434
    t53 = *((unsigned int *)t49);
435
    t54 = (t53 != 0);
436
    if (t54 == 1)
437
        goto LAB21;
438
 
439
LAB22:
440
LAB23:    goto LAB10;
441
 
442
LAB11:    *((unsigned int *)t16) = 1;
443
    goto LAB14;
444
 
445
LAB16:    t29 = *((unsigned int *)t16);
446
    t30 = *((unsigned int *)t26);
447
    *((unsigned int *)t16) = (t29 | t30);
448
    t31 = *((unsigned int *)t25);
449
    t32 = *((unsigned int *)t26);
450
    *((unsigned int *)t25) = (t31 | t32);
451
    goto LAB15;
452
 
453
LAB17:    *((unsigned int *)t35) = 1;
454
    goto LAB20;
455
 
456
LAB19:    t42 = (t35 + 4);
457
    *((unsigned int *)t35) = 1;
458
    *((unsigned int *)t42) = 1;
459
    goto LAB20;
460
 
461
LAB21:    t55 = *((unsigned int *)t43);
462
    t56 = *((unsigned int *)t49);
463
    *((unsigned int *)t43) = (t55 | t56);
464
    t57 = (t4 + 4);
465
    t58 = (t35 + 4);
466
    t59 = *((unsigned int *)t57);
467
    t60 = (~(t59));
468
    t61 = *((unsigned int *)t4);
469
    t62 = (t61 & t60);
470
    t63 = *((unsigned int *)t58);
471
    t64 = (~(t63));
472
    t65 = *((unsigned int *)t35);
473
    t66 = (t65 & t64);
474
    t67 = (~(t62));
475
    t68 = (~(t66));
476
    t69 = *((unsigned int *)t49);
477
    *((unsigned int *)t49) = (t69 & t67);
478
    t70 = *((unsigned int *)t49);
479
    *((unsigned int *)t49) = (t70 & t68);
480
    goto LAB23;
481
 
482
}
483
 
484
static void Always_26_2(char *t0)
485
{
486
    char t13[8];
487
    char *t1;
488
    char *t2;
489
    char *t3;
490
    char *t4;
491
    char *t5;
492
    unsigned int t6;
493
    unsigned int t7;
494
    unsigned int t8;
495
    unsigned int t9;
496
    unsigned int t10;
497
    char *t11;
498
    char *t12;
499
    unsigned int t14;
500
    unsigned int t15;
501
    unsigned int t16;
502
    unsigned int t17;
503
    unsigned int t18;
504
    unsigned int t19;
505
    unsigned int t20;
506
    unsigned int t21;
507
    unsigned int t22;
508
    unsigned int t23;
509
    unsigned int t24;
510
    unsigned int t25;
511
    unsigned int t26;
512
    char *t27;
513
    char *t28;
514
 
515
LAB0:    t1 = (t0 + 4120U);
516
    t2 = *((char **)t1);
517
    if (t2 == 0)
518
        goto LAB2;
519
 
520
LAB3:    goto *t2;
521
 
522
LAB2:    xsi_set_current_line(26, ng0);
523
    t2 = (t0 + 4720);
524
    *((int *)t2) = 1;
525
    t3 = (t0 + 4152);
526
    *((char **)t3) = t2;
527
    *((char **)t1) = &&LAB4;
528
 
529
LAB1:    return;
530
LAB4:    xsi_set_current_line(26, ng0);
531
 
532
LAB5:    xsi_set_current_line(27, ng0);
533
    t4 = (t0 + 2144U);
534
    t5 = *((char **)t4);
535
    t4 = (t5 + 4);
536
    t6 = *((unsigned int *)t4);
537
    t7 = (~(t6));
538
    t8 = *((unsigned int *)t5);
539
    t9 = (t8 & t7);
540
    t10 = (t9 != 0);
541
    if (t10 > 0)
542
        goto LAB6;
543
 
544
LAB7:    xsi_set_current_line(29, ng0);
545
 
546
LAB10:    xsi_set_current_line(30, ng0);
547
    t2 = (t0 + 1664U);
548
    t3 = *((char **)t2);
549
    memset(t13, 0, 8);
550
    t2 = (t3 + 4);
551
    t6 = *((unsigned int *)t2);
552
    t7 = (~(t6));
553
    t8 = *((unsigned int *)t3);
554
    t9 = (t8 & t7);
555
    t10 = (t9 & 1U);
556
    if (t10 != 0)
557
        goto LAB14;
558
 
559
LAB12:    if (*((unsigned int *)t2) == 0)
560
        goto LAB11;
561
 
562
LAB13:    t4 = (t13 + 4);
563
    *((unsigned int *)t13) = 1;
564
    *((unsigned int *)t4) = 1;
565
 
566
LAB14:    t5 = (t13 + 4);
567
    t11 = (t3 + 4);
568
    t14 = *((unsigned int *)t3);
569
    t15 = (~(t14));
570
    *((unsigned int *)t13) = t15;
571
    *((unsigned int *)t5) = 0;
572
    if (*((unsigned int *)t11) != 0)
573
        goto LAB16;
574
 
575
LAB15:    t20 = *((unsigned int *)t13);
576
    *((unsigned int *)t13) = (t20 & 1U);
577
    t21 = *((unsigned int *)t5);
578
    *((unsigned int *)t5) = (t21 & 1U);
579
    t12 = (t13 + 4);
580
    t22 = *((unsigned int *)t12);
581
    t23 = (~(t22));
582
    t24 = *((unsigned int *)t13);
583
    t25 = (t24 & t23);
584
    t26 = (t25 != 0);
585
    if (t26 > 0)
586
        goto LAB17;
587
 
588
LAB18:
589
LAB19:
590
LAB8:    goto LAB2;
591
 
592
LAB6:    xsi_set_current_line(27, ng0);
593
 
594
LAB9:    xsi_set_current_line(28, ng0);
595
    t11 = ((char*)((ng1)));
596
    t12 = (t0 + 2704);
597
    xsi_vlogvar_wait_assign_value(t12, t11, 0, 0, 16, 0LL);
598
    goto LAB8;
599
 
600
LAB11:    *((unsigned int *)t13) = 1;
601
    goto LAB14;
602
 
603
LAB16:    t16 = *((unsigned int *)t13);
604
    t17 = *((unsigned int *)t11);
605
    *((unsigned int *)t13) = (t16 | t17);
606
    t18 = *((unsigned int *)t5);
607
    t19 = *((unsigned int *)t11);
608
    *((unsigned int *)t5) = (t18 | t19);
609
    goto LAB15;
610
 
611
LAB17:    xsi_set_current_line(30, ng0);
612
    t27 = (t0 + 1824U);
613
    t28 = *((char **)t27);
614
    t27 = (t0 + 2704);
615
    xsi_vlogvar_wait_assign_value(t27, t28, 0, 0, 16, 0LL);
616
    goto LAB19;
617
 
618
}
619
 
620
static void Cont_34_3(char *t0)
621
{
622
    char *t1;
623
    char *t2;
624
    char *t3;
625
    char *t4;
626
    char *t5;
627
    char *t6;
628
    char *t7;
629
    char *t8;
630
    char *t9;
631
    unsigned int t10;
632
    unsigned int t11;
633
    char *t12;
634
    unsigned int t13;
635
    unsigned int t14;
636
    char *t15;
637
    unsigned int t16;
638
    unsigned int t17;
639
    char *t18;
640
 
641
LAB0:    t1 = (t0 + 4368U);
642
    t2 = *((char **)t1);
643
    if (t2 == 0)
644
        goto LAB2;
645
 
646
LAB3:    goto *t2;
647
 
648
LAB2:    xsi_set_current_line(34, ng0);
649
    t2 = (t0 + 2704);
650
    t3 = (t2 + 56U);
651
    t4 = *((char **)t3);
652
    t5 = (t0 + 4944);
653
    t6 = (t5 + 56U);
654
    t7 = *((char **)t6);
655
    t8 = (t7 + 56U);
656
    t9 = *((char **)t8);
657
    memset(t9, 0, 8);
658
    t10 = 65535U;
659
    t11 = t10;
660
    t12 = (t4 + 4);
661
    t13 = *((unsigned int *)t4);
662
    t10 = (t10 & t13);
663
    t14 = *((unsigned int *)t12);
664
    t11 = (t11 & t14);
665
    t15 = (t9 + 4);
666
    t16 = *((unsigned int *)t9);
667
    *((unsigned int *)t9) = (t16 | t10);
668
    t17 = *((unsigned int *)t15);
669
    *((unsigned int *)t15) = (t17 | t11);
670
    xsi_driver_vfirst_trans(t5, 0, 15);
671
    t18 = (t0 + 4736);
672
    *((int *)t18) = 1;
673
 
674
LAB1:    return;
675
}
676
 
677
 
678
extern void work_m_00000000002541112824_0280760099_init()
679
{
680
        static char *pe[] = {(void *)Cont_20_0,(void *)Cont_21_1,(void *)Always_26_2,(void *)Cont_34_3};
681
        xsi_register_didat("work_m_00000000002541112824_0280760099", "isim/tb_Test_Bed_isim_beh.exe.sim/work/m_00000000002541112824_0280760099.didat");
682
        xsi_register_executes(pe);
683
}

powered by: WebSVN 2.1.0

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