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

Subversion Repositories vtach

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

powered by: WebSVN 2.1.0

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