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_00000000002718428781_3905339474.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/Test_Bed.v";
25
 
26
 
27
 
28
static void Cont_18_0(char *t0)
29
{
30
    char *t1;
31
    char *t2;
32
    char *t3;
33
    char *t4;
34
    char *t5;
35
    char *t6;
36
    char *t7;
37
    char *t8;
38
 
39
LAB0:    t1 = (t0 + 4128U);
40
    t2 = *((char **)t1);
41
    if (t2 == 0)
42
        goto LAB2;
43
 
44
LAB3:    goto *t2;
45
 
46
LAB2:    xsi_set_current_line(18, ng0);
47
    t2 = (t0 + 2488U);
48
    t3 = *((char **)t2);
49
    t2 = (t0 + 5056);
50
    t4 = (t2 + 56U);
51
    t5 = *((char **)t4);
52
    t6 = (t5 + 56U);
53
    t7 = *((char **)t6);
54
    memcpy(t7, t3, 8);
55
    xsi_driver_vfirst_trans(t2, 0, 31);
56
    t8 = (t0 + 4944);
57
    *((int *)t8) = 1;
58
 
59
LAB1:    return;
60
}
61
 
62
static void implSig1_execute(char *t0)
63
{
64
    char t3[8];
65
    char t5[8];
66
    char *t1;
67
    char *t2;
68
    char *t4;
69
    char *t6;
70
    unsigned int t7;
71
    unsigned int t8;
72
    unsigned int t9;
73
    unsigned int t10;
74
    unsigned int t11;
75
    unsigned int t12;
76
    char *t13;
77
    unsigned int t14;
78
    unsigned int t15;
79
    unsigned int t16;
80
    unsigned int t17;
81
    unsigned int t18;
82
    char *t19;
83
    char *t20;
84
    char *t21;
85
    unsigned int t22;
86
    unsigned int t23;
87
    unsigned int t24;
88
    unsigned int t25;
89
    unsigned int t26;
90
    unsigned int t27;
91
    unsigned int t28;
92
    unsigned int t29;
93
    char *t30;
94
    char *t31;
95
    char *t32;
96
    char *t33;
97
    char *t34;
98
    unsigned int t35;
99
    unsigned int t36;
100
    char *t37;
101
    unsigned int t38;
102
    unsigned int t39;
103
    char *t40;
104
    unsigned int t41;
105
    unsigned int t42;
106
    char *t43;
107
 
108
LAB0:    t1 = (t0 + 4376U);
109
    t2 = *((char **)t1);
110
    if (t2 == 0)
111
        goto LAB2;
112
 
113
LAB3:    goto *t2;
114
 
115
LAB2:    t2 = (t0 + 2328U);
116
    t4 = *((char **)t2);
117
    memset(t5, 0, 8);
118
    t2 = (t5 + 4);
119
    t6 = (t4 + 4);
120
    t7 = *((unsigned int *)t4);
121
    t8 = (t7 >> 3);
122
    t9 = (t8 & 1);
123
    *((unsigned int *)t5) = t9;
124
    t10 = *((unsigned int *)t6);
125
    t11 = (t10 >> 3);
126
    t12 = (t11 & 1);
127
    *((unsigned int *)t2) = t12;
128
    memset(t3, 0, 8);
129
    t13 = (t5 + 4);
130
    t14 = *((unsigned int *)t13);
131
    t15 = (~(t14));
132
    t16 = *((unsigned int *)t5);
133
    t17 = (t16 & t15);
134
    t18 = (t17 & 1U);
135
    if (t18 != 0)
136
        goto LAB7;
137
 
138
LAB5:    if (*((unsigned int *)t13) == 0)
139
        goto LAB4;
140
 
141
LAB6:    t19 = (t3 + 4);
142
    *((unsigned int *)t3) = 1;
143
    *((unsigned int *)t19) = 1;
144
 
145
LAB7:    t20 = (t3 + 4);
146
    t21 = (t5 + 4);
147
    t22 = *((unsigned int *)t5);
148
    t23 = (~(t22));
149
    *((unsigned int *)t3) = t23;
150
    *((unsigned int *)t20) = 0;
151
    if (*((unsigned int *)t21) != 0)
152
        goto LAB9;
153
 
154
LAB8:    t28 = *((unsigned int *)t3);
155
    *((unsigned int *)t3) = (t28 & 1U);
156
    t29 = *((unsigned int *)t20);
157
    *((unsigned int *)t20) = (t29 & 1U);
158
    t30 = (t0 + 5120);
159
    t31 = (t30 + 56U);
160
    t32 = *((char **)t31);
161
    t33 = (t32 + 56U);
162
    t34 = *((char **)t33);
163
    memset(t34, 0, 8);
164
    t35 = 1U;
165
    t36 = t35;
166
    t37 = (t3 + 4);
167
    t38 = *((unsigned int *)t3);
168
    t35 = (t35 & t38);
169
    t39 = *((unsigned int *)t37);
170
    t36 = (t36 & t39);
171
    t40 = (t34 + 4);
172
    t41 = *((unsigned int *)t34);
173
    *((unsigned int *)t34) = (t41 | t35);
174
    t42 = *((unsigned int *)t40);
175
    *((unsigned int *)t40) = (t42 | t36);
176
    xsi_driver_vfirst_trans(t30, 0, 0);
177
    t43 = (t0 + 4960);
178
    *((int *)t43) = 1;
179
 
180
LAB1:    return;
181
LAB4:    *((unsigned int *)t3) = 1;
182
    goto LAB7;
183
 
184
LAB9:    t24 = *((unsigned int *)t3);
185
    t25 = *((unsigned int *)t21);
186
    *((unsigned int *)t3) = (t24 | t25);
187
    t26 = *((unsigned int *)t20);
188
    t27 = *((unsigned int *)t21);
189
    *((unsigned int *)t20) = (t26 | t27);
190
    goto LAB8;
191
 
192
}
193
 
