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

Subversion Repositories vtach

[/] [vtach/] [trunk/] [isim/] [vtach_test_isim_beh.exe.sim/] [work/] [m_00468998010657887037_1832158028.c] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 wd5gnr
/**********************************************************************/
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 0xb4d1ced7 */
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 = "/home/alw/projects/vtachspartan/debounce.v";
25
static unsigned int ng1[] = {4U, 0U};
26
static int ng2[] = {0, 0};
27
static unsigned int ng3[] = {500000U, 0U};
28
static int ng4[] = {1, 0};
29
 
30
 
31
 
32
static void Always_33_0(char *t0)
33
{
34
    char t15[8];
35
    char t19[8];
36
    char t26[8];
37
    char t34[8];
38
    char t66[8];
39
    char t82[8];
40
    char t90[8];
41
    char t119[8];
42
    char t135[8];
43
    char t143[8];
44
    char *t1;
45
    char *t2;
46
    char *t3;
47
    char *t4;
48
    char *t5;
49
    unsigned int t6;
50
    unsigned int t7;
51
    unsigned int t8;
52
    unsigned int t9;
53
    unsigned int t10;
54
    char *t11;
55
    char *t12;
56
    char *t13;
57
    char *t14;
58
    unsigned int t16;
59
    unsigned int t17;
60
    unsigned int t18;
61
    unsigned int t20;
62
    unsigned int t21;
63
    unsigned int t22;
64
    unsigned int t23;
65
    unsigned int t24;
66
    char *t25;
67
    char *t27;
68
    unsigned int t28;
69
    unsigned int t29;
70
    unsigned int t30;
71
    unsigned int t31;
72
    unsigned int t32;
73
    char *t33;
74
    unsigned int t35;
75
    unsigned int t36;
76
    unsigned int t37;
77
    char *t38;
78
    char *t39;
79
    char *t40;
80
    unsigned int t41;
81
    unsigned int t42;
82
    unsigned int t43;
83
    unsigned int t44;
84
    unsigned int t45;
85
    unsigned int t46;
86
    unsigned int t47;
87
    char *t48;
88
    char *t49;
89
    unsigned int t50;
90
    unsigned int t51;
91
    unsigned int t52;
92
    unsigned int t53;
93
    unsigned int t54;
94
    unsigned int t55;
95
    unsigned int t56;
96
    unsigned int t57;
97
    int t58;
98
    int t59;
99
    unsigned int t60;
100
    unsigned int t61;
101
    unsigned int t62;
102
    unsigned int t63;
103
    unsigned int t64;
104
    unsigned int t65;
105
    char *t67;
106
    unsigned int t68;
107
    unsigned int t69;
108
    unsigned int t70;
109
    unsigned int t71;
110
    unsigned int t72;
111
    char *t73;
112
    char *t74;
113
    unsigned int t75;
114
    unsigned int t76;
115
    unsigned int t77;
116
    unsigned int t78;
117
    char *t79;
118
    char *t80;
119
    char *t81;
120
    char *t83;
121
    unsigned int t84;
122
    unsigned int t85;
123
    unsigned int t86;
124
    unsigned int t87;
125
    unsigned int t88;
126
    char *t89;
127
    unsigned int t91;
128
    unsigned int t92;
129
    unsigned int t93;
130
    char *t94;
131
    char *t95;
132
    char *t96;
133
    unsigned int t97;
134
    unsigned int t98;
135
    unsigned int t99;
136
    unsigned int t100;
137
    unsigned int t101;
138
    unsigned int t102;
139
    unsigned int t103;
140
    char *t104;
141
    char *t105;
142
    unsigned int t106;
143
    unsigned int t107;
144
    unsigned int t108;
145
    int t109;
146
    unsigned int t110;
147
    unsigned int t111;
148
    unsigned int t112;
149
    int t113;
150
    unsigned int t114;
151
    unsigned int t115;
152
    unsigned int t116;
153
    unsigned int t117;
154
    char *t118;
155
    char *t120;
156
    char *t121;
157
    char *t122;
158
    unsigned int t123;
159
    unsigned int t124;
160
    unsigned int t125;
161
    unsigned int t126;
162
    unsigned int t127;
163
    unsigned int t128;
164
    unsigned int t129;
165
    unsigned int t130;
166
    unsigned int t131;
167
    unsigned int t132;
168
    unsigned int t133;
169
    unsigned int t134;
170
    char *t136;
171
    unsigned int t137;
172
    unsigned int t138;
173
    unsigned int t139;
174
    unsigned int t140;
175
    unsigned int t141;
176
    char *t142;
177
    unsigned int t144;
178
    unsigned int t145;
179
    unsigned int t146;
180
    char *t147;
181
    char *t148;
182
    char *t149;
183
    unsigned int t150;
184
    unsigned int t151;
185
    unsigned int t152;
186
    unsigned int t153;
187
    unsigned int t154;
188
    unsigned int t155;
189
    unsigned int t156;
190
    char *t157;
191
    char *t158;
192
    unsigned int t159;
193
    unsigned int t160;
194
    unsigned int t161;
195
    int t162;
196
    unsigned int t163;
197
    unsigned int t164;
198
    unsigned int t165;
199
    int t166;
200
    unsigned int t167;
201
    unsigned int t168;
202
    unsigned int t169;
203
    unsigned int t170;
204
    char *t171;
205
 
206
LAB0:    t1 = (t0 + 4208U);
207
    t2 = *((char **)t1);
208
    if (t2 == 0)
209
        goto LAB2;
210
 
211
LAB3:    goto *t2;
212
 
213
LAB2:    xsi_set_current_line(33, ng0);
214
    t2 = (t0 + 5272);
215
    *((int *)t2) = 1;
216
    t3 = (t0 + 4240);
217
    *((char **)t3) = t2;
218
    *((char **)t1) = &&LAB4;
219
 
220
LAB1:    return;
221
LAB4:    xsi_set_current_line(34, ng0);
222
    t4 = (t0 + 1616U);
223
    t5 = *((char **)t4);
224
    t4 = (t5 + 4);
225
    t6 = *((unsigned int *)t4);
226
    t7 = (~(t6));
227
    t8 = *((unsigned int *)t5);
228
    t9 = (t8 & t7);
229
    t10 = (t9 != 0);
230
    if (t10 > 0)
231
        goto LAB5;
232
 
233
LAB6:    xsi_set_current_line(36, ng0);
234
 
235
LAB8:    xsi_set_current_line(37, ng0);
236
    t2 = (t0 + 2656);
237
    t3 = (t2 + 56U);
238
    t4 = *((char **)t3);
239
    memset(t15, 0, 8);
240
    t5 = (t4 + 4);
241
    t6 = *((unsigned int *)t5);
242
    t7 = (~(t6));
243
    t8 = *((unsigned int *)t4);
244
    t9 = (t8 & t7);
245
    t10 = (t9 & 1U);
246
    if (t10 != 0)
247
        goto LAB9;
248
 
249
LAB10:    if (*((unsigned int *)t5) != 0)
250
        goto LAB11;
251
 
252
LAB12:    t12 = (t15 + 4);
253
    t16 = *((unsigned int *)t15);
254
    t17 = *((unsigned int *)t12);
255
    t18 = (t16 || t17);
256
    if (t18 > 0)
257
        goto LAB13;
258
 
259
LAB14:    memcpy(t34, t15, 8);
260
 
261
LAB15:    memset(t66, 0, 8);
262
    t67 = (t34 + 4);
263
    t68 = *((unsigned int *)t67);
264
    t69 = (~(t68));
265
    t70 = *((unsigned int *)t34);
266
    t71 = (t70 & t69);
267
    t72 = (t71 & 1U);
268
    if (t72 != 0)
269
        goto LAB27;
270
 
271
LAB28:    if (*((unsigned int *)t67) != 0)
272
        goto LAB29;
273
 
274
LAB30:    t74 = (t66 + 4);
275
    t75 = *((unsigned int *)t66);
276
    t76 = (!(t75));
277
    t77 = *((unsigned int *)t74);
278
    t78 = (t76 || t77);
279
    if (t78 > 0)
280
        goto LAB31;
281
 
282
LAB32:    memcpy(t90, t66, 8);
283
 
284
LAB33:    t118 = (t0 + 2656);
285
    xsi_vlogvar_wait_assign_value(t118, t90, 0, 0, 1, 0LL);
286
    xsi_set_current_line(39, ng0);
287
    t2 = (t0 + 2656);
288
    t3 = (t2 + 56U);
289
    t4 = *((char **)t3);
290
    memset(t15, 0, 8);
291
    t5 = (t4 + 4);
292
    t6 = *((unsigned int *)t5);
293
    t7 = (~(t6));
294
    t8 = *((unsigned int *)t4);
295
    t9 = (t8 & t7);
296
    t10 = (t9 & 1U);
297
    if (t10 != 0)
298
        goto LAB41;
299
 
300
LAB42:    if (*((unsigned int *)t5) != 0)
301
        goto LAB43;
302
 
303
LAB44:    t12 = (t15 + 4);
304
    t16 = *((unsigned int *)t15);
305
    t17 = *((unsigned int *)t12);
306
    t18 = (t16 || t17);
307
    if (t18 > 0)
308
        goto LAB45;
309
 
310
LAB46:    memcpy(t26, t15, 8);
311
 
312
LAB47:    memset(t34, 0, 8);
313
    t48 = (t26 + 4);
314
    t61 = *((unsigned int *)t48);
315
    t62 = (~(t61));
316
    t63 = *((unsigned int *)t26);
317
    t64 = (t63 & t62);
318
    t65 = (t64 & 1U);
319
    if (t65 != 0)
320
        goto LAB55;
321
 
322
LAB56:    if (*((unsigned int *)t48) != 0)
323
        goto LAB57;
324
 
325
LAB58:    t67 = (t34 + 4);
326
    t68 = *((unsigned int *)t34);
327
    t69 = (!(t68));
328
    t70 = *((unsigned int *)t67);
329
    t71 = (t69 || t70);
330
    if (t71 > 0)
331
        goto LAB59;
332
 
333
LAB60:    memcpy(t143, t34, 8);
334
 
335
LAB61:    t171 = (t0 + 2816);
336
    xsi_vlogvar_wait_assign_value(t171, t143, 0, 0, 1, 0LL);
337
    xsi_set_current_line(41, ng0);
338
    t2 = (t0 + 2816);
339
    t3 = (t2 + 56U);
340
    t4 = *((char **)t3);
341
    memset(t15, 0, 8);
342
    t5 = (t4 + 4);
343
    t6 = *((unsigned int *)t5);
344
    t7 = (~(t6));
345
    t8 = *((unsigned int *)t4);
346
    t9 = (t8 & t7);
347
    t10 = (t9 & 1U);
348
    if (t10 != 0)
349
        goto LAB87;
350
 
351
LAB88:    if (*((unsigned int *)t5) != 0)
352
        goto LAB89;
353
 
354
LAB90:    t12 = (t15 + 4);
355
    t16 = *((unsigned int *)t15);
356
    t17 = *((unsigned int *)t12);
357
    t18 = (t16 || t17);
358
    if (t18 > 0)
359
        goto LAB91;
360
 
361
LAB92:    memcpy(t26, t15, 8);
362
 
363
LAB93:    t48 = (t0 + 2976);
364
    xsi_vlogvar_wait_assign_value(t48, t26, 0, 0, 1, 0LL);
365
 
366
LAB7:    goto LAB2;
367
 
368
LAB5:    xsi_set_current_line(35, ng0);
369
    t11 = ((char*)((ng1)));
370
    t12 = (t0 + 2976);
371
    xsi_vlogvar_wait_assign_value(t12, t11, 0, 0, 1, 0LL);
372
    t13 = (t0 + 2816);
373
    xsi_vlogvar_wait_assign_value(t13, t11, 1, 0, 1, 0LL);
374
    t14 = (t0 + 2656);
375
    xsi_vlogvar_wait_assign_value(t14, t11, 2, 0, 1, 0LL);
376
    goto LAB7;
377
 
378
LAB9:    *((unsigned int *)t15) = 1;
379
    goto LAB12;
380
 
381
LAB11:    t11 = (t15 + 4);
382
    *((unsigned int *)t15) = 1;
383
    *((unsigned int *)t11) = 1;
384
    goto LAB12;
385
 
386
LAB13:    t13 = (t0 + 1936U);
387
    t14 = *((char **)t13);
388
    memset(t19, 0, 8);
389
    t13 = (t14 + 4);
390
    t20 = *((unsigned int *)t13);
391
    t21 = (~(t20));
392
    t22 = *((unsigned int *)t14);
393
    t23 = (t22 & t21);
394
    t24 = (t23 & 1U);
395
    if (t24 != 0)
396
        goto LAB19;
397
 
398
LAB17:    if (*((unsigned int *)t13) == 0)
399
        goto LAB16;
400
 
401
LAB18:    t25 = (t19 + 4);
402
    *((unsigned int *)t19) = 1;
403
    *((unsigned int *)t25) = 1;
404
 
405
LAB19:    memset(t26, 0, 8);
406
    t27 = (t19 + 4);
407
    t28 = *((unsigned int *)t27);
408
    t29 = (~(t28));
409
    t30 = *((unsigned int *)t19);
410
    t31 = (t30 & t29);
411
    t32 = (t31 & 1U);
412
    if (t32 != 0)
413
        goto LAB20;
414
 
415
LAB21:    if (*((unsigned int *)t27) != 0)
416
        goto LAB22;
417
 
418
LAB23:    t35 = *((unsigned int *)t15);
419
    t36 = *((unsigned int *)t26);
420
    t37 = (t35 & t36);
421
    *((unsigned int *)t34) = t37;
422
    t38 = (t15 + 4);
423
    t39 = (t26 + 4);
424
    t40 = (t34 + 4);
425
    t41 = *((unsigned int *)t38);
426
    t42 = *((unsigned int *)t39);
427
    t43 = (t41 | t42);
428
    *((unsigned int *)t40) = t43;
429
    t44 = *((unsigned int *)t40);
430
    t45 = (t44 != 0);
431
    if (t45 == 1)
432
        goto LAB24;
433
 
434
LAB25:
435
LAB26:    goto LAB15;
436
 
437
LAB16:    *((unsigned int *)t19) = 1;
438
    goto LAB19;
439
 
440
LAB20:    *((unsigned int *)t26) = 1;
441
    goto LAB23;
442
 
443
LAB22:    t33 = (t26 + 4);
444
    *((unsigned int *)t26) = 1;
445
    *((unsigned int *)t33) = 1;
446
    goto LAB23;
447
 
448
LAB24:    t46 = *((unsigned int *)t34);
449
    t47 = *((unsigned int *)t40);
450
    *((unsigned int *)t34) = (t46 | t47);
451
    t48 = (t15 + 4);
452
    t49 = (t26 + 4);
453
    t50 = *((unsigned int *)t15);
454
    t51 = (~(t50));
455
    t52 = *((unsigned int *)t48);
456
    t53 = (~(t52));
457
    t54 = *((unsigned int *)t26);
458
    t55 = (~(t54));
459
    t56 = *((unsigned int *)t49);
460
    t57 = (~(t56));
461
    t58 = (t51 & t53);
462
    t59 = (t55 & t57);
463
    t60 = (~(t58));
464
    t61 = (~(t59));
465
    t62 = *((unsigned int *)t40);
466
    *((unsigned int *)t40) = (t62 & t60);
467
    t63 = *((unsigned int *)t40);
468
    *((unsigned int *)t40) = (t63 & t61);
469
    t64 = *((unsigned int *)t34);
470
    *((unsigned int *)t34) = (t64 & t60);
471
    t65 = *((unsigned int *)t34);
472
    *((unsigned int *)t34) = (t65 & t61);
473
    goto LAB26;
474
 
475
LAB27:    *((unsigned int *)t66) = 1;
476
    goto LAB30;
477
 
478
LAB29:    t73 = (t66 + 4);
479
    *((unsigned int *)t66) = 1;
480
    *((unsigned int *)t73) = 1;
481
    goto LAB30;
482
 
483
LAB31:    t79 = (t0 + 2976);
484
    t80 = (t79 + 56U);
485
    t81 = *((char **)t80);
486
    memset(t82, 0, 8);
487
    t83 = (t81 + 4);
488
    t84 = *((unsigned int *)t83);
489
    t85 = (~(t84));
490
    t86 = *((unsigned int *)t81);
491
    t87 = (t86 & t85);
492
    t88 = (t87 & 1U);
493
    if (t88 != 0)
494
        goto LAB34;
495
 
496
LAB35:    if (*((unsigned int *)t83) != 0)
497
        goto LAB36;
498
 
499
LAB37:    t91 = *((unsigned int *)t66);
500
    t92 = *((unsigned int *)t82);
501
    t93 = (t91 | t92);
502
    *((unsigned int *)t90) = t93;
503
    t94 = (t66 + 4);
504
    t95 = (t82 + 4);
505
    t96 = (t90 + 4);
506
    t97 = *((unsigned int *)t94);
507
    t98 = *((unsigned int *)t95);
508
    t99 = (t97 | t98);
509
    *((unsigned int *)t96) = t99;
510
    t100 = *((unsigned int *)t96);
511
    t101 = (t100 != 0);
512
    if (t101 == 1)
513
        goto LAB38;
514
 
515
LAB39:
516
LAB40:    goto LAB33;
517
 
518
LAB34:    *((unsigned int *)t82) = 1;
519
    goto LAB37;
520
 
521
LAB36:    t89 = (t82 + 4);
522
    *((unsigned int *)t82) = 1;
523
    *((unsigned int *)t89) = 1;
524
    goto LAB37;
525
 
526
LAB38:    t102 = *((unsigned int *)t90);
527
    t103 = *((unsigned int *)t96);
528
    *((unsigned int *)t90) = (t102 | t103);
529
    t104 = (t66 + 4);
530
    t105 = (t82 + 4);
531
    t106 = *((unsigned int *)t104);
532
    t107 = (~(t106));
533
    t108 = *((unsigned int *)t66);
534
    t109 = (t108 & t107);
535
    t110 = *((unsigned int *)t105);
536
    t111 = (~(t110));
537
    t112 = *((unsigned int *)t82);
538
    t113 = (t112 & t111);
539
    t114 = (~(t109));
540
    t115 = (~(t113));
541
    t116 = *((unsigned int *)t96);
542
    *((unsigned int *)t96) = (t116 & t114);
543
    t117 = *((unsigned int *)t96);
544
    *((unsigned int *)t96) = (t117 & t115);
545
    goto LAB40;
546
 
547
LAB41:    *((unsigned int *)t15) = 1;
548
    goto LAB44;
549
 
550
LAB43:    t11 = (t15 + 4);
551
    *((unsigned int *)t15) = 1;
552
    *((unsigned int *)t11) = 1;
553
    goto LAB44;
554
 
555
LAB45:    t13 = (t0 + 1936U);
556
    t14 = *((char **)t13);
557
    memset(t19, 0, 8);
558
    t13 = (t14 + 4);
559
    t20 = *((unsigned int *)t13);
560
    t21 = (~(t20));
561
    t22 = *((unsigned int *)t14);
562
    t23 = (t22 & t21);
563
    t24 = (t23 & 1U);
564
    if (t24 != 0)
565
        goto LAB48;
566
 
567
LAB49:    if (*((unsigned int *)t13) != 0)
568
        goto LAB50;
569
 
570
LAB51:    t28 = *((unsigned int *)t15);
571
    t29 = *((unsigned int *)t19);
572
    t30 = (t28 & t29);
573
    *((unsigned int *)t26) = t30;
574
    t27 = (t15 + 4);
575
    t33 = (t19 + 4);
576
    t38 = (t26 + 4);
577
    t31 = *((unsigned int *)t27);
578
    t32 = *((unsigned int *)t33);
579
    t35 = (t31 | t32);
580
    *((unsigned int *)t38) = t35;
581
    t36 = *((unsigned int *)t38);
582
    t37 = (t36 != 0);
583
    if (t37 == 1)
584
        goto LAB52;
585
 
586
LAB53:
587
LAB54:    goto LAB47;
588
 
589
LAB48:    *((unsigned int *)t19) = 1;
590
    goto LAB51;
591
 
592
LAB50:    t25 = (t19 + 4);
593
    *((unsigned int *)t19) = 1;
594
    *((unsigned int *)t25) = 1;
595
    goto LAB51;
596
 
597
LAB52:    t41 = *((unsigned int *)t26);
598
    t42 = *((unsigned int *)t38);
599
    *((unsigned int *)t26) = (t41 | t42);
600
    t39 = (t15 + 4);
601
    t40 = (t19 + 4);
602
    t43 = *((unsigned int *)t15);
603
    t44 = (~(t43));
604
    t45 = *((unsigned int *)t39);
605
    t46 = (~(t45));
606
    t47 = *((unsigned int *)t19);
607
    t50 = (~(t47));
608
    t51 = *((unsigned int *)t40);
609
    t52 = (~(t51));
610
    t58 = (t44 & t46);
611
    t59 = (t50 & t52);
612
    t53 = (~(t58));
613
    t54 = (~(t59));
614
    t55 = *((unsigned int *)t38);
615
    *((unsigned int *)t38) = (t55 & t53);
616
    t56 = *((unsigned int *)t38);
617
    *((unsigned int *)t38) = (t56 & t54);
618
    t57 = *((unsigned int *)t26);
619
    *((unsigned int *)t26) = (t57 & t53);
620
    t60 = *((unsigned int *)t26);
621
    *((unsigned int *)t26) = (t60 & t54);
622
    goto LAB54;
623
 
624
LAB55:    *((unsigned int *)t34) = 1;
625
    goto LAB58;
626
 
627
LAB57:    t49 = (t34 + 4);
628
    *((unsigned int *)t34) = 1;
629
    *((unsigned int *)t49) = 1;
630
    goto LAB58;
631
 
632
LAB59:    t73 = (t0 + 2816);
633
    t74 = (t73 + 56U);
634
    t79 = *((char **)t74);
635
    memset(t66, 0, 8);
636
    t80 = (t79 + 4);
637
    t72 = *((unsigned int *)t80);
638
    t75 = (~(t72));
639
    t76 = *((unsigned int *)t79);
640
    t77 = (t76 & t75);
641
    t78 = (t77 & 1U);
642
    if (t78 != 0)
643
        goto LAB62;
644
 
645
LAB63:    if (*((unsigned int *)t80) != 0)
646
        goto LAB64;
647
 
648
LAB65:    t83 = (t66 + 4);
649
    t84 = *((unsigned int *)t66);
650
    t85 = *((unsigned int *)t83);
651
    t86 = (t84 || t85);
652
    if (t86 > 0)
653
        goto LAB66;
654
 
655
LAB67:    memcpy(t119, t66, 8);
656
 
657
LAB68:    memset(t135, 0, 8);
658
    t136 = (t119 + 4);
659
    t137 = *((unsigned int *)t136);
660
    t138 = (~(t137));
661
    t139 = *((unsigned int *)t119);
662
    t140 = (t139 & t138);
663
    t141 = (t140 & 1U);
664
    if (t141 != 0)
665
        goto LAB80;
666
 
667
LAB81:    if (*((unsigned int *)t136) != 0)
668
        goto LAB82;
669
 
670
LAB83:    t144 = *((unsigned int *)t34);
671
    t145 = *((unsigned int *)t135);
672
    t146 = (t144 | t145);
673
    *((unsigned int *)t143) = t146;
674
    t147 = (t34 + 4);
675
    t148 = (t135 + 4);
676
    t149 = (t143 + 4);
677
    t150 = *((unsigned int *)t147);
678
    t151 = *((unsigned int *)t148);
679
    t152 = (t150 | t151);
680
    *((unsigned int *)t149) = t152;
681
    t153 = *((unsigned int *)t149);
682
    t154 = (t153 != 0);
683
    if (t154 == 1)
684
        goto LAB84;
685
 
686
LAB85:
687
LAB86:    goto LAB61;
688
 
689
LAB62:    *((unsigned int *)t66) = 1;
690
    goto LAB65;
691
 
692
LAB64:    t81 = (t66 + 4);
693
    *((unsigned int *)t66) = 1;
694
    *((unsigned int *)t81) = 1;
695
    goto LAB65;
696
 
697
LAB66:    t89 = (t0 + 2096U);
698
    t94 = *((char **)t89);
699
    memset(t82, 0, 8);
700
    t89 = (t94 + 4);
701
    t87 = *((unsigned int *)t89);
702
    t88 = (~(t87));
703
    t91 = *((unsigned int *)t94);
704
    t92 = (t91 & t88);
705
    t93 = (t92 & 1U);
706
    if (t93 != 0)
707
        goto LAB72;
708
 
709
LAB70:    if (*((unsigned int *)t89) == 0)
710
        goto LAB69;
711
 
712
LAB71:    t95 = (t82 + 4);
713
    *((unsigned int *)t82) = 1;
714
    *((unsigned int *)t95) = 1;
715
 
716
LAB72:    memset(t90, 0, 8);
717
    t96 = (t82 + 4);
718
    t97 = *((unsigned int *)t96);
719
    t98 = (~(t97));
720
    t99 = *((unsigned int *)t82);
721
    t100 = (t99 & t98);
722
    t101 = (t100 & 1U);
723
    if (t101 != 0)
724
        goto LAB73;
725
 
726
LAB74:    if (*((unsigned int *)t96) != 0)
727
        goto LAB75;
728
 
729
LAB76:    t102 = *((unsigned int *)t66);
730
    t103 = *((unsigned int *)t90);
731
    t106 = (t102 & t103);
732
    *((unsigned int *)t119) = t106;
733
    t105 = (t66 + 4);
734
    t118 = (t90 + 4);
735
    t120 = (t119 + 4);
736
    t107 = *((unsigned int *)t105);
737
    t108 = *((unsigned int *)t118);
738
    t110 = (t107 | t108);
739
    *((unsigned int *)t120) = t110;
740
    t111 = *((unsigned int *)t120);
741
    t112 = (t111 != 0);
742
    if (t112 == 1)
743
        goto LAB77;
744
 
745
LAB78:
746
LAB79:    goto LAB68;
747
 
748
LAB69:    *((unsigned int *)t82) = 1;
749
    goto LAB72;
750
 
751
LAB73:    *((unsigned int *)t90) = 1;
752
    goto LAB76;
753
 
754
LAB75:    t104 = (t90 + 4);
755
    *((unsigned int *)t90) = 1;
756
    *((unsigned int *)t104) = 1;
757
    goto LAB76;
758
 
759
LAB77:    t114 = *((unsigned int *)t119);
760
    t115 = *((unsigned int *)t120);
761
    *((unsigned int *)t119) = (t114 | t115);
762
    t121 = (t66 + 4);
763
    t122 = (t90 + 4);
764
    t116 = *((unsigned int *)t66);
765
    t117 = (~(t116));
766
    t123 = *((unsigned int *)t121);
767
    t124 = (~(t123));
768
    t125 = *((unsigned int *)t90);
769
    t126 = (~(t125));
770
    t127 = *((unsigned int *)t122);
771
    t128 = (~(t127));
772
    t109 = (t117 & t124);
773
    t113 = (t126 & t128);
774
    t129 = (~(t109));
775
    t130 = (~(t113));
776
    t131 = *((unsigned int *)t120);
777
    *((unsigned int *)t120) = (t131 & t129);
778
    t132 = *((unsigned int *)t120);
779
    *((unsigned int *)t120) = (t132 & t130);
780
    t133 = *((unsigned int *)t119);
781
    *((unsigned int *)t119) = (t133 & t129);
782
    t134 = *((unsigned int *)t119);
783
    *((unsigned int *)t119) = (t134 & t130);
784
    goto LAB79;
785
 
786
LAB80:    *((unsigned int *)t135) = 1;
787
    goto LAB83;
788
 
789
LAB82:    t142 = (t135 + 4);
790
    *((unsigned int *)t135) = 1;
791
    *((unsigned int *)t142) = 1;
792
    goto LAB83;
793
 
794
LAB84:    t155 = *((unsigned int *)t143);
795
    t156 = *((unsigned int *)t149);
796
    *((unsigned int *)t143) = (t155 | t156);
797
    t157 = (t34 + 4);
798
    t158 = (t135 + 4);
799
    t159 = *((unsigned int *)t157);
800
    t160 = (~(t159));
801
    t161 = *((unsigned int *)t34);
802
    t162 = (t161 & t160);
803
    t163 = *((unsigned int *)t158);
804
    t164 = (~(t163));
805
    t165 = *((unsigned int *)t135);
806
    t166 = (t165 & t164);
807
    t167 = (~(t162));
808
    t168 = (~(t166));
809
    t169 = *((unsigned int *)t149);
810
    *((unsigned int *)t149) = (t169 & t167);
811
    t170 = *((unsigned int *)t149);
812
    *((unsigned int *)t149) = (t170 & t168);
813
    goto LAB86;
814
 
815
LAB87:    *((unsigned int *)t15) = 1;
816
    goto LAB90;
817
 
818
LAB89:    t11 = (t15 + 4);
819
    *((unsigned int *)t15) = 1;
820
    *((unsigned int *)t11) = 1;
821
    goto LAB90;
822
 
823
LAB91:    t13 = (t0 + 2096U);
824
    t14 = *((char **)t13);
825
    memset(t19, 0, 8);
826
    t13 = (t14 + 4);
827
    t20 = *((unsigned int *)t13);
828
    t21 = (~(t20));
829
    t22 = *((unsigned int *)t14);
830
    t23 = (t22 & t21);
831
    t24 = (t23 & 1U);
832
    if (t24 != 0)
833
        goto LAB94;
834
 
835
LAB95:    if (*((unsigned int *)t13) != 0)
836
        goto LAB96;
837
 
838
LAB97:    t28 = *((unsigned int *)t15);
839
    t29 = *((unsigned int *)t19);
840
    t30 = (t28 & t29);
841
    *((unsigned int *)t26) = t30;
842
    t27 = (t15 + 4);
843
    t33 = (t19 + 4);
844
    t38 = (t26 + 4);
845
    t31 = *((unsigned int *)t27);
846
    t32 = *((unsigned int *)t33);
847
    t35 = (t31 | t32);
848
    *((unsigned int *)t38) = t35;
849
    t36 = *((unsigned int *)t38);
850
    t37 = (t36 != 0);
851
    if (t37 == 1)
852
        goto LAB98;
853
 
854
LAB99:
855
LAB100:    goto LAB93;
856
 
857
LAB94:    *((unsigned int *)t19) = 1;
858
    goto LAB97;
859
 
860
LAB96:    t25 = (t19 + 4);
861
    *((unsigned int *)t19) = 1;
862
    *((unsigned int *)t25) = 1;
863
    goto LAB97;
864
 
865
LAB98:    t41 = *((unsigned int *)t26);
866
    t42 = *((unsigned int *)t38);
867
    *((unsigned int *)t26) = (t41 | t42);
868
    t39 = (t15 + 4);
869
    t40 = (t19 + 4);
870
    t43 = *((unsigned int *)t15);
871
    t44 = (~(t43));
872
    t45 = *((unsigned int *)t39);
873
    t46 = (~(t45));
874
    t47 = *((unsigned int *)t19);
875
    t50 = (~(t47));
876
    t51 = *((unsigned int *)t40);
877
    t52 = (~(t51));
878
    t58 = (t44 & t46);
879
    t59 = (t50 & t52);
880
    t53 = (~(t58));
881
    t54 = (~(t59));
882
    t55 = *((unsigned int *)t38);
883
    *((unsigned int *)t38) = (t55 & t53);
884
    t56 = *((unsigned int *)t38);
885
    *((unsigned int *)t38) = (t56 & t54);
886
    t57 = *((unsigned int *)t26);
887
    *((unsigned int *)t26) = (t57 & t53);
888
    t60 = *((unsigned int *)t26);
889
    *((unsigned int *)t26) = (t60 & t54);
890
    goto LAB100;
891
 
892
}
893
 
