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_1343409402_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/pointer_array.vhd";
25
extern char *DZX_P_1715488261;
26
 
27
unsigned char dzx_p_1715488261_sub_3691183894_820654739(char *, char *, char *);
28
 
29
 
30
static void work_a_1343409402_2984478664_p_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
 
40
LAB0:    xsi_set_current_line(423, ng0);
41
 
42
LAB3:    t1 = (t0 + 1192U);
43
    t2 = *((char **)t1);
44
    t1 = (t0 + 5120);
45
    t3 = (t1 + 56U);
46
    t4 = *((char **)t3);
47
    t5 = (t4 + 56U);
48
    t6 = *((char **)t5);
49
    memcpy(t6, t2, 15U);
50
    xsi_driver_first_trans_fast(t1);
51
 
52
LAB2:    t7 = (t0 + 5008);
53
    *((int *)t7) = 1;
54
 
55
LAB1:    return;
56
LAB4:    goto LAB2;
57
 
58
}
59
 
60
static void work_a_1343409402_2984478664_p_1(char *t0)
61
{
62
    char t49[16];
63
    char *t1;
64
    char *t2;
65
    int t3;
66
    int t4;
67
    char *t5;
68
    char *t6;
69
    int t7;
70
    int t8;
71
    unsigned char t9;
72
    char *t10;
73
    char *t11;
74
    int t12;
75
    int t13;
76
    unsigned int t14;
77
    unsigned int t15;
78
    char *t16;
79
    int t17;
80
    int t18;
81
    unsigned int t19;
82
    unsigned int t20;
83
    unsigned int t21;
84
    unsigned int t22;
85
    char *t23;
86
    unsigned char t24;
87
    char *t25;
88
    char *t26;
89
    int t27;
90
    int t28;
91
    int t29;
92
    unsigned int t30;
93
    unsigned int t31;
94
    unsigned int t32;
95
    char *t33;
96
    unsigned char t34;
97
    char *t35;
98
    char *t36;
99
    int t37;
100
    int t38;
101
    unsigned int t39;
102
    unsigned int t40;
103
    char *t41;
104
    int t42;
105
    int t43;
106
    unsigned int t44;
107
    unsigned int t45;
108
    unsigned int t46;
109
    unsigned int t47;
110
    char *t48;
111
 
112
LAB0:    xsi_set_current_line(429, ng0);
113
    t1 = (t0 + 12046);
114
    *((int *)t1) = 0;
115
    t2 = (t0 + 12050);
116
    *((int *)t2) = 3;
117
    t3 = 0;
118
    t4 = 3;
119
 
120
LAB2:    if (t3 <= t4)
121
        goto LAB3;
122
 
123
LAB5:    xsi_set_current_line(435, ng0);
124
    t1 = (t0 + 12062);
125
    *((int *)t1) = 0;
126
    t2 = (t0 + 12066);
127
    *((int *)t2) = 3;
128
    t3 = 0;
129
    t4 = 3;
130
 
131
LAB15:    if (t3 <= t4)
132
        goto LAB16;
133
 
134
LAB18:    t1 = (t0 + 5024);
135
    *((int *)t1) = 1;
136
 
137
LAB1:    return;
138
LAB3:    xsi_set_current_line(430, ng0);
139
    t5 = (t0 + 12054);
140
    *((int *)t5) = 0;
141
    t6 = (t0 + 12058);
142
    *((int *)t6) = 15;
143
    t7 = 0;
144
    t8 = 15;
145
 
146
LAB6:    if (t7 <= t8)
147
        goto LAB7;
148
 
149
LAB9:
150
LAB4:    t1 = (t0 + 12046);
151
    t3 = *((int *)t1);
152
    t2 = (t0 + 12050);
153
    t4 = *((int *)t2);
154
    if (t3 == t4)
155
        goto LAB5;
156
 
157
LAB14:    t7 = (t3 + 1);
158
    t3 = t7;
159
    t5 = (t0 + 12046);
160
    *((int *)t5) = t3;
161
    goto LAB2;
162
 
163
LAB7:    xsi_set_current_line(431, ng0);
164
    t10 = (t0 + 2632U);
165
    t11 = *((char **)t10);
166
    t10 = (t0 + 12046);
167
    t12 = *((int *)t10);
168
    t13 = (t12 - 3);
169
    t14 = (t13 * -1);
170
    xsi_vhdl_check_range_of_index(3, 0, -1, *((int *)t10));
171
    t15 = (1U * t14);
172
    t16 = (t0 + 12054);
173
    t17 = *((int *)t16);
174
    t18 = (t17 - 15);
175
    t19 = (t18 * -1);
176
    xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t16));