194
static void implSig2_execute(char *t0)
195
{
196
    char t3[8];
197
    char t5[8];
198
    char *t1;
199
    char *t2;
200
    char *t4;
201
    char *t6;
202
    unsigned int t7;
203
    unsigned int t8;
204
    unsigned int t9;
205
    unsigned int t10;
206
    unsigned int t11;
207
    unsigned int t12;
208
    char *t13;
209
    unsigned int t14;
210
    unsigned int t15;
211
    unsigned int t16;
212
    unsigned int t17;
213
    unsigned int t18;
214
    char *t19;
215
    char *t20;
216
    char *t21;
217
    unsigned int t22;
218
    unsigned int t23;
219
    unsigned int t24;
220
    unsigned int t25;
221
    unsigned int t26;
222
    unsigned int t27;
223
    unsigned int t28;
224
    unsigned int t29;
225
    char *t30;
226
    char *t31;
227
    char *t32;
228
    char *t33;
229
    char *t34;
230
    unsigned int t35;
231
    unsigned int t36;
232
    char *t37;
233
    unsigned int t38;
234
    unsigned int t39;
235
    char *t40;
236
    unsigned int t41;
237
    unsigned int t42;
238
    char *t43;
239
 
240
LAB0:    t1 = (t0 + 4624U);
241
    t2 = *((char **)t1);
242
    if (t2 == 0)
243
        goto LAB2;
244
 
245
LAB3:    goto *t2;
246
 
247
LAB2:    t2 = (t0 + 2328U);
248
    t4 = *((char **)t2);
249
    memset(t5, 0, 8);
250
    t2 = (t5 + 4);
251
    t6 = (t4 + 4);
252
    t7 = *((unsigned int *)t4);
253
    t8 = (t7 >> 0);
254
    t9 = (t8 & 1);
255
    *((unsigned int *)t5) = t9;
256
    t10 = *((unsigned int *)t6);
257
    t11 = (t10 >> 0);
258
    t12 = (t11 & 1);
259
    *((unsigned int *)t2) = t12;
260
    memset(t3, 0, 8);
261
    t13 = (t5 + 4);
262
    t14 = *((unsigned int *)t13);
263
    t15 = (~(t14));
264
    t16 = *((unsigned int *)t5);
265
    t17 = (t16 & t15);
266
    t18 = (t17 & 1U);
267
    if (t18 != 0)
268
        goto LAB7;
269
 
270
LAB5:    if (*((unsigned int *)t13) == 0)
271
        goto LAB4;
272
 
273
LAB6:    t19 = (t3 + 4);
274
    *((unsigned int *)t3) = 1;
275
    *((unsigned int *)t19) = 1;
276
 
277
LAB7:    t20 = (t3 + 4);
278
    t21 = (t5 + 4);
279
    t22 = *((unsigned int *)t5);
280
    t23 = (~(t22));
281
    *((unsigned int *)t3) = t23;
282
    *((unsigned int *)t20) = 0;
283
    if (*((unsigned int *)t21) != 0)
284
        goto LAB9;
285
 
286
LAB8:    t28 = *((unsigned int *)t3);
287
    *((unsigned int *)t3) = (t28 & 1U);
288
    t29 = *((unsigned int *)t20);
289
    *((unsigned int *)t20) = (t29 & 1U);
290
    t30 = (t0 + 5184);
291
    t31 = (t30 + 56U);
292
    t32 = *((char **)t31);
293
    t33 = (t32 + 56U);
294
    t34 = *((char **)t33);
295
    memset(t34, 0, 8);
296
    t35 = 1U;
297
    t36 = t35;
298
    t37 = (t3 + 4);
299
    t38 = *((unsigned int *)t3);
300
    t35 = (t35 & t38);
301
    t39 = *((unsigned int *)t37);
302
    t36 = (t36 & t39);
303
    t40 = (t34 + 4);
304
    t41 = *((unsigned int *)t34);
305
    *((unsigned int *)t34) = (t41 | t35);
306
    t42 = *((unsigned int *)t40);
307
    *((unsigned int *)t40) = (t42 | t36);
308
    xsi_driver_vfirst_trans(t30, 0, 0);
309
    t43 = (t0 + 4976);
310
    *((int *)t43) = 1;
311
 
312
LAB1:    return;
313
LAB4:    *((unsigned int *)t3) = 1;
314
    goto LAB7;
315
 
316
LAB9:    t24 = *((unsigned int *)t3);
317
    t25 = *((unsigned int *)t21);
318
    *((unsigned int *)t3) = (t24 | t25);
319
    t26 = *((unsigned int *)t20);
320
    t27 = *((unsigned int *)t21);
321
    *((unsigned int *)t20) = (t26 | t27);
322
    goto LAB8;
323
 
324
}
325
 
326
 
327
extern void work_m_00000000002718428781_3905339474_init()
328
{
329
        static char *pe[] = {(void *)Cont_18_0,(void *)implSig1_execute,(void *)implSig2_execute};
330
        xsi_register_didat("work_m_00000000002718428781_3905339474", "isim/tb_Test_Bed_isim_beh.exe.sim/work/m_00000000002718428781_3905339474.didat");
331
        xsi_register_executes(pe);
332
}

powered by: WebSVN 2.1.0

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