894
static void Always_45_1(char *t0)
895
{
896
    char t13[8];
897
    char t14[8];
898
    char t29[8];
899
    char t30[8];
900
    char *t1;
901
    char *t2;
902
    char *t3;
903
    char *t4;
904
    char *t5;
905
    unsigned int t6;
906
    unsigned int t7;
907
    unsigned int t8;
908
    unsigned int t9;
909
    unsigned int t10;
910
    char *t11;
911
    char *t12;
912
    unsigned int t15;
913
    unsigned int t16;
914
    unsigned int t17;
915
    char *t18;
916
    char *t19;
917
    char *t20;
918
    unsigned int t21;
919
    unsigned int t22;
920
    unsigned int t23;
921
    unsigned int t24;
922
    char *t25;
923
    char *t26;
924
    char *t27;
925
    char *t28;
926
 
927
LAB0:    t1 = (t0 + 4456U);
928
    t2 = *((char **)t1);
929
    if (t2 == 0)
930
        goto LAB2;
931
 
932
LAB3:    goto *t2;
933
 
934
LAB2:    xsi_set_current_line(45, ng0);
935
    t2 = (t0 + 5288);
936
    *((int *)t2) = 1;
937
    t3 = (t0 + 4488);
938
    *((char **)t3) = t2;
939
    *((char **)t1) = &&LAB4;
940
 
941
LAB1:    return;
942
LAB4:    xsi_set_current_line(46, ng0);
943
    t4 = (t0 + 1616U);
944
    t5 = *((char **)t4);
945
    t4 = (t5 + 4);
946
    t6 = *((unsigned int *)t4);
947
    t7 = (~(t6));
948
    t8 = *((unsigned int *)t5);
949
    t9 = (t8 & t7);
950
    t10 = (t9 != 0);
951
    if (t10 > 0)
952
        goto LAB5;
953
 
954
LAB6:    xsi_set_current_line(51, ng0);
955
 
956
LAB9:    xsi_set_current_line(52, ng0);
957
    t2 = (t0 + 1776U);
958
    t3 = *((char **)t2);
959
    t2 = (t0 + 3136);
960
    xsi_vlogvar_wait_assign_value(t2, t3, 0, 0, 1, 0LL);
961
    xsi_set_current_line(53, ng0);
962
    t2 = (t0 + 2976);
963
    t3 = (t2 + 56U);
964
    t4 = *((char **)t3);
965
    memset(t14, 0, 8);
966
    t5 = (t4 + 4);
967
    t6 = *((unsigned int *)t5);
968
    t7 = (~(t6));
969
    t8 = *((unsigned int *)t4);
970
    t9 = (t8 & t7);
971
    t10 = (t9 & 1U);
972
    if (t10 != 0)
973
        goto LAB10;
974
 
975
LAB11:    if (*((unsigned int *)t5) != 0)
976
        goto LAB12;
977
 
978
LAB13:    t12 = (t14 + 4);
979
    t15 = *((unsigned int *)t14);
980
    t16 = *((unsigned int *)t12);
981
    t17 = (t15 || t16);
982
    if (t17 > 0)
983
        goto LAB14;
984
 
985
LAB15:    t21 = *((unsigned int *)t14);
986
    t22 = (~(t21));
987
    t23 = *((unsigned int *)t12);
988
    t24 = (t22 || t23);
989
    if (t24 > 0)
990
        goto LAB16;
991
 
992
LAB17:    if (*((unsigned int *)t12) > 0)
993
        goto LAB18;
994
 
995
LAB19:    if (*((unsigned int *)t14) > 0)
996
        goto LAB20;
997
 
998
LAB21:    memcpy(t13, t27, 8);
999
 
1000
LAB22:    t28 = (t0 + 2496);
1001
    xsi_vlogvar_wait_assign_value(t28, t13, 0, 0, 1, 0LL);
1002
    xsi_set_current_line(54, ng0);
1003
    t2 = (t0 + 2656);
1004
    t3 = (t2 + 56U);
1005
    t4 = *((char **)t3);
1006
    memset(t14, 0, 8);
1007
    t5 = (t4 + 4);
1008
    t6 = *((unsigned int *)t5);
1009
    t7 = (~(t6));
1010
    t8 = *((unsigned int *)t4);
1011
    t9 = (t8 & t7);
1012
    t10 = (t9 & 1U);
1013
    if (t10 != 0)
1014
        goto LAB23;
1015
 
1016
LAB24:    if (*((unsigned int *)t5) != 0)
1017
        goto LAB25;
1018
 
1019
LAB26:    t12 = (t14 + 4);
1020
    t15 = *((unsigned int *)t14);
1021
    t16 = *((unsigned int *)t12);
1022
    t17 = (t15 || t16);
1023
    if (t17 > 0)
1024
        goto LAB27;
1025
 
1026
LAB28:    t21 = *((unsigned int *)t14);
1027
    t22 = (~(t21));
1028
    t23 = *((unsigned int *)t12);
1029
    t24 = (t22 || t23);
1030
    if (t24 > 0)
1031
        goto LAB29;
1032
 
1033
LAB30:    if (*((unsigned int *)t12) > 0)
1034
        goto LAB31;
1035
 
1036
LAB32:    if (*((unsigned int *)t14) > 0)
1037
        goto LAB33;
1038
 
1039
LAB34:    memcpy(t13, t30, 8);
1040
 
1041
LAB35:    t27 = (t0 + 3296);
1042
    xsi_vlogvar_wait_assign_value(t27, t13, 0, 0, 19, 0LL);
1043
 
1044
LAB7:    goto LAB2;
1045
 
1046
LAB5:    xsi_set_current_line(46, ng0);
1047
 
1048
LAB8:    xsi_set_current_line(47, ng0);
1049
    t11 = ((char*)((ng2)));
1050
    t12 = (t0 + 3136);
1051
    xsi_vlogvar_wait_assign_value(t12, t11, 0, 0, 1, 0LL);
1052
    xsi_set_current_line(48, ng0);
1053
    t2 = (t0 + 472);
1054
    t3 = *((char **)t2);
1055
    t2 = (t0 + 2496);
1056
    xsi_vlogvar_wait_assign_value(t2, t3, 0, 0, 1, 0LL);
1057
    xsi_set_current_line(49, ng0);
1058
    t2 = ((char*)((ng3)));
1059
    t3 = (t0 + 3296);
1060
    xsi_vlogvar_wait_assign_value(t3, t2, 0, 0, 19, 0LL);
1061
    goto LAB7;
1062
 
1063
LAB10:    *((unsigned int *)t14) = 1;
1064
    goto LAB13;
1065
 
1066
LAB12:    t11 = (t14 + 4);
1067
    *((unsigned int *)t14) = 1;
1068
    *((unsigned int *)t11) = 1;
1069
    goto LAB13;
1070
 
1071
LAB14:    t18 = (t0 + 3136);
1072
    t19 = (t18 + 56U);
1073
    t20 = *((char **)t19);
1074
    goto LAB15;
1075
 
1076
LAB16:    t25 = (t0 + 2496);
1077
    t26 = (t25 + 56U);
1078
    t27 = *((char **)t26);
1079
    goto LAB17;
1080
 
1081
LAB18:    xsi_vlog_unsigned_bit_combine(t13, 1, t20, 1, t27, 1);
1082
    goto LAB22;
1083
 
1084
LAB20:    memcpy(t13, t20, 8);
1085
    goto LAB22;
1086
 
1087
LAB23:    *((unsigned int *)t14) = 1;
1088
    goto LAB26;
1089
 
1090
LAB25:    t11 = (t14 + 4);
1091
    *((unsigned int *)t14) = 1;
1092
    *((unsigned int *)t11) = 1;
1093
    goto LAB26;
1094
 
1095
LAB27:    t18 = ((char*)((ng3)));
1096
    memcpy(t29, t18, 8);
1097
    goto LAB28;
1098
 
1099
LAB29:    t19 = (t0 + 3296);
1100
    t20 = (t19 + 56U);
1101
    t25 = *((char **)t20);
1102
    t26 = ((char*)((ng4)));
1103
    memset(t30, 0, 8);
1104
    xsi_vlog_unsigned_minus(t30, 32, t25, 19, t26, 32);
1105
    goto LAB30;
1106
 
1107
LAB31:    xsi_vlog_unsigned_bit_combine(t13, 32, t29, 32, t30, 32);
1108
    goto LAB35;
1109
 
1110
LAB33:    memcpy(t13, t29, 8);
1111
    goto LAB35;
1112
 
1113
}
1114
 
