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

powered by: WebSVN 2.1.0

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