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

Subversion Repositories graphicsaccelerator

[/] [graphicsaccelerator/] [trunk/] [isim/] [Bresenhammer_Sim_isim_beh.exe.sim/] [work/] [a_4201040627_2372691052.c] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 OmarMokhta
/**********************************************************************/
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 0xfb738814 */
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/omar/LineFPGA/Bresenhammer_Sim.vhd";
25
 
26
 
27
 
28
static void work_a_4201040627_2372691052_p_0(char *t0)
29
{
30
    char *t1;
31
    char *t2;
32
    char *t3;
33
    char *t4;
34
    char *t5;
35
    char *t6;
36
    int64 t7;
37
    int64 t8;
38
 
39
LAB0:    t1 = (t0 + 2320U);
40
    t2 = *((char **)t1);
41
    if (t2 == 0)
42
        goto LAB2;
43
 
44
LAB3:    goto *t2;
45
 
46
LAB2:    xsi_set_current_line(100, ng0);
47
    t2 = (t0 + 2672);
48
    t3 = (t2 + 32U);
49
    t4 = *((char **)t3);
50
    t5 = (t4 + 32U);
51
    t6 = *((char **)t5);
52
    *((unsigned char *)t6) = (unsigned char)2;
53
    xsi_driver_first_trans_fast(t2);
54
    xsi_set_current_line(101, ng0);
55
    t2 = (t0 + 1776U);
56
    t3 = *((char **)t2);
57
    t7 = *((int64 *)t3);
58
    t8 = (t7 / 2);
59
    t2 = (t0 + 2220);
60
    xsi_process_wait(t2, t8);
61
 
62
LAB6:    *((char **)t1) = &&LAB7;
63
 
64
LAB1:    return;
65
LAB4:    xsi_set_current_line(102, ng0);
66
    t2 = (t0 + 2672);
67
    t3 = (t2 + 32U);
68
    t4 = *((char **)t3);
69
    t5 = (t4 + 32U);
70
    t6 = *((char **)t5);
71
    *((unsigned char *)t6) = (unsigned char)3;
72
    xsi_driver_first_trans_fast(t2);
73
    xsi_set_current_line(103, ng0);
74
    t2 = (t0 + 1776U);
75
    t3 = *((char **)t2);
76
    t7 = *((int64 *)t3);
77
    t8 = (t7 / 2);
78
    t2 = (t0 + 2220);
79
    xsi_process_wait(t2, t8);
80
 
81
LAB10:    *((char **)t1) = &&LAB11;
82
    goto LAB1;
83
 
84
LAB5:    goto LAB4;
85
 
86
LAB7:    goto LAB5;
87
 
88
LAB8:    goto LAB2;
89
 
90
LAB9:    goto LAB8;
91
 
92
LAB11:    goto LAB9;
93
 
94
}
95
 
96
static void work_a_4201040627_2372691052_p_1(char *t0)
97
{
98
    char *t1;
99
    char *t2;
100
    char *t3;
101
    char *t4;
102
    char *t5;
103
    char *t6;
104
    char *t7;
105
    char *t8;
106
    int64 t9;
107
    int64 t10;
108
 
109
LAB0:    t1 = (t0 + 2456U);
110
    t2 = *((char **)t1);
111
    if (t2 == 0)
112
        goto LAB2;
113
 
114
LAB3:    goto *t2;
115
 
116
LAB2:    xsi_set_current_line(111, ng0);
117
    t2 = (t0 + 2708);
118
    t3 = (t2 + 32U);
119
    t4 = *((char **)t3);
120
    t5 = (t4 + 32U);
121
    t6 = *((char **)t5);
122
    *((unsigned char *)t6) = (unsigned char)3;
123
    xsi_driver_first_trans_fast(t2);
124
    xsi_set_current_line(112, ng0);
125
    t2 = (t0 + 4928);
126
    t4 = (t0 + 2744);
127
    t5 = (t4 + 32U);
128
    t6 = *((char **)t5);
129
    t7 = (t6 + 32U);
130
    t8 = *((char **)t7);
131
    memcpy(t8, t2, 10U);
132
    xsi_driver_first_trans_fast(t4);
133
    xsi_set_current_line(113, ng0);
134
    t2 = (t0 + 4938);
135
    t4 = (t0 + 2780);
136
    t5 = (t4 + 32U);
137
    t6 = *((char **)t5);
138
    t7 = (t6 + 32U);
139
    t8 = *((char **)t7);
140
    memcpy(t8, t2, 9U);
141
    xsi_driver_first_trans_fast(t4);
142
    xsi_set_current_line(114, ng0);
143
    t2 = (t0 + 4947);
144
    t4 = (t0 + 2816);
145
    t5 = (t4 + 32U);
146
    t6 = *((char **)t5);
147
    t7 = (t6 + 32U);
148
    t8 = *((char **)t7);
149
    memcpy(t8, t2, 10U);
150
    xsi_driver_first_trans_fast(t4);
151
    xsi_set_current_line(115, ng0);
152
    t2 = (t0 + 4957);
153
    t4 = (t0 + 2852);
154
    t5 = (t4 + 32U);
155
    t6 = *((char **)t5);
156
    t7 = (t6 + 32U);
157
    t8 = *((char **)t7);
158
    memcpy(t8, t2, 9U);
159
    xsi_driver_first_trans_fast(t4);
160
    xsi_set_current_line(116, ng0);
161
    t2 = (t0 + 2888);
162
    t3 = (t2 + 32U);
163
    t4 = *((char **)t3);
164
    t5 = (t4 + 32U);
165
    t6 = *((char **)t5);
166
    *((unsigned char *)t6) = (unsigned char)2;
167
    xsi_driver_first_trans_fast(t2);
168
    xsi_set_current_line(117, ng0);
169
    t2 = (t0 + 1776U);
170
    t3 = *((char **)t2);
171
    t9 = *((int64 *)t3);
172
    t10 = (t9 * 2);
173
    t2 = (t0 + 2356);
174
    xsi_process_wait(t2, t10);
175
 
176
LAB6:    *((char **)t1) = &&LAB7;
177
 
178
LAB1:    return;
179
LAB4:    xsi_set_current_line(118, ng0);
180
    t2 = (t0 + 2708);
181
    t3 = (t2 + 32U);
182
    t4 = *((char **)t3);
183
    t5 = (t4 + 32U);
184
    t6 = *((char **)t5);
185
    *((unsigned char *)t6) = (unsigned char)2;
186
    xsi_driver_first_trans_fast(t2);
187
    xsi_set_current_line(119, ng0);
188
 
189
LAB10:    *((char **)t1) = &&LAB11;
190
    goto LAB1;
191
 
192
LAB5:    goto LAB4;
193
 
194
LAB7:    goto LAB5;
195
 
196
LAB8:    goto LAB2;
197
 
198
LAB9:    goto LAB8;
199
 
200
LAB11:    goto LAB9;
201
 
202
}
203
 
204
 
205
extern void work_a_4201040627_2372691052_init()
206
{
207
        static char *pe[] = {(void *)work_a_4201040627_2372691052_p_0,(void *)work_a_4201040627_2372691052_p_1};
208
        xsi_register_didat("work_a_4201040627_2372691052", "isim/Bresenhammer_Sim_isim_beh.exe.sim/work/a_4201040627_2372691052.didat");
209
        xsi_register_executes(pe);
210
}

powered by: WebSVN 2.1.0

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