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

Subversion Repositories vtach

[/] [vtach/] [trunk/] [isim/] [vtach_test_isim_beh.exe.sim/] [work/] [m_04254734149188626207_4247330768.c] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 wd5gnr
/**********************************************************************/
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 0xb4d1ced7 */
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 = "/home/alw/projects/vtachspartan/io_output.v";
25
static unsigned int ng1[] = {8191U, 8191U};
26
static unsigned int ng2[] = {0U, 0U};
27
 
28
 
29
 
30
static void Cont_13_0(char *t0)
31
{
32
    char t3[8];
33
    char t4[8];
34
    char t6[8];
35
    char *t1;
36
    char *t2;
37
    char *t5;
38
    char *t7;
39
    char *t8;
40
    char *t9;
41
    unsigned int t10;
42
    unsigned int t11;
43
    unsigned int t12;
44
    unsigned int t13;
45
    unsigned int t14;
46
    char *t15;
47
    char *t16;
48
    unsigned int t17;
49
    unsigned int t18;
50
    unsigned int t19;
51
    char *t20;
52
    unsigned int t21;
53
    unsigned int t22;
54
    unsigned int t23;
55
    unsigned int t24;
56
    char *t25;
57
    char *t26;
58
    char *t27;
59
    char *t28;
60
    char *t29;
61
    char *t30;
62
    unsigned int t31;
63
    unsigned int t32;
64
    char *t33;
65
    unsigned int t34;
66
    unsigned int t35;
67
    char *t36;
68
    unsigned int t37;
69
    unsigned int t38;
70
    char *t39;
71
 
72
LAB0:    t1 = (t0 + 4760U);
73
    t2 = *((char **)t1);
74
    if (t2 == 0)
75
        goto LAB2;
76
 
77
LAB3:    goto *t2;
78
 
79
LAB2:    xsi_set_current_line(13, ng0);
80
    t2 = (t0 + 1368U);
81
    t5 = *((char **)t2);
82
    t2 = ((char*)((ng1)));
83
    memset(t6, 0, 8);
84
    if (*((unsigned int *)t5) != *((unsigned int *)t2))
85
        goto LAB6;
86
 
87
LAB4:    t7 = (t5 + 4);
88
    t8 = (t2 + 4);
89
    if (*((unsigned int *)t7) != *((unsigned int *)t8))
90
        goto LAB6;
91
 
92
LAB5:    *((unsigned int *)t6) = 1;
93
 
94
LAB6:    memset(t4, 0, 8);
95
    t9 = (t6 + 4);
96
    t10 = *((unsigned int *)t9);
97
    t11 = (~(t10));
98
    t12 = *((unsigned int *)t6);
99
    t13 = (t12 & t11);
100
    t14 = (t13 & 1U);
101
    if (t14 != 0)
102
        goto LAB7;
103
 
104
LAB8:    if (*((unsigned int *)t9) != 0)
105
        goto LAB9;
106
 
107
LAB10:    t16 = (t4 + 4);
108
    t17 = *((unsigned int *)t4);
109
    t18 = *((unsigned int *)t16);
110
    t19 = (t17 || t18);
111
    if (t19 > 0)
112
        goto LAB11;
113
 
114
LAB12:    t21 = *((unsigned int *)t4);
115
    t22 = (~(t21));
116
    t23 = *((unsigned int *)t16);
117
    t24 = (t22 || t23);
118
    if (t24 > 0)
119
        goto LAB13;
120
 
121
LAB14:    if (*((unsigned int *)t16) > 0)
122
        goto LAB15;
123
 
124
LAB16:    if (*((unsigned int *)t4) > 0)
125
        goto LAB17;
126
 
127
LAB18:    memcpy(t3, t26, 8);
128
 
129
LAB19:    t25 = (t0 + 5424);
130
    t27 = (t25 + 56U);
131
    t28 = *((char **)t27);
132
    t29 = (t28 + 56U);
133
    t30 = *((char **)t29);
134
    memset(t30, 0, 8);
135
    t31 = 8191U;
136
    t32 = t31;
137
    t33 = (t3 + 4);
138
    t34 = *((unsigned int *)t3);
139
    t31 = (t31 & t34);
140
    t35 = *((unsigned int *)t33);
141
    t32 = (t32 & t35);
142
    t36 = (t30 + 4);
143
    t37 = *((unsigned int *)t30);
144
    *((unsigned int *)t30) = (t37 | t31);
145
    t38 = *((unsigned int *)t36);
146
    *((unsigned int *)t36) = (t38 | t32);
147
    xsi_driver_vfirst_trans(t25, 0, 12);
148
    t39 = (t0 + 5328);
149
    *((int *)t39) = 1;
150
 
151
LAB1:    return;
152
LAB7:    *((unsigned int *)t4) = 1;
153
    goto LAB10;
154
 
155
LAB9:    t15 = (t4 + 4);
156
    *((unsigned int *)t4) = 1;
157
    *((unsigned int *)t15) = 1;
158
    goto LAB10;
159
 
160
LAB11:    t20 = ((char*)((ng2)));
161
    goto LAB12;
162
 
163
LAB13:    t25 = (t0 + 1368U);
164
    t26 = *((char **)t25);
165
    goto LAB14;
166
 
167
LAB15:    xsi_vlog_unsigned_bit_combine(t3, 13, t20, 13, t26, 13);
168
    goto LAB19;
169
 
170
LAB17:    memcpy(t3, t20, 8);
171
    goto LAB19;
172
 
173
}
174
 
