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

Subversion Repositories xmatchpro

[/] [xmatchpro/] [trunk/] [xmw4-comdec/] [xmatch_sim7/] [isim/] [testbench_isim_beh.exe.sim/] [work/] [a_3315703983_2984478664.c] - Blame information for rev 9

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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