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

Subversion Repositories vtach

[/] [vtach/] [trunk/] [isim/] [bcdadd_tb_isim_beh.exe.sim/] [work/] [m_10764087207863065690_2073120511.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 = "/opt/Xilinx/13.2/ISE_DS/ISE/verilog/src/glbl.v";
25
static unsigned int ng1[] = {1U, 0U};
26
static unsigned int ng2[] = {0U, 0U};
27
 
28
 
29
 
30
static void NetDecl_16_0(char *t0)
31
{
32
    char *t1;
33
    char *t2;
34
    char *t3;
35
    char *t4;
36
    char *t5;
37
    char *t6;
38
    char *t7;
39
    unsigned int t8;
40
    unsigned int t9;
41
    char *t10;
42
    unsigned int t11;
43
    unsigned int t12;
44
    char *t13;
45
    unsigned int t14;
46
    unsigned int t15;
47
    char *t16;
48
 
49
LAB0:    t1 = (t0 + 6792U);
50
    t2 = *((char **)t1);
51
    if (t2 == 0)
52
        goto LAB2;
53
 
54
LAB3:    goto *t2;
55
 
56
LAB2:    xsi_set_current_line(16, ng0);
57
    t2 = (t0 + 1960U);
58
    t3 = *((char **)t2);
59
    t2 = (t0 + 8480);
60
    t4 = (t2 + 56U);
61
    t5 = *((char **)t4);
62
    t6 = (t5 + 56U);
63
    t7 = *((char **)t6);
64
    memset(t7, 0, 8);
65
    t8 = 1U;
66
    t9 = t8;
67
    t10 = (t3 + 4);
68
    t11 = *((unsigned int *)t3);
69
    t8 = (t8 & t11);
70
    t12 = *((unsigned int *)t10);
71
    t9 = (t9 & t12);
72
    t13 = (t7 + 4);
73
    t14 = *((unsigned int *)t7);
74
    *((unsigned int *)t7) = (t14 | t8);
75
    t15 = *((unsigned int *)t13);
76
    *((unsigned int *)t13) = (t15 | t9);
77
    xsi_driver_vfirst_trans(t2, 0, 0U);
78
    t16 = (t0 + 8352);
79
    *((int *)t16) = 1;
80
 
81
LAB1:    return;
82
}
83
 
84
static void Cont_47_1(char *t0)
85
{
86
    char *t1;
87
    char *t2;
88
    char *t3;
89
    char *t4;
90
    char *t5;
91
    char *t6;
92
    char *t7;
93
    char *t8;
94
    char *t9;
95
    unsigned int t10;
96
    unsigned int t11;
97
    char *t12;
98
    unsigned int t13;
99
    unsigned int t14;
100
    char *t15;
101
    unsigned int t16;
102
    unsigned int t17;
103
    char *t18;
104
 
105
LAB0:    t1 = (t0 + 7040U);
106
    t2 = *((char **)t1);
107
    if (t2 == 0)
108
        goto LAB2;
109
 
110
LAB3:    goto *t2;
111
 
112
LAB2:    xsi_set_current_line(47, ng0);
113
    t2 = (t0 + 3480);
114
    t3 = (t2 + 56U);
115
    t4 = *((char **)t3);
116
    t5 = (t0 + 8544);
117
    t6 = (t5 + 56U);
118
    t7 = *((char **)t6);
119
    t8 = (t7 + 56U);
120
    t9 = *((char **)t8);
121
    memset(t9, 0, 8);
122
    t10 = 1U;
123
    t11 = t10;
124
    t12 = (t4 + 4);
125
    t13 = *((unsigned int *)t4);
126
    t10 = (t10 & t13);
127
    t14 = *((unsigned int *)t12);
128
    t11 = (t11 & t14);
129
    t15 = (t9 + 4);
130
    t16 = *((unsigned int *)t9);
131
    *((unsigned int *)t9) = (t16 | t10);
132
    t17 = *((unsigned int *)t15);
133
    *((unsigned int *)t15) = (t17 | t11);
134
    xsi_driver_vfirst_trans(t5, 0, 0);
135
    t18 = (t0 + 8368);
136
    *((int *)t18) = 1;
137
 
138
LAB1:    return;
139
}
140
 
141
static void Cont_48_2(char *t0)
142
{
143
    char *t1;
144
    char *t2;
145
    char *t3;
146
    char *t4;
147
    char *t5;
148
    char *t6;
149
    char *t7;
150
    char *t8;
151
    char *t9;
152
    unsigned int t10;
153
    unsigned int t11;
154
    char *t12;
155
    unsigned int t13;
156
    unsigned int t14;
157
    char *t15;
158
    unsigned int t16;
159
    unsigned int t17;
160
    char *t18;
161
 
162
LAB0:    t1 = (t0 + 7288U);
163
    t2 = *((char **)t1);
164
    if (t2 == 0)
165
        goto LAB2;
166
 
167
LAB3:    goto *t2;
168
 
169
LAB2:    xsi_set_current_line(48, ng0);
170
    t2 = (t0 + 3640);
171
    t3 = (t2 + 56U);
172
    t4 = *((char **)t3);
173
    t5 = (t0 + 8608);
174
    t6 = (t5 + 56U);
175
    t7 = *((char **)t6);
176
    t8 = (t7 + 56U);
177
    t9 = *((char **)t8);
178
    memset(t9, 0, 8);
179
    t10 = 1U;
180
    t11 = t10;
181
    t12 = (t4 + 4);
182
    t13 = *((unsigned int *)t4);
183
    t10 = (t10 & t13);
184
    t14 = *((unsigned int *)t12);
185
    t11 = (t11 & t14);
186
    t15 = (t9 + 4);
187
    t16 = *((unsigned int *)t9);
188
    *((unsigned int *)t9) = (t16 | t10);
189
    t17 = *((unsigned int *)t15);
190
    *((unsigned int *)t15) = (t17 | t11);
191
    xsi_driver_vfirst_trans(t5, 0, 0);
192
    t18 = (t0 + 8384);
193
    *((int *)t18) = 1;
194
 
195
LAB1:    return;
196
}
197
 
198
static void Cont_49_3(char *t0)
199
{
200
    char *t1;
201
    char *t2;
202
    char *t3;
203
    char *t4;
204
    char *t5;
205
    char *t6;
206
    char *t7;
207
    char *t8;
208
    char *t9;
209
    unsigned int t10;
210
    unsigned int t11;
211
    char *t12;
212
    unsigned int t13;
213
    unsigned int t14;
214
    char *t15;
215
    unsigned int t16;
216
    unsigned int t17;
217
    char *t18;
218
 
219
LAB0:    t1 = (t0 + 7536U);
220
    t2 = *((char **)t1);
221
    if (t2 == 0)
222
        goto LAB2;
223
 
224
LAB3:    goto *t2;
225
 
226
LAB2:    xsi_set_current_line(49, ng0);
227
    t2 = (t0 + 3800);
228
    t3 = (t2 + 56U);
229
    t4 = *((char **)t3);
230
    t5 = (t0 + 8672);
231
    t6 = (t5 + 56U);
232
    t7 = *((char **)t6);
233
    t8 = (t7 + 56U);
234
    t9 = *((char **)t8);
235
    memset(t9, 0, 8);
236
    t10 = 1U;
237
    t11 = t10;
238
    t12 = (t4 + 4);
239
    t13 = *((unsigned int *)t4);
240
    t10 = (t10 & t13);
241
    t14 = *((unsigned int *)t12);
242
    t11 = (t11 & t14);
243
    t15 = (t9 + 4);
244
    t16 = *((unsigned int *)t9);
245
    *((unsigned int *)t9) = (t16 | t10);
246
    t17 = *((unsigned int *)t15);
247
    *((unsigned int *)t15) = (t17 | t11);
248
    xsi_driver_vfirst_trans(t5, 0, 0);
249
    t18 = (t0 + 8400);
250
    *((int *)t18) = 1;
251
 
252
LAB1:    return;
253
}
254
 
255
static void Initial_51_4(char *t0)
256
{
257
    char *t1;
258
    char *t2;
259
    char *t3;
260
    char *t4;
261
 
262
LAB0:    t1 = (t0 + 7784U);
263
    t2 = *((char **)t1);
264
    if (t2 == 0)
265
        goto LAB2;
266
 
267
LAB3:    goto *t2;
268
 
269
LAB2:    xsi_set_current_line(51, ng0);
270
 
271
LAB4:    xsi_set_current_line(52, ng0);
272
    t2 = ((char*)((ng1)));
273
    t3 = (t0 + 3480);
274
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
275
    xsi_set_current_line(53, ng0);
276
    t2 = ((char*)((ng1)));
277
    t3 = (t0 + 3800);
278
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
279
    xsi_set_current_line(54, ng0);
280
    t2 = (t0 + 7592);
281
    xsi_process_wait(t2, 100000LL);
282
    *((char **)t1) = &&LAB5;
283
 
284
LAB1:    return;
285
LAB5:    xsi_set_current_line(55, ng0);
286
    t3 = ((char*)((ng2)));
287
    t4 = (t0 + 3480);
288
    xsi_vlogvar_assign_value(t4, t3, 0, 0, 1);
289
    xsi_set_current_line(56, ng0);
290
    t2 = ((char*)((ng2)));
291
    t3 = (t0 + 3800);
292
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
293
    goto LAB1;
294
 
295
}
296
 
297
static void Initial_59_5(char *t0)
298
{
299
    char *t1;
300
    char *t2;
301
    char *t3;
302
    char *t4;
303
 
304
LAB0:    t1 = (t0 + 8032U);
305
    t2 = *((char **)t1);
306
    if (t2 == 0)
307
        goto LAB2;
308
 
309
LAB3:    goto *t2;
310
 
311
LAB2:    xsi_set_current_line(59, ng0);
312
 
313
LAB4:    xsi_set_current_line(60, ng0);
314
    t2 = ((char*)((ng1)));
315
    t3 = (t0 + 3640);
316
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
317
    xsi_set_current_line(61, ng0);
318
    t2 = (t0 + 7840);
319
    xsi_process_wait(t2, 0LL);
320
    *((char **)t1) = &&LAB5;
321
 
322
LAB1:    return;
323
LAB5:    xsi_set_current_line(62, ng0);
324
    t3 = ((char*)((ng2)));
325
    t4 = (t0 + 3640);
326
    xsi_vlogvar_assign_value(t4, t3, 0, 0, 1);
327
    goto LAB1;
328
 
329
}
330
 
331
 
332
extern void work_m_10764087207863065690_2073120511_init()
333
{
334
        static char *pe[] = {(void *)NetDecl_16_0,(void *)Cont_47_1,(void *)Cont_48_2,(void *)Cont_49_3,(void *)Initial_51_4,(void *)Initial_59_5};
335
        xsi_register_didat("work_m_10764087207863065690_2073120511", "isim/bcdadd_tb_isim_beh.exe.sim/work/m_10764087207863065690_2073120511.didat");
336
        xsi_register_executes(pe);
337
}

powered by: WebSVN 2.1.0

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