175
static void Always_15_1(char *t0)
176
{
177
    char *t1;
178
    char *t2;
179
    char *t3;
180
    char *t4;
181
    char *t5;
182
    unsigned int t6;
183
    unsigned int t7;
184
    unsigned int t8;
185
    unsigned int t9;
186
    unsigned int t10;
187
    char *t11;
188
    char *t12;
189
 
190
LAB0:    t1 = (t0 + 5008U);
191
    t2 = *((char **)t1);
192
    if (t2 == 0)
193
        goto LAB2;
194
 
195
LAB3:    goto *t2;
196
 
197
LAB2:    xsi_set_current_line(15, ng0);
198
    t2 = (t0 + 5344);
199
    *((int *)t2) = 1;
200
    t3 = (t0 + 5040);
201
    *((char **)t3) = t2;
202
    *((char **)t1) = &&LAB4;
203
 
204
LAB1:    return;
205
LAB4:    xsi_set_current_line(16, ng0);
206
    t4 = (t0 + 1208U);
207
    t5 = *((char **)t4);
208
    t4 = (t5 + 4);
209
    t6 = *((unsigned int *)t4);
210
    t7 = (~(t6));
211
    t8 = *((unsigned int *)t5);
212
    t9 = (t8 & t7);
213
    t10 = (t9 != 0);
214
    if (t10 > 0)
215
        goto LAB5;
216
 
217
LAB6:
218
LAB7:    goto LAB2;
219
 
220
LAB5:    xsi_set_current_line(17, ng0);
221
    t11 = (t0 + 3448U);
222
    t12 = *((char **)t11);
223
    t11 = (t0 + 3848);
224
    xsi_vlogvar_wait_assign_value(t11, t12, 0, 0, 13, 0LL);
225
    goto LAB7;
226
 
227
}
228
 
229
 
230
extern void work_m_04254734149188626207_4247330768_init()
231
{
232
        static char *pe[] = {(void *)Cont_13_0,(void *)Always_15_1};
233
        xsi_register_didat("work_m_04254734149188626207_4247330768", "isim/vtach_test_isim_beh.exe.sim/work/m_04254734149188626207_4247330768.didat");
234
        xsi_register_executes(pe);
235
}

powered by: WebSVN 2.1.0

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