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

Subversion Repositories vtach

[/] [vtach/] [trunk/] [isim/] [bcdadd_tb_isim_beh.exe.sim/] [work/] [m_13308596662500982257_4273933090.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/digitadd.v";
25
static unsigned int ng1[] = {0U, 0U};
26
static int ng2[] = {10, 0};
27
static unsigned int ng3[] = {1U, 0U};
28
static int ng4[] = {11, 0};
29
static int ng5[] = {12, 0};
30
static unsigned int ng6[] = {2U, 0U};
31
static int ng7[] = {13, 0};
32
static unsigned int ng8[] = {3U, 0U};
33
static int ng9[] = {14, 0};
34
static unsigned int ng10[] = {4U, 0U};
35
static int ng11[] = {15, 0};
36
static unsigned int ng12[] = {5U, 0U};
37
static int ng13[] = {16, 0};
38
static unsigned int ng14[] = {6U, 0U};
39
static int ng15[] = {17, 0};
40
static unsigned int ng16[] = {7U, 0U};
41
static int ng17[] = {18, 0};
42
static unsigned int ng18[] = {8U, 0U};
43
static int ng19[] = {19, 0};
44
static unsigned int ng20[] = {9U, 0U};
45
 
46
 
47
 
48
static void Cont_6_0(char *t0)
49
{
50
    char t3[8];
51
    char t5[8];
52
    char t8[8];
53
    char t9[8];
54
    char t12[8];
55
    char *t1;
56
    char *t2;
57
    char *t4;
58
    char *t6;
59
    char *t7;
60
    char *t10;
61
    char *t11;
62
    char *t13;
63
    char *t14;
64
    char *t15;
65
    char *t16;
66
    char *t17;
67
    unsigned int t18;
68
    unsigned int t19;
69
    char *t20;
70
    unsigned int t21;
71
    unsigned int t22;
72
    char *t23;
73
    unsigned int t24;
74
    unsigned int t25;
75
    char *t26;
76
 
77
LAB0:    t1 = (t0 + 3000U);
78
    t2 = *((char **)t1);
79
    if (t2 == 0)
80
        goto LAB2;
81
 
82
LAB3:    goto *t2;
83
 
84
LAB2:    xsi_set_current_line(6, ng0);
85
    t2 = (t0 + 1048U);
86
    t4 = *((char **)t2);
87
    t2 = ((char*)((ng1)));
88
    xsi_vlogtype_concat(t3, 5, 5, 2U, t2, 1, t4, 4);
89
    t6 = (t0 + 1208U);
90
    t7 = *((char **)t6);
91
    t6 = ((char*)((ng1)));
92
    xsi_vlogtype_concat(t5, 5, 5, 2U, t6, 1, t7, 4);
93
    memset(t8, 0, 8);
94
    xsi_vlog_unsigned_add(t8, 5, t3, 5, t5, 5);
95
    t10 = (t0 + 1368U);
96
    t11 = *((char **)t10);
97
    t10 = ((char*)((ng1)));
98
    xsi_vlogtype_concat(t9, 5, 5, 2U, t10, 4, t11, 1);
99
    memset(t12, 0, 8);
100
    xsi_vlog_unsigned_add(t12, 5, t8, 5, t9, 5);
101
    t13 = (t0 + 3664);
102
    t14 = (t13 + 56U);
103
    t15 = *((char **)t14);
104
    t16 = (t15 + 56U);
105
    t17 = *((char **)t16);
106
    memset(t17, 0, 8);
107
    t18 = 31U;
108
    t19 = t18;
109
    t20 = (t12 + 4);
110
    t21 = *((unsigned int *)t12);
111
    t18 = (t18 & t21);
112
    t22 = *((unsigned int *)t20);
113
    t19 = (t19 & t22);
114
    t23 = (t17 + 4);
115
    t24 = *((unsigned int *)t17);
116
    *((unsigned int *)t17) = (t24 | t18);
117
    t25 = *((unsigned int *)t23);
118
    *((unsigned int *)t23) = (t25 | t19);
119
    xsi_driver_vfirst_trans(t13, 0, 4);
120
    t26 = (t0 + 3568);
121
    *((int *)t26) = 1;
122
 
123
LAB1:    return;
124
}
125
 
126
static void Always_9_1(char *t0)
127
{
128
    char t9[8];
129
    char *t1;
130
    char *t2;
131
    char *t3;
132
    char *t4;
133
    char *t5;
134
    int t6;
135
    char *t7;
136
    char *t8;
137
    unsigned int t10;
138
    unsigned int t11;
139
    unsigned int t12;
140
    unsigned int t13;
141
    unsigned int t14;
142
    unsigned int t15;
143
 
144
LAB0:    t1 = (t0 + 3248U);
145
    t2 = *((char **)t1);
146
    if (t2 == 0)
147
        goto LAB2;
148
 
149
LAB3:    goto *t2;
150
 
151
LAB2:    xsi_set_current_line(9, ng0);
152
    t2 = (t0 + 3584);
153
    *((int *)t2) = 1;
154
    t3 = (t0 + 3280);
155
    *((char **)t3) = t2;
156
    *((char **)t1) = &&LAB4;
157
 
158
LAB1:    return;
159
LAB4:    xsi_set_current_line(9, ng0);
160
 
161
LAB5:    xsi_set_current_line(10, ng0);
162
    t4 = (t0 + 1528U);
163
    t5 = *((char **)t4);
164
 
165
LAB6:    t4 = ((char*)((ng2)));
166
    t6 = xsi_vlog_unsigned_case_compare(t5, 5, t4, 32);
167
    if (t6 == 1)
168
        goto LAB7;
169
 
170
LAB8:    t2 = ((char*)((ng4)));
171
    t6 = xsi_vlog_unsigned_case_compare(t5, 5, t2, 32);
172
    if (t6 == 1)
173
        goto LAB9;
174
 
175
LAB10:    t2 = ((char*)((ng5)));
176
    t6 = xsi_vlog_unsigned_case_compare(t5, 5, t2, 32);
177
    if (t6 == 1)
178
        goto LAB11;
179
 
180
LAB12:    t2 = ((char*)((ng7)));
181
    t6 = xsi_vlog_unsigned_case_compare(t5, 5, t2, 32);
182
    if (t6 == 1)
183
        goto LAB13;
184
 
185
LAB14:    t2 = ((char*)((ng9)));
186
    t6 = xsi_vlog_unsigned_case_compare(t5, 5, t2, 32);
187
    if (t6 == 1)
188
        goto LAB15;
189
 
190
LAB16:    t2 = ((char*)((ng11)));
191
    t6 = xsi_vlog_unsigned_case_compare(t5, 5, t2, 32);
192
    if (t6 == 1)
193
        goto LAB17;
194
 
195
LAB18:    t2 = ((char*)((ng13)));
196
    t6 = xsi_vlog_unsigned_case_compare(t5, 5, t2, 32);
197
    if (t6 == 1)
198
        goto LAB19;
199
 
200
LAB20:    t2 = ((char*)((ng15)));
201
    t6 = xsi_vlog_unsigned_case_compare(t5, 5, t2, 32);
202
    if (t6 == 1)
203
        goto LAB21;
204
 
205
LAB22:    t2 = ((char*)((ng17)));
206
    t6 = xsi_vlog_unsigned_case_compare(t5, 5, t2, 32);
207
    if (t6 == 1)
208
        goto LAB23;
209
 
210
LAB24:    t2 = ((char*)((ng19)));
211
    t6 = xsi_vlog_unsigned_case_compare(t5, 5, t2, 32);
212
    if (t6 == 1)
213
        goto LAB25;
214
 
215
LAB26:
216
LAB28:
217
LAB27:    xsi_set_current_line(22, ng0);
218
 
219
LAB40:    xsi_set_current_line(22, ng0);
220
    t2 = (t0 + 1528U);
221
    t3 = *((char **)t2);
222
    memset(t9, 0, 8);
223
    t2 = (t9 + 4);
224
    t4 = (t3 + 4);
225
    t10 = *((unsigned int *)t3);
226
    t11 = (t10 >> 0);
227
    *((unsigned int *)t9) = t11;
228
    t12 = *((unsigned int *)t4);
229
    t13 = (t12 >> 0);
230
    *((unsigned int *)t2) = t13;
231
    t14 = *((unsigned int *)t9);
232
    *((unsigned int *)t9) = (t14 & 15U);
233
    t15 = *((unsigned int *)t2);
234
    *((unsigned int *)t2) = (t15 & 15U);
235
    t7 = (t0 + 1928);
236
    xsi_vlogvar_assign_value(t7, t9, 0, 0, 4);
237
    xsi_set_current_line(22, ng0);
238
    t2 = ((char*)((ng1)));
239
    t3 = (t0 + 2088);
240
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
241
 
242
LAB29:    goto LAB2;
243
 
244
LAB7:    xsi_set_current_line(11, ng0);
245
 
246
LAB30:    xsi_set_current_line(11, ng0);
247
    t7 = ((char*)((ng1)));
248
    t8 = (t0 + 1928);
249
    xsi_vlogvar_assign_value(t8, t7, 0, 0, 4);
250
    xsi_set_current_line(11, ng0);
251
    t2 = ((char*)((ng3)));
252
    t3 = (t0 + 2088);
253
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
254
    goto LAB29;
255
 
256
LAB9:    xsi_set_current_line(12, ng0);
257
 
258
LAB31:    xsi_set_current_line(12, ng0);
259
    t3 = ((char*)((ng3)));
260
    t4 = (t0 + 1928);
261
    xsi_vlogvar_assign_value(t4, t3, 0, 0, 4);
262
    xsi_set_current_line(12, ng0);
263
    t2 = ((char*)((ng3)));
264
    t3 = (t0 + 2088);
265
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
266
    goto LAB29;
267
 
268
LAB11:    xsi_set_current_line(13, ng0);
269
 
270
LAB32:    xsi_set_current_line(13, ng0);
271
    t3 = ((char*)((ng6)));
272
    t4 = (t0 + 1928);
273
    xsi_vlogvar_assign_value(t4, t3, 0, 0, 4);
274
    xsi_set_current_line(13, ng0);
275
    t2 = ((char*)((ng3)));
276
    t3 = (t0 + 2088);
277
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
278
    goto LAB29;
279
 
280
LAB13:    xsi_set_current_line(14, ng0);
281
 
282
LAB33:    xsi_set_current_line(14, ng0);
283
    t3 = ((char*)((ng8)));
284
    t4 = (t0 + 1928);
285
    xsi_vlogvar_assign_value(t4, t3, 0, 0, 4);
286
    xsi_set_current_line(14, ng0);
287
    t2 = ((char*)((ng3)));
288
    t3 = (t0 + 2088);
289
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
290
    goto LAB29;
291
 
292
LAB15:    xsi_set_current_line(15, ng0);
293
 
294
LAB34:    xsi_set_current_line(15, ng0);
295
    t3 = ((char*)((ng10)));
296
    t4 = (t0 + 1928);
297
    xsi_vlogvar_assign_value(t4, t3, 0, 0, 4);
298
    xsi_set_current_line(15, ng0);
299
    t2 = ((char*)((ng3)));
300
    t3 = (t0 + 2088);
301
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
302
    goto LAB29;
303
 
304
LAB17:    xsi_set_current_line(16, ng0);
305
 
306
LAB35:    xsi_set_current_line(16, ng0);
307
    t3 = ((char*)((ng12)));
308
    t4 = (t0 + 1928);
309
    xsi_vlogvar_assign_value(t4, t3, 0, 0, 4);
310
    xsi_set_current_line(16, ng0);
311
    t2 = ((char*)((ng3)));
312
    t3 = (t0 + 2088);
313
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
314
    goto LAB29;
315
 
316
LAB19:    xsi_set_current_line(17, ng0);
317
 
318
LAB36:    xsi_set_current_line(17, ng0);
319
    t3 = ((char*)((ng14)));
320
    t4 = (t0 + 1928);
321
    xsi_vlogvar_assign_value(t4, t3, 0, 0, 4);
322
    xsi_set_current_line(17, ng0);
323
    t2 = ((char*)((ng3)));
324
    t3 = (t0 + 2088);
325
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
326
    goto LAB29;
327
 
328
LAB21:    xsi_set_current_line(18, ng0);
329
 
330
LAB37:    xsi_set_current_line(18, ng0);
331
    t3 = ((char*)((ng16)));
332
    t4 = (t0 + 1928);
333
    xsi_vlogvar_assign_value(t4, t3, 0, 0, 4);
334
    xsi_set_current_line(18, ng0);
335
    t2 = ((char*)((ng3)));
336
    t3 = (t0 + 2088);
337
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
338
    goto LAB29;
339
 
340
LAB23:    xsi_set_current_line(19, ng0);
341
 
342
LAB38:    xsi_set_current_line(19, ng0);
343
    t3 = ((char*)((ng18)));
344
    t4 = (t0 + 1928);
345
    xsi_vlogvar_assign_value(t4, t3, 0, 0, 4);
346
    xsi_set_current_line(19, ng0);
347
    t2 = ((char*)((ng3)));
348
    t3 = (t0 + 2088);
349
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
350
    goto LAB29;
351
 
352
LAB25:    xsi_set_current_line(20, ng0);
353
 
354
LAB39:    xsi_set_current_line(20, ng0);
355
    t3 = ((char*)((ng20)));
356
    t4 = (t0 + 1928);
357
    xsi_vlogvar_assign_value(t4, t3, 0, 0, 4);
358
    xsi_set_current_line(20, ng0);
359
    t2 = ((char*)((ng3)));
360
    t3 = (t0 + 2088);
361
    xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
362
    goto LAB29;
363
 
364
}
365
 
366
 
367
extern void work_m_13308596662500982257_4273933090_init()
368
{
369
        static char *pe[] = {(void *)Cont_6_0,(void *)Always_9_1};
370
        xsi_register_didat("work_m_13308596662500982257_4273933090", "isim/bcdadd_tb_isim_beh.exe.sim/work/m_13308596662500982257_4273933090.didat");
371
        xsi_register_executes(pe);
372
}

powered by: WebSVN 2.1.0

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