1 | /**********************************************************************/ |
---|
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 0x16fbe694 */ |
---|
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:/Core MPI/SWITCH_GENERIC_16_16/RAM_256.vhd"; |
---|
25 | extern char *IEEE_P_3620187407; |
---|
26 | |
---|
27 | int ieee_p_3620187407_sub_514432868_3620187407(char *, char *, char *); |
---|
28 | |
---|
29 | |
---|
30 | static void noclib_a_3178464656_3212880686_p_0(char *t0) |
---|
31 | { |
---|
32 | unsigned char t1; |
---|
33 | char *t2; |
---|
34 | unsigned char t3; |
---|
35 | char *t4; |
---|
36 | char *t5; |
---|
37 | unsigned char t6; |
---|
38 | unsigned char t7; |
---|
39 | char *t8; |
---|
40 | unsigned char t9; |
---|
41 | unsigned char t10; |
---|
42 | char *t11; |
---|
43 | unsigned char t12; |
---|
44 | unsigned char t13; |
---|
45 | char *t14; |
---|
46 | char *t15; |
---|
47 | int t16; |
---|
48 | int t17; |
---|
49 | unsigned int t18; |
---|
50 | unsigned int t19; |
---|
51 | unsigned int t20; |
---|
52 | char *t21; |
---|
53 | char *t22; |
---|
54 | char *t23; |
---|
55 | char *t24; |
---|
56 | char *t25; |
---|
57 | |
---|
58 | LAB0: xsi_set_current_line(49, ng0); |
---|
59 | t2 = (t0 + 992U); |
---|
60 | t3 = xsi_signal_has_event(t2); |
---|
61 | if (t3 == 1) |
---|
62 | goto LAB5; |
---|
63 | |
---|
64 | LAB6: t1 = (unsigned char)0; |
---|
65 | |
---|
66 | LAB7: if (t1 != 0) |
---|
67 | goto LAB2; |
---|
68 | |
---|
69 | LAB4: |
---|
70 | LAB3: t2 = (t0 + 4200); |
---|
71 | *((int *)t2) = 1; |
---|
72 | |
---|
73 | LAB1: return; |
---|
74 | LAB2: xsi_set_current_line(50, ng0); |
---|
75 | t4 = (t0 + 1512U); |
---|
76 | t8 = *((char **)t4); |
---|
77 | t9 = *((unsigned char *)t8); |
---|
78 | t10 = (t9 == (unsigned char)3); |
---|
79 | if (t10 != 0) |
---|
80 | goto LAB8; |
---|
81 | |
---|
82 | LAB10: |
---|
83 | LAB9: goto LAB3; |
---|
84 | |
---|
85 | LAB5: t4 = (t0 + 1032U); |
---|
86 | t5 = *((char **)t4); |
---|
87 | t6 = *((unsigned char *)t5); |
---|
88 | t7 = (t6 == (unsigned char)3); |
---|
89 | t1 = t7; |
---|
90 | goto LAB7; |
---|
91 | |
---|
92 | LAB8: xsi_set_current_line(51, ng0); |
---|
93 | t4 = (t0 + 1352U); |
---|
94 | t11 = *((char **)t4); |
---|
95 | t12 = *((unsigned char *)t11); |
---|
96 | t13 = (t12 == (unsigned char)3); |
---|
97 | if (t13 != 0) |
---|
98 | goto LAB11; |
---|
99 | |
---|
100 | LAB13: |
---|
101 | LAB12: goto LAB9; |
---|
102 | |
---|
103 | LAB11: xsi_set_current_line(52, ng0); |
---|
104 | t4 = (t0 + 2152U); |
---|
105 | t14 = *((char **)t4); |
---|
106 | t4 = (t0 + 1832U); |
---|
107 | t15 = *((char **)t4); |
---|
108 | t4 = (t0 + 6744U); |
---|
109 | t16 = ieee_p_3620187407_sub_514432868_3620187407(IEEE_P_3620187407, t15, t4); |
---|
110 | t17 = (t16 - 255); |
---|
111 | t18 = (t17 * -1); |
---|
112 | t19 = (8U * t18); |
---|
113 | t20 = (0U + t19); |
---|
114 | t21 = (t0 + 4296); |
---|
115 | t22 = (t21 + 56U); |
---|
116 | t23 = *((char **)t22); |
---|
117 | t24 = (t23 + 56U); |
---|
118 | t25 = *((char **)t24); |
---|
119 | memcpy(t25, t14, 8U); |
---|
120 | xsi_driver_first_trans_delta(t21, t20, 8U, 0LL); |
---|
121 | goto LAB12; |
---|
122 | |
---|
123 | } |
---|
124 | |
---|
125 | static void noclib_a_3178464656_3212880686_p_1(char *t0) |
---|
126 | { |
---|
127 | unsigned char t1; |
---|
128 | char *t2; |
---|
129 | unsigned char t3; |
---|
130 | char *t4; |
---|
131 | char *t5; |
---|
132 | unsigned char t6; |
---|
133 | unsigned char t7; |
---|
134 | char *t8; |
---|
135 | unsigned char t9; |
---|
136 | unsigned char t10; |
---|
137 | char *t11; |
---|
138 | char *t12; |
---|
139 | int t13; |
---|
140 | int t14; |
---|
141 | unsigned int t15; |
---|
142 | unsigned int t16; |
---|
143 | unsigned int t17; |
---|
144 | char *t18; |
---|
145 | char *t19; |
---|
146 | char *t20; |
---|
147 | char *t21; |
---|
148 | char *t22; |
---|
149 | char *t23; |
---|
150 | |
---|
151 | LAB0: xsi_set_current_line(60, ng0); |
---|
152 | t2 = (t0 + 1152U); |
---|
153 | t3 = xsi_signal_has_event(t2); |
---|
154 | if (t3 == 1) |
---|
155 | goto LAB5; |
---|
156 | |
---|
157 | LAB6: t1 = (unsigned char)0; |
---|
158 | |
---|
159 | LAB7: if (t1 != 0) |
---|
160 | goto LAB2; |
---|
161 | |
---|
162 | LAB4: |
---|
163 | LAB3: t2 = (t0 + 4216); |
---|
164 | *((int *)t2) = 1; |
---|
165 | |
---|
166 | LAB1: return; |
---|
167 | LAB2: xsi_set_current_line(61, ng0); |
---|
168 | t4 = (t0 + 1672U); |
---|
169 | t8 = *((char **)t4); |
---|
170 | t9 = *((unsigned char *)t8); |
---|
171 | t10 = (t9 == (unsigned char)3); |
---|
172 | if (t10 != 0) |
---|
173 | goto LAB8; |
---|
174 | |
---|
175 | LAB10: |
---|
176 | LAB9: goto LAB3; |
---|
177 | |
---|
178 | LAB5: t4 = (t0 + 1192U); |
---|
179 | t5 = *((char **)t4); |
---|
180 | t6 = *((unsigned char *)t5); |
---|
181 | t7 = (t6 == (unsigned char)3); |
---|
182 | t1 = t7; |
---|
183 | goto LAB7; |
---|
184 | |
---|
185 | LAB8: xsi_set_current_line(62, ng0); |
---|
186 | t4 = (t0 + 2472U); |
---|
187 | t11 = *((char **)t4); |
---|
188 | t4 = (t0 + 1992U); |
---|
189 | t12 = *((char **)t4); |
---|
190 | t4 = (t0 + 6760U); |
---|
191 | t13 = ieee_p_3620187407_sub_514432868_3620187407(IEEE_P_3620187407, t12, t4); |
---|
192 | t14 = (t13 - 255); |
---|
193 | t15 = (t14 * -1); |
---|
194 | xsi_vhdl_check_range_of_index(255, 0, -1, t13); |
---|
195 | t16 = (8U * t15); |
---|
196 | t17 = (0 + t16); |
---|
197 | t18 = (t11 + t17); |
---|
198 | t19 = (t0 + 4360); |
---|
199 | t20 = (t19 + 56U); |
---|
200 | t21 = *((char **)t20); |
---|
201 | t22 = (t21 + 56U); |
---|
202 | t23 = *((char **)t22); |
---|
203 | memcpy(t23, t18, 8U); |
---|
204 | xsi_driver_first_trans_fast_port(t19); |
---|
205 | goto LAB9; |
---|
206 | |
---|
207 | } |
---|
208 | |
---|
209 | |
---|
210 | extern void noclib_a_3178464656_3212880686_init() |
---|
211 | { |
---|
212 | static char *pe[] = {(void *)noclib_a_3178464656_3212880686_p_0,(void *)noclib_a_3178464656_3212880686_p_1}; |
---|
213 | xsi_register_didat("noclib_a_3178464656_3212880686", "isim/MultiMPITest_isim_beh.exe.sim/noclib/a_3178464656_3212880686.didat"); |
---|
214 | xsi_register_executes(pe); |
---|
215 | } |
---|