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_0810920884_1181938964.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/BUFFER_COUNTER_WRITE.vhd";
25
extern char *DZX_P_3728046382;
26
 
27
char *dzx_p_3728046382_sub_3251038083_2632892140(char *, char *, char *, char *, char *, char *);
28
 
29
 
30
static void work_a_0810920884_1181938964_p_0(char *t0)
31
{
32
    char t17[16];
33
    char t18[16];
34
    char *t1;
35
    char *t2;
36
    unsigned char t3;
37
    unsigned char t4;
38
    char *t5;
39
    char *t6;
40
    char *t7;
41
    char *t8;
42
    char *t9;
43
    char *t10;
44
    unsigned char t11;
45
    unsigned char t12;
46
    unsigned char t13;
47
    unsigned char t14;
48
    char *t15;
49
    char *t16;
50
    int t19;
51
    unsigned int t20;
52
    unsigned int t21;
53
    char *t22;
54
    char *t23;
55
    char *t24;
56
    char *t25;
57
 
58
LAB0:    xsi_set_current_line(65, ng0);
59
    t1 = (t0 + 1352U);
60
    t2 = *((char **)t1);
61
    t3 = *((unsigned char *)t2);
62
    t4 = (t3 == (unsigned char)0);
63
    if (t4 != 0)
64
        goto LAB2;
65
 
66
LAB4:    t1 = (t0 + 1632U);
67
    t4 = xsi_signal_has_event(t1);
68
    if (t4 == 1)
69
        goto LAB7;
70
 
71
LAB8:    t3 = (unsigned char)0;
72
 
73
LAB9:    if (t3 != 0)
74
        goto LAB5;
75
 
76
LAB6:
77
LAB3:    t1 = (t0 + 3720);
78
    *((int *)t1) = 1;
79
 
80
LAB1:    return;
81
LAB2:    xsi_set_current_line(66, ng0);
82
    t1 = (t0 + 6190);
83
    t6 = (t0 + 3816);
84
    t7 = (t6 + 56U);
85
    t8 = *((char **)t7);
86
    t9 = (t8 + 56U);
87
    t10 = *((char **)t9);
88
    memcpy(t10, t1, 9U);
89
    xsi_driver_first_trans_fast(t6);
90
    goto LAB3;
91
 
92
LAB5:    xsi_set_current_line(69, ng0);
93
    t2 = (t0 + 1512U);
94
    t6 = *((char **)t2);
95
    t13 = *((unsigned char *)t6);
96
    t14 = (t13 == (unsigned char)1);
97
    if (t14 != 0)
98
        goto LAB10;
99
 
100
LAB12:    t1 = (t0 + 1032U);
101
    t2 = *((char **)t1);
102
    t3 = *((unsigned char *)t2);
103
    t4 = (t3 == (unsigned char)1);
104
    if (t4 != 0)
105
        goto LAB13;
106
 
107
LAB14:    xsi_set_current_line(78, ng0);
108
    t1 = (t0 + 1992U);
109
    t2 = *((char **)t1);
110
    t1 = (t0 + 3816);
111
    t5 = (t1 + 56U);
112
    t6 = *((char **)t5);
113
    t7 = (t6 + 56U);
114
    t8 = *((char **)t7);
115
    memcpy(t8, t2, 9U);
116
    xsi_driver_first_trans_fast(t1);
117
 
118
LAB11:    goto LAB3;
119
 
120
LAB7:    t2 = (t0 + 1672U);
121
    t5 = *((char **)t2);
122
    t11 = *((unsigned char *)t5);
123
    t12 = (t11 == (unsigned char)1);
124
    t3 = t12;
125
    goto LAB9;
126
 
127
LAB10:    xsi_set_current_line(70, ng0);
128
    t2 = (t0 + 6199);
129
    t8 = (t0 + 3816);
130
    t9 = (t8 + 56U);
131
    t10 = *((char **)t9);
132
    t15 = (t10 + 56U);
133
    t16 = *((char **)t15);
134
    memcpy(t16, t2, 9U);
135
    xsi_driver_first_trans_fast(t8);
136
    goto LAB11;
137
 
138
LAB13:    xsi_set_current_line(72, ng0);
139
    t1 = (t0 + 1192U);
140
    t5 = *((char **)t1);
141
    t11 = *((unsigned char *)t5);
142
    t12 = (t11 == (unsigned char)1);
143
    if (t12 != 0)
144
        goto LAB15;
145
 
146
LAB17:    xsi_set_current_line(75, ng0);
147
    t1 = (t0 + 1992U);
148
    t2 = *((char **)t1);
149
    t1 = (t0 + 6152U);
150
    t5 = (t0 + 6217);
151
    t7 = (t18 + 0U);
152
    t8 = (t7 + 0U);
153
    *((int *)t8) = 0;
154
    t8 = (t7 + 4U);
155
    *((int *)t8) = 8;
156
    t8 = (t7 + 8U);
157
    *((int *)t8) = 1;
158
    t19 = (8 - 0);
159
    t20 = (t19 * 1);
160
    t20 = (t20 + 1);
161
    t8 = (t7 + 12U);
162
    *((unsigned int *)t8) = t20;
163
    t8 = dzx_p_3728046382_sub_3251038083_2632892140(DZX_P_3728046382, t17, t2, t1, t5, t18);
164
    t9 = (t17 + 12U);
165
    t20 = *((unsigned int *)t9);
166
    t21 = (1U * t20);
167
    t3 = (9U != t21);
168
    if (t3 == 1)
169
        goto LAB20;
170
 
171
LAB21:    t10 = (t0 + 3816);
172
    t15 = (t10 + 56U);
173
    t16 = *((char **)t15);
174
    t22 = (t16 + 56U);
175
    t23 = *((char **)t22);
176
    memcpy(t23, t8, 9U);
177
    xsi_driver_first_trans_fast(t10);
178
 
179
LAB16:    goto LAB11;
180
 
181
LAB15:    xsi_set_current_line(73, ng0);
182
    t1 = (t0 + 1992U);
183
    t6 = *((char **)t1);
184
    t1 = (t0 + 6152U);
185
    t7 = (t0 + 6208);
186
    t9 = (t18 + 0U);
187
    t10 = (t9 + 0U);
188
    *((int *)t10) = 0;
189
    t10 = (t9 + 4U);
190
    *((int *)t10) = 8;
191
    t10 = (t9 + 8U);
192
    *((int *)t10) = 1;
193
    t19 = (8 - 0);
194
    t20 = (t19 * 1);
195
    t20 = (t20 + 1);
196
    t10 = (t9 + 12U);
197
    *((unsigned int *)t10) = t20;
198
    t10 = dzx_p_3728046382_sub_3251038083_2632892140(DZX_P_3728046382, t17, t6, t1, t7, t18);
199
    t15 = (t17 + 12U);
200
    t20 = *((unsigned int *)t15);
201
    t21 = (1U * t20);
202
    t13 = (9U != t21);
203
    if (t13 == 1)
204
        goto LAB18;
205
 
206
LAB19:    t16 = (t0 + 3816);
207
    t22 = (t16 + 56U);
208
    t23 = *((char **)t22);
209
    t24 = (t23 + 56U);
210
    t25 = *((char **)t24);
211
    memcpy(t25, t10, 9U);
212
    xsi_driver_first_trans_fast(t16);
213
    goto LAB16;
214
 
215
LAB18:    xsi_size_not_matching(9U, t21, 0);
216
    goto LAB19;
217
 
218
LAB20:    xsi_size_not_matching(9U, t21, 0);
219
    goto LAB21;
220
 
221
}
222
 