177
    t20 = (4U * t19);
178
    t21 = (0 + t20);
179
    t22 = (t21 + t15);
180
    t23 = (t11 + t22);
181
    t24 = *((unsigned char *)t23);
182
    if (t24 == 1)
183
        goto LAB10;
184
 
185
LAB11:    t9 = (unsigned char)0;
186
 
187
LAB12:    t35 = (t0 + 3088U);
188
    t36 = *((char **)t35);
189
    t35 = (t0 + 12054);
190
    t37 = *((int *)t35);
191
    t38 = (t37 - 15);
192
    t39 = (t38 * -1);
193
    xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t35));
194
    t40 = (1U * t39);
195
    t41 = (t0 + 12046);
196
    t42 = *((int *)t41);
197
    t43 = (t42 - 3);
198
    t44 = (t43 * -1);
199
    xsi_vhdl_check_range_of_index(3, 0, -1, *((int *)t41));
200
    t45 = (16U * t44);
201
    t46 = (0 + t45);
202
    t47 = (t46 + t40);
203
    t48 = (t36 + t47);
204
    *((unsigned char *)t48) = t9;
205
 
206
LAB8:    t1 = (t0 + 12054);
207
    t7 = *((int *)t1);
208
    t2 = (t0 + 12058);
209
    t8 = *((int *)t2);
210
    if (t7 == t8)
211
        goto LAB9;
212
 
213
LAB13:    t12 = (t7 + 1);
214
    t7 = t12;
215
    t5 = (t0 + 12054);
216
    *((int *)t5) = t7;
217
    goto LAB6;
218
 
219
LAB10:    t25 = (t0 + 1512U);
220
    t26 = *((char **)t25);
221
    t25 = (t0 + 12054);
222
    t27 = *((int *)t25);
223
    t28 = (15 - t27);
224
    t29 = (t28 - 15);
225
    t30 = (t29 * -1);
226
    xsi_vhdl_check_range_of_index(15, 0, -1, t28);
227
    t31 = (1U * t30);
228
    t32 = (0 + t31);
229
    t33 = (t26 + t32);
230
    t34 = *((unsigned char *)t33);
231
    t9 = t34;
232
    goto LAB12;
233
 
234
LAB16:    xsi_set_current_line(436, ng0);
235
    t5 = (t0 + 3088U);
236
    t6 = *((char **)t5);
237
    t5 = (t0 + 12062);
238
    t7 = *((int *)t5);
239
    t8 = (t7 - 3);
240
    t14 = (t8 * -1);
241
    xsi_vhdl_check_range_of_index(3, 0, -1, *((int *)t5));
242
    t15 = (16U * t14);
243
    t19 = (0 + t15);
244
    t10 = (t6 + t19);
245
    t11 = (t49 + 0U);
246
    t16 = (t11 + 0U);
247
    *((int *)t16) = 15;
248
    t16 = (t11 + 4U);
249
    *((int *)t16) = 0;
250
    t16 = (t11 + 8U);
251
    *((int *)t16) = -1;
252
    t12 = (0 - 15);
253
    t20 = (t12 * -1);
254
    t20 = (t20 + 1);
255
    t16 = (t11 + 12U);
256
    *((unsigned int *)t16) = t20;
257
    t9 = dzx_p_1715488261_sub_3691183894_820654739(DZX_P_1715488261, t10, t49);
258
    t16 = (t0 + 12062);
259
    t13 = *((int *)t16);
260
    t17 = (t13 - 3);
261
    t20 = (t17 * -1);
262
    t21 = (1 * t20);
263
    t22 = (0U + t21);
264
    t23 = (t0 + 5184);
265
    t25 = (t23 + 56U);
266
    t26 = *((char **)t25);
267
    t33 = (t26 + 56U);
268
    t35 = *((char **)t33);
269
    *((unsigned char *)t35) = t9;
270
    xsi_driver_first_trans_delta(t23, t22, 1, 0LL);
271
 
272
LAB17:    t1 = (t0 + 12062);
273
    t3 = *((int *)t1);
274
    t2 = (t0 + 12066);
275
    t4 = *((int *)t2);
276
    if (t3 == t4)
