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

Subversion Repositories vtach

[/] [vtach/] [trunk/] [isim/] [vtach_test_isim_beh.exe.sim/] [work/] [m_09336331803200154579_2188239809.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_input.v";
25
static unsigned int ng1[] = {0U, 8191U};
26
static unsigned int ng2[] = {0U, 0U};
27
 
28
 
29
 
30
static void Cont_14_0(char *t0)
31
{
32
    char t3[8];
33
    char t4[8];
34
    char *t1;
35
    char *t2;
36
    char *t5;
37
    unsigned int t6;
38
    unsigned int t7;
39
    unsigned int t8;
40
    unsigned int t9;
41
    unsigned int t10;
42
    char *t11;
43
    char *t12;
44
    unsigned int t13;
45
    unsigned int t14;
46
    unsigned int t15;
47
    char *t16;
48
    char *t17;
49
    char *t18;
50
    unsigned int t19;
51
    unsigned int t20;
52
    unsigned int t21;
53
    unsigned int t22;
54
    char *t23;
55
    char *t24;
56
    char *t25;
57
    char *t26;
58
    char *t27;
59
    char *t28;
60
    unsigned int t29;
61
    unsigned int t30;
62
    char *t31;
63
    unsigned int t32;
64
    unsigned int t33;
65
    char *t34;
66
    unsigned int t35;
67
    unsigned int t36;
68
    char *t37;
69
 
70
LAB0:    t1 = (t0 + 3320U);
71
    t2 = *((char **)t1);
72
    if (t2 == 0)
73
        goto LAB2;
74
 
75
LAB3:    goto *t2;
76
 
77
LAB2:    xsi_set_current_line(14, ng0);
78
    t2 = (t0 + 1208U);
79
    t5 = *((char **)t2);
80
    memset(t4, 0, 8);
81
    t2 = (t5 + 4);
82
    t6 = *((unsigned int *)t2);
83
    t7 = (~(t6));
84
    t8 = *((unsigned int *)t5);
85
    t9 = (t8 & t7);
86
    t10 = (t9 & 1U);
87
    if (t10 != 0)
88
        goto LAB4;
89
 
90
LAB5:    if (*((unsigned int *)t2) != 0)
91
        goto LAB6;
92
 
93
LAB7:    t12 = (t4 + 4);
94
    t13 = *((unsigned int *)t4);
95
    t14 = *((unsigned int *)t12);
96
    t15 = (t13 || t14);
97
    if (t15 > 0)
98
        goto LAB8;
99
 
100
LAB9:    t19 = *((unsigned int *)t4);
101
    t20 = (~(t19));
102
    t21 = *((unsigned int *)t12);
103
    t22 = (t20 || t21);
104
    if (t22 > 0)
105
        goto LAB10;
106
 
107
LAB11:    if (*((unsigned int *)t12) > 0)
108
        goto LAB12;
109
 
110
LAB13:    if (*((unsigned int *)t4) > 0)
111
        goto LAB14;
112
 
113
LAB15:    memcpy(t3, t23, 8);
114
 
115
LAB16:    t24 = (t0 + 3984);
116
    t25 = (t24 + 56U);
117
    t26 = *((char **)t25);
118
    t27 = (t26 + 56U);
119
    t28 = *((char **)t27);
120
    memset(t28, 0, 8);
121
    t29 = 8191U;
122
    t30 = t29;
123
    t31 = (t3 + 4);
124
    t32 = *((unsigned int *)t3);
125
    t29 = (t29 & t32);
126
    t33 = *((unsigned int *)t31);
127
    t30 = (t30 & t33);
128
    t34 = (t28 + 4);
129
    t35 = *((unsigned int *)t28);
130
    *((unsigned int *)t28) = (t35 | t29);
131
    t36 = *((unsigned int *)t34);
132
    *((unsigned int *)t34) = (t36 | t30);
133
    xsi_driver_vfirst_trans(t24, 0, 12);
134
    t37 = (t0 + 3888);
135
    *((int *)t37) = 1;
136
 
137
LAB1:    return;
138
LAB4:    *((unsigned int *)t4) = 1;
139
    goto LAB7;
140
 
141
LAB6:    t11 = (t4 + 4);
142
    *((unsigned int *)t4) = 1;
143
    *((unsigned int *)t11) = 1;
144
    goto LAB7;
145
 
146
LAB8:    t16 = (t0 + 2248);
147
    t17 = (t16 + 56U);
148
    t18 = *((char **)t17);
149
    goto LAB9;
150
 
151
LAB10:    t23 = ((char*)((ng1)));
152
    goto LAB11;
153
 
154
LAB12:    xsi_vlog_unsigned_bit_combine(t3, 13, t18, 13, t23, 13);
155
    goto LAB16;
156
 
157
LAB14:    memcpy(t3, t18, 8);
158
    goto LAB16;
159
 
160
}
161
 
162
static void Always_19_1(char *t0)
163
{
164
    char t4[8];
165
    char *t1;
166
    char *t2;
167
    char *t3;
168
    char *t5;
169
    char *t6;
170
    char *t7;
171
 
172
LAB0:    t1 = (t0 + 3568U);
173
    t2 = *((char **)t1);
174
    if (t2 == 0)
175
        goto LAB2;
176
 
177
LAB3:    goto *t2;
178
 
179
LAB2:    xsi_set_current_line(19, ng0);
180
    t2 = (t0 + 3904);
181
    *((int *)t2) = 1;
182
    t3 = (t0 + 3600);
183
    *((char **)t3) = t2;
184
    *((char **)t1) = &&LAB4;
185
 
186
LAB1:    return;
187
LAB4:    xsi_set_current_line(20, ng0);
188
 
189
LAB5:    xsi_set_current_line(21, ng0);
190
    t5 = (t0 + 1688U);
191
    t6 = *((char **)t5);
192
    t5 = ((char*)((ng2)));
193
    xsi_vlogtype_concat(t4, 14, 14, 2U, t5, 6, t6, 8);
194
    t7 = (t0 + 2248);
195
    xsi_vlogvar_wait_assign_value(t7, t4, 0, 0, 13, 0LL);
196
    goto LAB2;
197
 
198
}
199
 
200
 
201
extern void work_m_09336331803200154579_2188239809_init()
202
{
203
        static char *pe[] = {(void *)Cont_14_0,(void *)Always_19_1};
204
        xsi_register_didat("work_m_09336331803200154579_2188239809", "isim/vtach_test_isim_beh.exe.sim/work/m_09336331803200154579_2188239809.didat");
205
        xsi_register_executes(pe);
206
}

powered by: WebSVN 2.1.0

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