1115
static void Cont_57_2(char *t0)
1116
{
1117
    char t8[8];
1118
    char *t1;
1119
    char *t2;
1120
    char *t3;
1121
    char *t4;
1122
    char *t5;
1123
    char *t6;
1124
    char *t7;
1125
    unsigned int t9;
1126
    unsigned int t10;
1127
    unsigned int t11;
1128
    char *t12;
1129
    char *t13;
1130
    char *t14;
1131
    unsigned int t15;
1132
    unsigned int t16;
1133
    unsigned int t17;
1134
    unsigned int t18;
1135
    unsigned int t19;
1136
    unsigned int t20;
1137
    unsigned int t21;
1138
    char *t22;
1139
    char *t23;
1140
    char *t24;
1141
    char *t25;
1142
    char *t26;
1143
    unsigned int t27;
1144
    unsigned int t28;
1145
    char *t29;
1146
    unsigned int t30;
1147
    unsigned int t31;
1148
    char *t32;
1149
    unsigned int t33;
1150
    unsigned int t34;
1151
    char *t35;
1152
 
1153
LAB0:    t1 = (t0 + 4704U);
1154
    t2 = *((char **)t1);
1155
    if (t2 == 0)
1156
        goto LAB2;
1157
 
1158
LAB3:    goto *t2;
1159
 
1160
LAB2:    xsi_set_current_line(57, ng0);
1161
    t2 = (t0 + 3136);
1162
    t3 = (t2 + 56U);
1163
    t4 = *((char **)t3);
1164
    t5 = (t0 + 2496);
1165
    t6 = (t5 + 56U);
1166
    t7 = *((char **)t6);
1167
    t9 = *((unsigned int *)t4);
1168
    t10 = *((unsigned int *)t7);
1169
    t11 = (t9 ^ t10);
1170
    *((unsigned int *)t8) = t11;
1171
    t12 = (t4 + 4);
1172
    t13 = (t7 + 4);
1173
    t14 = (t8 + 4);
1174
    t15 = *((unsigned int *)t12);
1175
    t16 = *((unsigned int *)t13);
1176
    t17 = (t15 | t16);
1177
    *((unsigned int *)t14) = t17;
1178
    t18 = *((unsigned int *)t14);
1179
    t19 = (t18 != 0);
1180
    if (t19 == 1)
1181
        goto LAB4;
1182
 
1183
LAB5:
1184
LAB6:    t22 = (t0 + 5400);
1185
    t23 = (t22 + 56U);
1186
    t24 = *((char **)t23);
1187
    t25 = (t24 + 56U);
1188
    t26 = *((char **)t25);
1189
    memset(t26, 0, 8);
1190
    t27 = 1U;
1191
    t28 = t27;
1192
    t29 = (t8 + 4);
1193
    t30 = *((unsigned int *)t8);
1194
    t27 = (t27 & t30);
1195
    t31 = *((unsigned int *)t29);
1196
    t28 = (t28 & t31);
1197
    t32 = (t26 + 4);
1198
    t33 = *((unsigned int *)t26);
1199
    *((unsigned int *)t26) = (t33 | t27);
1200
    t34 = *((unsigned int *)t32);
1201
    *((unsigned int *)t32) = (t34 | t28);
1202
    xsi_driver_vfirst_trans(t22, 0, 0);
1203
    t35 = (t0 + 5304);
1204
    *((int *)t35) = 1;
1205
 
1206
LAB1:    return;
1207
LAB4:    t20 = *((unsigned int *)t8);
1208
    t21 = *((unsigned int *)t14);
1209
    *((unsigned int *)t8) = (t20 | t21);
1210
    goto LAB6;
1211
 
1212
}
1213
 
