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_00000000000693606588_0539455741.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/ioPort.v";
25
static unsigned int ng1[] = {0U, 4294967295U};
26
 
27
 
28
 
29
static void Always_12_0(char *t0)
30
{
31
    char t7[8];
32
    char *t1;
33
    char *t2;
34
    char *t3;
35
    char *t4;
36
    char *t5;
37
    char *t6;
38
    unsigned int t8;
39
    unsigned int t9;
40
    unsigned int t10;
41
    char *t11;
42
    char *t12;
43
    unsigned int t13;
44
    unsigned int t14;
45
    unsigned int t15;
46
    unsigned int t16;
47
    unsigned int t17;
48
    unsigned int t18;
49
    unsigned int t19;
50
    char *t20;
51
    char *t21;
52
    unsigned int t22;
53
    unsigned int t23;
54
    unsigned int t24;
55
    unsigned int t25;
56
    unsigned int t26;
57
    unsigned int t27;
58
    unsigned int t28;
59
    unsigned int t29;
60
    int t30;
61
    int 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
    char *t38;
69
    unsigned int t39;
70
    unsigned int t40;
71
    unsigned int t41;
72
    unsigned int t42;
73
    unsigned int t43;
74
    char *t44;
75
    char *t45;
76
 
77
LAB0:    t1 = (t0 + 3168U);
78
    t2 = *((char **)t1);
79
    if (t2 == 0)
80
        goto LAB2;
81
 
82
LAB3:    goto *t2;
83
 
84
LAB2:    xsi_set_current_line(12, ng0);
85
    t2 = (t0 + 3984);
86
    *((int *)t2) = 1;
87
    t3 = (t0 + 3200);
88
    *((char **)t3) = t2;
89
    *((char **)t1) = &&LAB4;
90
 
91
LAB1:    return;
92
LAB4:    xsi_set_current_line(12, ng0);
93
 
94
LAB5:    xsi_set_current_line(13, ng0);
95
    t4 = (t0 + 1048U);
96
    t5 = *((char **)t4);
97
    t4 = (t0 + 1368U);
98
    t6 = *((char **)t4);
99
    t8 = *((unsigned int *)t5);
100
    t9 = *((unsigned int *)t6);
101
    t10 = (t8 & t9);
102
    *((unsigned int *)t7) = t10;
103
    t4 = (t5 + 4);
104
    t11 = (t6 + 4);
105
    t12 = (t7 + 4);
106
    t13 = *((unsigned int *)t4);
107
    t14 = *((unsigned int *)t11);
108
    t15 = (t13 | t14);
109
    *((unsigned int *)t12) = t15;
110
    t16 = *((unsigned int *)t12);
111
    t17 = (t16 != 0);
112
    if (t17 == 1)
113
        goto LAB6;
114
 
115
LAB7:
116
LAB8:    t38 = (t7 + 4);
117
    t39 = *((unsigned int *)t38);
118
    t40 = (~(t39));
119
    t41 = *((unsigned int *)t7);
120
    t42 = (t41 & t40);
121
    t43 = (t42 != 0);
122
    if (t43 > 0)
123
        goto LAB9;
124
 
125
LAB10:
126
LAB11:    goto LAB2;
127
 
128
LAB6:    t18 = *((unsigned int *)t7);
129
    t19 = *((unsigned int *)t12);
130
    *((unsigned int *)t7) = (t18 | t19);
131
    t20 = (t5 + 4);
132
    t21 = (t6 + 4);
133
    t22 = *((unsigned int *)t5);
134
    t23 = (~(t22));
135
    t24 = *((unsigned int *)t20);
136
    t25 = (~(t24));
137
    t26 = *((unsigned int *)t6);
138
    t27 = (~(t26));
139
    t28 = *((unsigned int *)t21);
140
    t29 = (~(t28));
141
    t30 = (t23 & t25);
142
    t31 = (t27 & t29);
143
    t32 = (~(t30));
144
    t33 = (~(t31));
145
    t34 = *((unsigned int *)t12);
146
    *((unsigned int *)t12) = (t34 & t32);
147
    t35 = *((unsigned int *)t12);
148
    *((unsigned int *)t12) = (t35 & t33);
149
    t36 = *((unsigned int *)t7);
150
    *((unsigned int *)t7) = (t36 & t32);
151
    t37 = *((unsigned int *)t7);
152
    *((unsigned int *)t7) = (t37 & t33);
153
    goto LAB8;
154
 
155
LAB9:    xsi_set_current_line(13, ng0);
156
    t44 = (t0 + 1688U);
157
    t45 = *((char **)t44);
158
    t44 = (t0 + 2248);
159
    xsi_vlogvar_wait_assign_value(t44, t45, 0, 0, 4, 0LL);
160
    goto LAB11;
161
 
162
}
163
 
