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_2117888929_1177631651.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/latch98.vhd";
25
extern char *STD_STANDARD;
26
 
27
 
28
 
29
static void work_a_2117888929_1177631651_p_0(char *t0)
30
{
31
    char t9[16];
32
    char t11[16];
33
    char t16[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 *t10;
43
    char *t12;
44
    char *t13;
45
    int t14;
46
    unsigned int t15;
47
    char *t17;
48
    int t18;
49
    unsigned char t19;
50
    char *t20;
51
    char *t21;
52
    char *t22;
53
    char *t23;
54
    unsigned char t24;
55
    unsigned char t25;
56
    unsigned char t26;
57
    unsigned char t27;
58
    char *t28;
59
    char *t29;
60
 
61
LAB0:    xsi_set_current_line(59, ng0);
62
    t1 = (t0 + 1192U);
63
    t2 = *((char **)t1);
64
    t3 = *((unsigned char *)t2);
65
    t4 = (t3 == (unsigned char)0);
66
    if (t4 != 0)
67
        goto LAB2;
68
 
69
LAB4:    t1 = (t0 + 1472U);
70
    t4 = xsi_signal_has_event(t1);
71
    if (t4 == 1)
72
        goto LAB9;
73
 
74
LAB10:    t3 = (unsigned char)0;
75
 
76
LAB11:    if (t3 != 0)
77
        goto LAB7;
78
 
79
LAB8:
80
LAB3:    t1 = (t0 + 3152);
81
    *((int *)t1) = 1;
82
 
83
LAB1:    return;
84
LAB2:    xsi_set_current_line(60, ng0);
85
    t1 = (t0 + 5193);
86
    t6 = (t0 + 5195);
87
    t10 = ((STD_STANDARD) + 1112);
88
    t12 = (t11 + 0U);
89
    t13 = (t12 + 0U);
90
    *((int *)t13) = 0;
91
    t13 = (t12 + 4U);
92
    *((int *)t13) = 1;
93
    t13 = (t12 + 8U);
94
    *((int *)t13) = 1;
95
    t14 = (1 - 0);
96
    t15 = (t14 * 1);
97
    t15 = (t15 + 1);
98
    t13 = (t12 + 12U);
99
    *((unsigned int *)t13) = t15;
100
    t13 = (t16 + 0U);
101
    t17 = (t13 + 0U);
102
    *((int *)t17) = 0;
103
    t17 = (t13 + 4U);
104
    *((int *)t17) = 95;
105
    t17 = (t13 + 8U);
106
    *((int *)t17) = 1;
107
    t18 = (95 - 0);
108
    t15 = (t18 * 1);
109
    t15 = (t15 + 1);
110
    t17 = (t13 + 12U);
111
    *((unsigned int *)t17) = t15;
112
    t8 = xsi_base_array_concat(t8, t9, t10, (char)97, t1, t11, (char)97, t6, t16, (char)101);
113
    t15 = (2U + 96U);
114
    t19 = (98U != t15);
115
    if (t19 == 1)
116
        goto LAB5;
117
 
118
LAB6:    t17 = (t0 + 3232);
119
    t20 = (t17 + 56U);
120
    t21 = *((char **)t20);
121
    t22 = (t21 + 56U);
122
    t23 = *((char **)t22);
123
    memcpy(t23, t8, 98U);
124
    xsi_driver_first_trans_fast_port(t17);
125
    goto LAB3;
126
 
127
LAB5:    xsi_size_not_matching(98U, t15, 0);
128
    goto LAB6;
129
 
130
LAB7:    xsi_set_current_line(62, ng0);
131
    t2 = (t0 + 1352U);
132
    t6 = *((char **)t2);
133
    t25 = *((unsigned char *)t6);
134
    t26 = (t25 == (unsigned char)0);
135
    if (t26 != 0)
136
        goto LAB12;
137
 
138
LAB14:    xsi_set_current_line(65, ng0);
139
    t1 = (t0 + 1032U);
140
    t2 = *((char **)t1);
141
    t1 = (t0 + 3232);
142
    t5 = (t1 + 56U);
143
    t6 = *((char **)t5);
144
    t7 = (t6 + 56U);
145
    t8 = *((char **)t7);
146
    memcpy(t8, t2, 98U);
147
    xsi_driver_first_trans_fast_port(t1);
148
 
149
LAB13:    goto LAB3;
150
 
151
LAB9:    t2 = (t0 + 1512U);
152
    t5 = *((char **)t2);
153
    t19 = *((unsigned char *)t5);
154
    t24 = (t19 == (unsigned char)1);
155
    t3 = t24;
156
    goto LAB11;
157
 
158
LAB12:    xsi_set_current_line(63, ng0);
159
    t2 = (t0 + 5291);
160
    t8 = (t0 + 5293);
161
    t13 = ((STD_STANDARD) + 1112);
162
    t17 = (t11 + 0U);
163
    t20 = (t17 + 0U);
164
    *((int *)t20) = 0;
165
    t20 = (t17 + 4U);
166
    *((int *)t20) = 1;
167
    t20 = (t17 + 8U);
168
    *((int *)t20) = 1;
169
    t14 = (1 - 0);
170
    t15 = (t14 * 1);
171
    t15 = (t15 + 1);
172
    t20 = (t17 + 12U);
173
    *((unsigned int *)t20) = t15;
174
    t20 = (t16 + 0U);
175
    t21 = (t20 + 0U);
176
    *((int *)t21) = 0;
177
    t21 = (t20 + 4U);
178
    *((int *)t21) = 95;
179
    t21 = (t20 + 8U);
180
    *((int *)t21) = 1;
181
    t18 = (95 - 0);
182
    t15 = (t18 * 1);
183
    t15 = (t15 + 1);
184
    t21 = (t20 + 12U);
185
    *((unsigned int *)t21) = t15;
186
    t12 = xsi_base_array_concat(t12, t9, t13, (char)97, t2, t11, (char)97, t8, t16, (char)101);
187
    t15 = (2U + 96U);
188
    t27 = (98U != t15);
189
    if (t27 == 1)
190
        goto LAB15;
191
 
192
LAB16:    t21 = (t0 + 3232);
193
    t22 = (t21 + 56U);
194
    t23 = *((char **)t22);
195
    t28 = (t23 + 56U);
196
    t29 = *((char **)t28);
197
    memcpy(t29, t12, 98U);
198
    xsi_driver_first_trans_fast_port(t21);
199
    goto LAB13;
200
 
201
LAB15:    xsi_size_not_matching(98U, t15, 0);
202
    goto LAB16;
203
 
204
}
205
 
206
 
207
extern void work_a_2117888929_1177631651_init()
208
{
209
        static char *pe[] = {(void *)work_a_2117888929_1177631651_p_0};
210
        xsi_register_didat("work_a_2117888929_1177631651", "isim/testbench_isim_beh.exe.sim/work/a_2117888929_1177631651.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.