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

powered by: WebSVN 2.1.0

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