223
static void work_a_0810920884_1181938964_p_1(char *t0)
224
{
225
    char *t1;
226
    char *t2;
227
    char *t3;
228
    char *t4;
229
    char *t5;
230
    char *t6;
231
    char *t7;
232
 
233
LAB0:    xsi_set_current_line(84, ng0);
234
 
235
LAB3:    t1 = (t0 + 1992U);
236
    t2 = *((char **)t1);
237
    t1 = (t0 + 3880);
238
    t3 = (t1 + 56U);
239
    t4 = *((char **)t3);
240
    t5 = (t4 + 56U);
241
    t6 = *((char **)t5);
242
    memcpy(t6, t2, 9U);
243
    xsi_driver_first_trans_fast_port(t1);
244
 
245
LAB2:    t7 = (t0 + 3736);
246
    *((int *)t7) = 1;
247
 
248
LAB1:    return;
249
LAB4:    goto LAB2;
250
 
251
}
252
 
253
 
254
extern void work_a_0810920884_1181938964_init()
255
{
256
        static char *pe[] = {(void *)work_a_0810920884_1181938964_p_0,(void *)work_a_0810920884_1181938964_p_1};
257
        xsi_register_didat("work_a_0810920884_1181938964", "isim/testbench_isim_beh.exe.sim/work/a_0810920884_1181938964.didat");
258
        xsi_register_executes(pe);
259
}

powered by: WebSVN 2.1.0

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