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_1194942728_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_READ_9BITS.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_1194942728_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
 
57
LAB0:    xsi_set_current_line(66, ng0);
58
    t1 = (t0 + 1192U);
59
    t2 = *((char **)t1);
60
    t3 = *((unsigned char *)t2);
61
    t4 = (t3 == (unsigned char)0);
62
    if (t4 != 0)
63
        goto LAB2;
64
 
65
LAB4:    t1 = (t0 + 1472U);
66
    t4 = xsi_signal_has_event(t1);
67
    if (t4 == 1)
68
        goto LAB7;
69
 
70
LAB8:    t3 = (unsigned char)0;
71
 
72
LAB9:    if (t3 != 0)
73
        goto LAB5;
74
 
75
LAB6:
76
LAB3:    t1 = (t0 + 3560);
77
    *((int *)t1) = 1;
78
 
79
LAB1:    return;
80
LAB2:    xsi_set_current_line(67, ng0);
81
    t1 = (t0 + 5994);
82
    t6 = (t0 + 3656);
83
    t7 = (t6 + 56U);
84
    t8 = *((char **)t7);
85
    t9 = (t8 + 56U);
86
    t10 = *((char **)t9);
87
    memcpy(t10, t1, 10U);
88
    xsi_driver_first_trans_fast(t6);
89
    goto LAB3;
90
 
91
LAB5:    xsi_set_current_line(70, ng0);
92
    t2 = (t0 + 1352U);
93
    t6 = *((char **)t2);
94
    t13 = *((unsigned char *)t6);
95
    t14 = (t13 == (unsigned char)1);
96
    if (t14 != 0)
97
        goto LAB10;
98
 
99
LAB12:    t1 = (t0 + 1032U);
100
    t2 = *((char **)t1);
101
    t3 = *((unsigned char *)t2);
102
    t4 = (t3 == (unsigned char)1);
103
    if (t4 != 0)
104
        goto LAB13;
105
 
106
LAB14:    xsi_set_current_line(75, ng0);
107
    t1 = (t0 + 1832U);
108
    t2 = *((char **)t1);
109
    t1 = (t0 + 3656);
110
    t5 = (t1 + 56U);
111
    t6 = *((char **)t5);
112
    t7 = (t6 + 56U);
113
    t8 = *((char **)t7);
114
    memcpy(t8, t2, 10U);
115
    xsi_driver_first_trans_fast(t1);
116
 
117
LAB11:    goto LAB3;
118
 
119
LAB7:    t2 = (t0 + 1512U);
120
    t5 = *((char **)t2);
121
    t11 = *((unsigned char *)t5);
122
    t12 = (t11 == (unsigned char)1);
123
    t3 = t12;
124
    goto LAB9;
125
 
126
LAB10:    xsi_set_current_line(71, ng0);
127
    t2 = (t0 + 6004);
128
    t8 = (t0 + 3656);
129
    t9 = (t8 + 56U);
130
    t10 = *((char **)t9);
131
    t15 = (t10 + 56U);
132
    t16 = *((char **)t15);
133
    memcpy(t16, t2, 10U);
134
    xsi_driver_first_trans_fast(t8);
135
    goto LAB11;
136
 
137
LAB13:    xsi_set_current_line(73, ng0);
138
    t1 = (t0 + 1832U);
139
    t5 = *((char **)t1);
140
    t1 = (t0 + 5956U);
141
    t6 = (t0 + 6014);
142
    t8 = (t18 + 0U);
143
    t9 = (t8 + 0U);
144
    *((int *)t9) = 0;
145
    t9 = (t8 + 4U);
146
    *((int *)t9) = 9;
147
    t9 = (t8 + 8U);
148
    *((int *)t9) = 1;
149
    t19 = (9 - 0);
150
    t20 = (t19 * 1);
151
    t20 = (t20 + 1);
152
    t9 = (t8 + 12U);
153
    *((unsigned int *)t9) = t20;
154
    t9 = dzx_p_3728046382_sub_3251038083_2632892140(DZX_P_3728046382, t17, t5, t1, t6, t18);
155
    t10 = (t17 + 12U);
156
    t20 = *((unsigned int *)t10);
157
    t21 = (1U * t20);
158
    t11 = (10U != t21);
159
    if (t11 == 1)
160
        goto LAB15;
161
 
162
LAB16:    t15 = (t0 + 3656);
163
    t16 = (t15 + 56U);
164
    t22 = *((char **)t16);
165
    t23 = (t22 + 56U);
166
    t24 = *((char **)t23);
167
    memcpy(t24, t9, 10U);
168
    xsi_driver_first_trans_fast(t15);
169
    goto LAB11;
170
 
171
LAB15:    xsi_size_not_matching(10U, t21, 0);
172
    goto LAB16;
173
 
174
}
175
 
176
static void work_a_1194942728_1181938964_p_1(char *t0)
177
{
178
    char *t1;
179
    char *t2;
180
    char *t3;
181
    char *t4;
182
    char *t5;
183
    char *t6;
184
    char *t7;
185
 
186
LAB0:    xsi_set_current_line(81, ng0);
187
 
188
LAB3:    t1 = (t0 + 1832U);
189
    t2 = *((char **)t1);
190
    t1 = (t0 + 3720);
191
    t3 = (t1 + 56U);
192
    t4 = *((char **)t3);
193
    t5 = (t4 + 56U);
194
    t6 = *((char **)t5);
195
    memcpy(t6, t2, 10U);
196
    xsi_driver_first_trans_fast_port(t1);
197
 
198
LAB2:    t7 = (t0 + 3576);
199
    *((int *)t7) = 1;
200
 
201
LAB1:    return;
202
LAB4:    goto LAB2;
203
 
204
}
205
 
206
 
207
extern void work_a_1194942728_1181938964_init()
208
{
209
        static char *pe[] = {(void *)work_a_1194942728_1181938964_p_0,(void *)work_a_1194942728_1181938964_p_1};
210
        xsi_register_didat("work_a_1194942728_1181938964", "isim/testbench_isim_beh.exe.sim/work/a_1194942728_1181938964.didat");
211
        xsi_register_executes(pe);
212
}

powered by: WebSVN 2.1.0

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