164
static void Cont_17_1(char *t0)
165
{
166
    char t3[8];
167
    char t4[8];
168
    char t18[8];
169
    char *t1;
170
    char *t2;
171
    char *t5;
172
    unsigned int t6;
173
    unsigned int t7;
174
    unsigned int t8;
175
    unsigned int t9;
176
    unsigned int t10;
177
    char *t11;
178
    char *t12;
179
    unsigned int t13;
180
    unsigned int t14;
181
    unsigned int t15;
182
    char *t16;
183
    char *t17;
184
    unsigned int t19;
185
    unsigned int t20;
186
    unsigned int t21;
187
    unsigned int t22;
188
    char *t23;
189
    char *t24;
190
    char *t25;
191
    char *t26;
192
    char *t27;
193
    unsigned int t28;
194
    unsigned int t29;
195
    char *t30;
196
    unsigned int t31;
197
    unsigned int t32;
198
    char *t33;
199
    unsigned int t34;
200
    unsigned int t35;
201
    char *t36;
202
 
203
LAB0:    t1 = (t0 + 3416U);
204
    t2 = *((char **)t1);
205
    if (t2 == 0)
206
        goto LAB2;
207
 
208
LAB3:    goto *t2;
209
 
210
LAB2:    xsi_set_current_line(17, ng0);
211
    t2 = (t0 + 1208U);
212
    t5 = *((char **)t2);
213
    memset(t4, 0, 8);
214
    t2 = (t5 + 4);
215
    t6 = *((unsigned int *)t2);
216
    t7 = (~(t6));
217
    t8 = *((unsigned int *)t5);
218
    t9 = (t8 & t7);
219
    t10 = (t9 & 1U);
220
    if (t10 != 0)
221
        goto LAB4;
222
 
223
LAB5:    if (*((unsigned int *)t2) != 0)
224
        goto LAB6;
225
 
226
LAB7:    t12 = (t4 + 4);
227
    t13 = *((unsigned int *)t4);
228
    t14 = *((unsigned int *)t12);
229
    t15 = (t13 || t14);
230
    if (t15 > 0)
231
        goto LAB8;
232
 
233
LAB9:    t19 = *((unsigned int *)t4);
234
    t20 = (~(t19));
235
    t21 = *((unsigned int *)t12);
236
    t22 = (t20 || t21);
237
    if (t22 > 0)
238
        goto LAB10;
239
 
240
LAB11:    if (*((unsigned int *)t12) > 0)
241
        goto LAB12;
242
 
243
LAB13:    if (*((unsigned int *)t4) > 0)
244
        goto LAB14;
245
 
246
LAB15:    memcpy(t3, t16, 8);
247
 
248
LAB16:    t23 = (t0 + 4096);
249
    t24 = (t23 + 56U);
250
    t25 = *((char **)t24);
251
    t26 = (t25 + 56U);
252
    t27 = *((char **)t26);
253
    memset(t27, 0, 8);
254
    t28 = 15U;
255
    t29 = t28;
256
    t30 = (t3 + 4);
257
    t31 = *((unsigned int *)t3);
258
    t28 = (t28 & t31);
259
    t32 = *((unsigned int *)t30);
260
    t29 = (t29 & t32);
261
    t33 = (t27 + 4);
262
    t34 = *((unsigned int *)t27);
263
    *((unsigned int *)t27) = (t34 | t28);
264
    t35 = *((unsigned int *)t33);
265
    *((unsigned int *)t33) = (t35 | t29);
266
    xsi_driver_vfirst_trans(t23, 0, 3);
267
    t36 = (t0 + 4000);
268
    *((int *)t36) = 1;
269
 
270
LAB1:    return;
271
LAB4:    *((unsigned int *)t4) = 1;
272
    goto LAB7;
273
 
274
LAB6:    t11 = (t4 + 4);
275
    *((unsigned int *)t4) = 1;
276
    *((unsigned int *)t11) = 1;
277
    goto LAB7;
278
 
279
LAB8:    t16 = (t0 + 1848U);
280
    t17 = *((char **)t16);
281
    memcpy(t18, t17, 8);
282
    goto LAB9;
283
 
284
LAB10:    t16 = ((char*)((ng1)));
285
    goto LAB11;
286
 
287
LAB12:    xsi_vlog_unsigned_bit_combine(t3, 32, t18, 32, t16, 32);
288
    goto LAB16;
289
 
290
LAB14:    memcpy(t3, t18, 8);
291
    goto LAB16;
292
 
293
}
294
 