277
        goto LAB18;
278
 
279
LAB19:    t7 = (t3 + 1);
280
    t3 = t7;
281
    t5 = (t0 + 12062);
282
    *((int *)t5) = t3;
283
    goto LAB15;
284
 
285
}
286
 
287
static void work_a_1343409402_2984478664_p_2(char *t0)
288
{
289
    char t48[16];
290
    char *t1;
291
    char *t2;
292
    int t3;
293
    int t4;
294
    char *t5;
295
    char *t6;
296
    int t7;
297
    int t8;
298
    unsigned char t9;
299
    char *t10;
300
    char *t11;
301
    int t12;
302
    int t13;
303
    unsigned int t14;
304
    unsigned int t15;
305
    char *t16;
306
    int t17;
307
    int t18;
308
    unsigned int t19;
309
    unsigned int t20;
310
    unsigned int t21;
311
    unsigned int t22;
312
    char *t23;
313
    unsigned char t24;
314
    char *t25;
315
    char *t26;
316
    int t27;
317
    int t28;
318
    unsigned int t29;
319
    unsigned int t30;
320
    unsigned int t31;
321
    char *t32;
322
    unsigned char t33;
323
    char *t34;
324
    char *t35;
325
    int t36;
326
    int t37;
327
    unsigned int t38;
328
    unsigned int t39;
329
    char *t40;
330
    int t41;
331
    int t42;
332
    unsigned int t43;
333
    unsigned int t44;
334
    unsigned int t45;
335
    unsigned int t46;
336
    char *t47;
337
 
338
LAB0:    xsi_set_current_line(444, ng0);
339
    t1 = (t0 + 12070);
340
    *((int *)t1) = 0;
341
    t2 = (t0 + 12074);
342
    *((int *)t2) = 3;
343
    t3 = 0;
344
    t4 = 3;
345
 
346
LAB2:    if (t3 <= t4)
347
        goto LAB3;
348
 
349
LAB5:    xsi_set_current_line(450, ng0);
350
    t1 = (t0 + 12086);
351
    *((int *)t1) = 0;
352
    t2 = (t0 + 12090);
353
    *((int *)t2) = 3;
354
    t3 = 0;
355
    t4 = 3;
356
 
357
LAB15:    if (t3 <= t4)
358
        goto LAB16;
359
 
360
LAB18:    t1 = (t0 + 5040);
361
    *((int *)t1) = 1;
362
 
363
LAB1:    return;
364
LAB3:    xsi_set_current_line(445, ng0);
365
    t5 = (t0 + 12078);
366
    *((int *)t5) = 0;
367
    t6 = (t0 + 12082);
368
    *((int *)t6) = 15;
369
    t7 = 0;
370
    t8 = 15;
371
 
372
LAB6:    if (t7 <= t8)
373
        goto LAB7;
374
 
375
LAB9:
376
LAB4:    t1 = (t0 + 12070);
377
    t3 = *((int *)t1);
378
    t2 = (t0 + 12074);
379
    t4 = *((int *)t2);
380
    if (t3 == t4)
381
        goto LAB5;
382
 
383
LAB14:    t7 = (t3 + 1);
384
    t3 = t7;
385
    t5 = (t0 + 12070);
386
    *((int *)t5) = t3;
387
    goto LAB2;
388
 
389
LAB7:    xsi_set_current_line(446, ng0);
390
    t10 = (t0 + 2632U);
391
    t11 = *((char **)t10);
392
    t10 = (t0 + 12070);
393
    t12 = *((int *)t10);
394
    t13 = (t12 - 3);
395
    t14 = (t13 * -1);
396
    xsi_vhdl_check_range_of_index(3, 0, -1, *((int *)t10));
397
    t15 = (1U * t14);
398
    t16 = (t0 + 12078);
399
    t17 = *((int *)t16);
400
    t18 = (t17 - 15);
401
    t19 = (t18 * -1);
402
    xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t16));
403
    t20 = (4U * t19);
404
    t21 = (0 + t20);
405
    t22 = (t21 + t15);
406
    t23 = (t11 + t22);
407
    t24 = *((unsigned char *)t23);
408
    if (t24 == 1)
409
        goto LAB10;
410
 
411
LAB11:    t9 = (unsigned char)0;
412
 
413
LAB12:    t34 = (t0 + 3208U);
414
    t35 = *((char **)t34);
415
    t34 = (t0 + 12078);