1214
static void Cont_58_3(char *t0)
1215
{
1216
    char t6[8];
1217
    char *t1;
1218
    char *t2;
1219
    char *t3;
1220
    char *t4;
1221
    char *t5;
1222
    char *t7;
1223
    char *t8;
1224
    unsigned int t9;
1225
    unsigned int t10;
1226
    unsigned int t11;
1227
    unsigned int t12;
1228
    unsigned int t13;
1229
    unsigned int t14;
1230
    unsigned int t15;
1231
    unsigned int t16;
1232
    unsigned int t17;
1233
    unsigned int t18;
1234
    unsigned int t19;
1235
    unsigned int t20;
1236
    char *t21;
1237
    char *t22;
1238
    char *t23;
1239
    char *t24;
1240
    char *t25;
1241
    char *t26;
1242
    unsigned int t27;
1243
    unsigned int t28;
1244
    char *t29;
1245
    unsigned int t30;
1246
    unsigned int t31;
1247
    char *t32;
1248
    unsigned int t33;
1249
    unsigned int t34;
1250
    char *t35;
1251
 
1252
LAB0:    t1 = (t0 + 4952U);
1253
    t2 = *((char **)t1);
1254
    if (t2 == 0)
1255
        goto LAB2;
1256
 
1257
LAB3:    goto *t2;
1258
 
1259
LAB2:    xsi_set_current_line(58, ng0);
1260
    t2 = (t0 + 3296);
1261
    t3 = (t2 + 56U);
1262
    t4 = *((char **)t3);
1263
    t5 = ((char*)((ng2)));
1264
    memset(t6, 0, 8);
1265
    t7 = (t4 + 4);
1266
    t8 = (t5 + 4);
1267
    t9 = *((unsigned int *)t4);
1268
    t10 = *((unsigned int *)t5);
1269
    t11 = (t9 ^ t10);
1270
    t12 = *((unsigned int *)t7);
1271
    t13 = *((unsigned int *)t8);
1272
    t14 = (t12 ^ t13);
1273
    t15 = (t11 | t14);
1274
    t16 = *((unsigned int *)t7);
1275
    t17 = *((unsigned int *)t8);
1276
    t18 = (t16 | t17);
1277
    t19 = (~(t18));
1278
    t20 = (t15 & t19);
1279
    if (t20 != 0)
1280
        goto LAB7;
1281
 
1282
LAB4:    if (t18 != 0)
1283
        goto LAB6;
1284
 
1285
LAB5:    *((unsigned int *)t6) = 1;
1286
 
1287
LAB7:    t22 = (t0 + 5464);
1288
    t23 = (t22 + 56U);
1289
    t24 = *((char **)t23);
1290
    t25 = (t24 + 56U);
1291
    t26 = *((char **)t25);
1292
    memset(t26, 0, 8);
1293
    t27 = 1U;
1294
    t28 = t27;
1295
    t29 = (t6 + 4);
1296
    t30 = *((unsigned int *)t6);
1297
    t27 = (t27 & t30);
1298
    t31 = *((unsigned int *)t29);
1299
    t28 = (t28 & t31);
1300
    t32 = (t26 + 4);
1301
    t33 = *((unsigned int *)t26);
1302
    *((unsigned int *)t26) = (t33 | t27);
1303
    t34 = *((unsigned int *)t32);
1304
    *((unsigned int *)t32) = (t34 | t28);
1305
    xsi_driver_vfirst_trans(t22, 0, 0);
1306
    t35 = (t0 + 5320);
1307
    *((int *)t35) = 1;
1308
 
1309
LAB1:    return;
1310
LAB6:    t21 = (t6 + 4);
1311
    *((unsigned int *)t6) = 1;
1312
    *((unsigned int *)t21) = 1;
1313
    goto LAB7;
1314
 
1315
}
1316
 
1317
 
1318
extern void work_m_00468998010657887037_1832158028_init()
1319
{
1320
        static char *pe[] = {(void *)Always_33_0,(void *)Always_45_1,(void *)Cont_57_2,(void *)Cont_58_3};
1321
        xsi_register_didat("work_m_00468998010657887037_1832158028", "isim/vtach_test_isim_beh.exe.sim/work/m_00468998010657887037_1832158028.didat");
1322
        xsi_register_executes(pe);
1323
}

powered by: WebSVN 2.1.0

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