295
static void Cont_18_2(char *t0)
296
{
297
    char t3[8];
298
    char t4[8];
299
    char t5[8];
300
    char t37[8];
301
    char *t1;
302
    char *t2;
303
    char *t6;
304
    unsigned int t7;
305
    unsigned int t8;
306
    unsigned int t9;
307
    unsigned int t10;
308
    unsigned int t11;
309
    char *t12;
310
    char *t13;
311
    char *t14;
312
    unsigned int t15;
313
    unsigned int t16;
314
    unsigned int t17;
315
    unsigned int t18;
316
    unsigned int t19;
317
    unsigned int t20;
318
    unsigned int t21;
319
    unsigned int t22;
320
    char *t23;
321
    unsigned int t24;
322
    unsigned int t25;
323
    unsigned int t26;
324
    unsigned int t27;
325
    unsigned int t28;
326
    char *t29;
327
    char *t30;
328
    unsigned int t31;
329
    unsigned int t32;
330
    unsigned int t33;
331
    char *t34;
332
    char *t35;
333
    char *t36;
334
    unsigned int t38;
335
    unsigned int t39;
336
    unsigned int t40;
337
    unsigned int t41;
338
    char *t42;
339
    char *t43;
340
    char *t44;
341
    char *t45;
342
    char *t46;
343
    char *t47;
344
    unsigned int t48;
345
    unsigned int t49;
346
    char *t50;
347
    unsigned int t51;
348
    unsigned int t52;
349
    char *t53;
350
    unsigned int t54;
351
    unsigned int t55;
352
    char *t56;
353
 
354
LAB0:    t1 = (t0 + 3664U);
355
    t2 = *((char **)t1);
356
    if (t2 == 0)
357
        goto LAB2;
358
 
359
LAB3:    goto *t2;
360
 
361
LAB2:    xsi_set_current_line(18, ng0);
362
    t2 = (t0 + 1208U);
363
    t6 = *((char **)t2);
364
    memset(t5, 0, 8);
365
    t2 = (t6 + 4);
366
    t7 = *((unsigned int *)t2);
367
    t8 = (~(t7));
368
    t9 = *((unsigned int *)t6);
369
    t10 = (t9 & t8);
370
    t11 = (t10 & 1U);
371
    if (t11 != 0)
372
        goto LAB7;
373
 
374
LAB5:    if (*((unsigned int *)t2) == 0)
375
        goto LAB4;
376
 
377
LAB6:    t12 = (t5 + 4);
378
    *((unsigned int *)t5) = 1;
379
    *((unsigned int *)t12) = 1;
380
 
381
LAB7:    t13 = (t5 + 4);
382
    t14 = (t6 + 4);
383
    t15 = *((unsigned int *)t6);
384
    t16 = (~(t15));
385
    *((unsigned int *)t5) = t16;
386
    *((unsigned int *)t13) = 0;
387
    if (*((unsigned int *)t14) != 0)
388
        goto LAB9;
389
 
390
LAB8:    t21 = *((unsigned int *)t5);
391
    *((unsigned int *)t5) = (t21 & 1U);
392
    t22 = *((unsigned int *)t13);
393
    *((unsigned int *)t13) = (t22 & 1U);
394
    memset(t4, 0, 8);
395
    t23 = (t5 + 4);
396
    t24 = *((unsigned int *)t23);
397
    t25 = (~(t24));
398
    t26 = *((unsigned int *)t5);
399
    t27 = (t26 & t25);
400
    t28 = (t27 & 1U);
401
    if (t28 != 0)
402
        goto LAB10;
403
 
404
LAB11:    if (*((unsigned int *)t23) != 0)
405
        goto LAB12;
406
 
407
LAB13:    t30 = (t4 + 4);
408
    t31 = *((unsigned int *)t4);
409
    t32 = *((unsigned int *)t30);
410
    t33 = (t31 || t32);
411
    if (t33 > 0)
412
        goto LAB14;
413
 
414
LAB15:    t38 = *((unsigned int *)t4);
415
    t39 = (~(t38));
416
    t40 = *((unsigned int *)t30);
417
    t41 = (t39 || t40);
418
    if (t41 > 0)
419
        goto LAB16;
420
 
421
LAB17:    if (*((unsigned int *)t30) > 0)
422
        goto LAB18;
423
 
424
LAB19:    if (*((unsigned int *)t4) > 0)
425
        goto LAB20;
426
 
427
LAB21:    memcpy(t3, t42, 8);
428
 
429
LAB22:    t43 = (t0 + 4160);
430
    t44 = (t43 + 56U);
431
    t45 = *((char **)t44);
432
    t46 = (t45 + 56U);
433
    t47 = *((char **)t46);
434
    memset(t47, 0, 8);
435
    t48 = 15U;
436
    t49 = t48;
437
    t50 = (t3 + 4);
438
    t51 = *((unsigned int *)t3);
439
    t48 = (t48 & t51);
440
    t52 = *((unsigned int *)t50);
441
    t49 = (t49 & t52);
442
    t53 = (t47 + 4);
443
    t54 = *((unsigned int *)t47);
444
    *((unsigned int *)t47) = (t54 | t48);
445
    t55 = *((unsigned int *)t53);
446
    *((unsigned int *)t53) = (t55 | t49);
447
    xsi_driver_vfirst_trans(t43, 0, 3);
448
    t56 = (t0 + 4016);
449
    *((int *)t56) = 1;
450
 
451
LAB1:    return;
452
LAB4:    *((unsigned int *)t5) = 1;
453
    goto LAB7;
454
 
455
LAB9:    t17 = *((unsigned int *)t5);
456
    t18 = *((unsigned int *)t14);
457
    *((unsigned int *)t5) = (t17 | t18);
458
    t19 = *((unsigned int *)t13);
459
    t20 = *((unsigned int *)t14);
460
    *((unsigned int *)t13) = (t19 | t20);
461
    goto LAB8;
462
 
463
LAB10:    *((unsigned int *)t4) = 1;
464
    goto LAB13;
465
 
466
LAB12:    t29 = (t4 + 4);
467
    *((unsigned int *)t4) = 1;
468
    *((unsigned int *)t29) = 1;
469
    goto LAB13;
470
 
471
LAB14:    t34 = (t0 + 2248);
472
    t35 = (t34 + 56U);
473
    t36 = *((char **)t35);
474
    memcpy(t37, t36, 8);
475
    goto LAB15;
476
 
477
LAB16:    t42 = ((char*)((ng1)));
478
    goto LAB17;
479
 
480
LAB18:    xsi_vlog_unsigned_bit_combine(t3, 32, t37, 32, t42, 32);
481
    goto LAB22;
482
 
483
LAB20:    memcpy(t3, t37, 8);
484
    goto LAB22;
485
 
486
}
487
 
488
 
489
extern void work_m_00000000000693606588_0539455741_init()
490
{
491
        static char *pe[] = {(void *)Always_12_0,(void *)Cont_17_1,(void *)Cont_18_2};
492
        xsi_register_didat("work_m_00000000000693606588_0539455741", "isim/tb_Test_Bed_isim_beh.exe.sim/work/m_00000000000693606588_0539455741.didat");
493
        xsi_register_executes(pe);
494
}

powered by: WebSVN 2.1.0

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