416
    t36 = *((int *)t34);
417
    t37 = (t36 - 15);
418
    t38 = (t37 * -1);
419
    xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t34));
420
    t39 = (1U * t38);
421
    t40 = (t0 + 12070);
422
    t41 = *((int *)t40);
423
    t42 = (t41 - 3);
424
    t43 = (t42 * -1);
425
    xsi_vhdl_check_range_of_index(3, 0, -1, *((int *)t40));
426
    t44 = (16U * t43);
427
    t45 = (0 + t44);
428
    t46 = (t45 + t39);
429
    t47 = (t35 + t46);
430
    *((unsigned char *)t47) = t9;
431
 
432
LAB8:    t1 = (t0 + 12078);
433
    t7 = *((int *)t1);
434
    t2 = (t0 + 12082);
435
    t8 = *((int *)t2);
436
    if (t7 == t8)
437
        goto LAB9;
438
 
439
LAB13:    t12 = (t7 + 1);
440
    t7 = t12;
441
    t5 = (t0 + 12078);
442
    *((int *)t5) = t7;
443
    goto LAB6;
444
 
445
LAB10:    t25 = (t0 + 1672U);
446
    t26 = *((char **)t25);
447
    t25 = (t0 + 12078);
448
    t27 = *((int *)t25);
449
    t28 = (t27 - 15);
450
    t29 = (t28 * -1);
451
    xsi_vhdl_check_range_of_index(15, 0, -1, *((int *)t25));
452
    t30 = (1U * t29);
453
    t31 = (0 + t30);
454
    t32 = (t26 + t31);
455
    t33 = *((unsigned char *)t32);
456
    t9 = t33;
457
    goto LAB12;
458
 
459
LAB16:    xsi_set_current_line(451, ng0);
460
    t5 = (t0 + 3208U);
461
    t6 = *((char **)t5);
462
    t5 = (t0 + 12086);
463
    t7 = *((int *)t5);
464
    t8 = (t7 - 3);
465
    t14 = (t8 * -1);
466
    xsi_vhdl_check_range_of_index(3, 0, -1, *((int *)t5));
467
    t15 = (16U * t14);
468
    t19 = (0 + t15);
469
    t10 = (t6 + t19);
470
    t11 = (t48 + 0U);
471
    t16 = (t11 + 0U);
472
    *((int *)t16) = 15;
473
    t16 = (t11 + 4U);
474
    *((int *)t16) = 0;
475
    t16 = (t11 + 8U);
476
    *((int *)t16) = -1;
477
    t12 = (0 - 15);
478
    t20 = (t12 * -1);
479
    t20 = (t20 + 1);
480
    t16 = (t11 + 12U);
481
    *((unsigned int *)t16) = t20;
482
    t9 = dzx_p_1715488261_sub_3691183894_820654739(DZX_P_1715488261, t10, t48);
483
    t16 = (t0 + 12086);
484
    t13 = *((int *)t16);
485
    t17 = (t13 - 3);
486
    t20 = (t17 * -1);
487
    t21 = (1 * t20);
488
    t22 = (0U + t21);
489
    t23 = (t0 + 5248);
490
    t25 = (t23 + 56U);
491
    t26 = *((char **)t25);
492
    t32 = (t26 + 56U);
493
    t34 = *((char **)t32);
494
    *((unsigned char *)t34) = t9;
495
    xsi_driver_first_trans_delta(t23, t22, 1, 0LL);
496
 
497
LAB17:    t1 = (t0 + 12086);
498
    t3 = *((int *)t1);
499
    t2 = (t0 + 12090);
500
    t4 = *((int *)t2);
501
    if (t3 == t4)
502
        goto LAB18;
503
 
504
LAB19:    t7 = (t3 + 1);
505
    t3 = t7;
506
    t5 = (t0 + 12086);
507
    *((int *)t5) = t3;
508
    goto LAB15;
509
 
510
}
511
 
512
 
513
extern void work_a_1343409402_2984478664_init()
514
{
515
        static char *pe[] = {(void *)work_a_1343409402_2984478664_p_0,(void *)work_a_1343409402_2984478664_p_1,(void *)work_a_1343409402_2984478664_p_2};
516
        xsi_register_didat("work_a_1343409402_2984478664", "isim/testbench_isim_beh.exe.sim/work/a_1343409402_2984478664.didat");
517
        xsi_register_executes(pe);
518
}

powered by: WebSVN 2.1.0

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