No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

a_3692836482_2372691052.c 7.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. /**********************************************************************/
  2. /* ____ ____ */
  3. /* / /\/ / */
  4. /* /___/ \ / */
  5. /* \ \ \/ */
  6. /* \ \ Copyright (c) 2003-2009 Xilinx, Inc. */
  7. /* / / All Right Reserved. */
  8. /* /---/ /\ */
  9. /* \ \ / \ */
  10. /* \___\/\___\ */
  11. /***********************************************************************/
  12. /* This file is designed for use with ISim build 0x8ddf5b5d */
  13. #define XSI_HIDE_SYMBOL_SPEC true
  14. #include "xsi.h"
  15. #include <memory.h>
  16. #ifdef __GNUC__
  17. #include <stdlib.h>
  18. #else
  19. #include <malloc.h>
  20. #define alloca _alloca
  21. #endif
  22. static const char *ng0 = "/home/foussats/Bureau/projet_system/projet_systeme/xilinx/ALU/br_test.vhd";
  23. static void work_a_3692836482_2372691052_p_0(char *t0)
  24. {
  25. char *t1;
  26. char *t2;
  27. char *t3;
  28. char *t4;
  29. char *t5;
  30. char *t6;
  31. int64 t7;
  32. int64 t8;
  33. LAB0: t1 = (t0 + 3584U);
  34. t2 = *((char **)t1);
  35. if (t2 == 0)
  36. goto LAB2;
  37. LAB3: goto *t2;
  38. LAB2: xsi_set_current_line(91, ng0);
  39. t2 = (t0 + 4216);
  40. t3 = (t2 + 56U);
  41. t4 = *((char **)t3);
  42. t5 = (t4 + 56U);
  43. t6 = *((char **)t5);
  44. *((unsigned char *)t6) = (unsigned char)2;
  45. xsi_driver_first_trans_fast(t2);
  46. xsi_set_current_line(92, ng0);
  47. t2 = (t0 + 2608U);
  48. t3 = *((char **)t2);
  49. t7 = *((int64 *)t3);
  50. t8 = (t7 / 2);
  51. t2 = (t0 + 3392);
  52. xsi_process_wait(t2, t8);
  53. LAB6: *((char **)t1) = &&LAB7;
  54. LAB1: return;
  55. LAB4: xsi_set_current_line(93, ng0);
  56. t2 = (t0 + 4216);
  57. t3 = (t2 + 56U);
  58. t4 = *((char **)t3);
  59. t5 = (t4 + 56U);
  60. t6 = *((char **)t5);
  61. *((unsigned char *)t6) = (unsigned char)3;
  62. xsi_driver_first_trans_fast(t2);
  63. xsi_set_current_line(94, ng0);
  64. t2 = (t0 + 2608U);
  65. t3 = *((char **)t2);
  66. t7 = *((int64 *)t3);
  67. t8 = (t7 / 2);
  68. t2 = (t0 + 3392);
  69. xsi_process_wait(t2, t8);
  70. LAB10: *((char **)t1) = &&LAB11;
  71. goto LAB1;
  72. LAB5: goto LAB4;
  73. LAB7: goto LAB5;
  74. LAB8: goto LAB2;
  75. LAB9: goto LAB8;
  76. LAB11: goto LAB9;
  77. }
  78. static void work_a_3692836482_2372691052_p_1(char *t0)
  79. {
  80. char *t1;
  81. char *t2;
  82. int64 t3;
  83. char *t4;
  84. int64 t5;
  85. char *t6;
  86. char *t7;
  87. char *t8;
  88. char *t9;
  89. char *t10;
  90. LAB0: t1 = (t0 + 3832U);
  91. t2 = *((char **)t1);
  92. if (t2 == 0)
  93. goto LAB2;
  94. LAB3: goto *t2;
  95. LAB2: xsi_set_current_line(102, ng0);
  96. t3 = (100 * 1000LL);
  97. t2 = (t0 + 3640);
  98. xsi_process_wait(t2, t3);
  99. LAB6: *((char **)t1) = &&LAB7;
  100. LAB1: return;
  101. LAB4: xsi_set_current_line(104, ng0);
  102. t2 = (t0 + 2608U);
  103. t4 = *((char **)t2);
  104. t3 = *((int64 *)t4);
  105. t5 = (t3 * 10);
  106. t2 = (t0 + 3640);
  107. xsi_process_wait(t2, t5);
  108. LAB10: *((char **)t1) = &&LAB11;
  109. goto LAB1;
  110. LAB5: goto LAB4;
  111. LAB7: goto LAB5;
  112. LAB8: xsi_set_current_line(106, ng0);
  113. t2 = (t0 + 4280);
  114. t4 = (t2 + 56U);
  115. t6 = *((char **)t4);
  116. t7 = (t6 + 56U);
  117. t8 = *((char **)t7);
  118. *((unsigned char *)t8) = (unsigned char)3;
  119. xsi_driver_first_trans_fast(t2);
  120. xsi_set_current_line(108, ng0);
  121. t3 = (30 * 1000LL);
  122. t2 = (t0 + 3640);
  123. xsi_process_wait(t2, t3);
  124. LAB14: *((char **)t1) = &&LAB15;
  125. goto LAB1;
  126. LAB9: goto LAB8;
  127. LAB11: goto LAB9;
  128. LAB12: xsi_set_current_line(109, ng0);
  129. t2 = (t0 + 7400);
  130. t6 = (t0 + 4344);
  131. t7 = (t6 + 56U);
  132. t8 = *((char **)t7);
  133. t9 = (t8 + 56U);
  134. t10 = *((char **)t9);
  135. memcpy(t10, t2, 8U);
  136. xsi_driver_first_trans_fast(t6);
  137. xsi_set_current_line(110, ng0);
  138. t2 = (t0 + 7408);
  139. t6 = (t0 + 4408);
  140. t7 = (t6 + 56U);
  141. t8 = *((char **)t7);
  142. t9 = (t8 + 56U);
  143. t10 = *((char **)t9);
  144. memcpy(t10, t2, 4U);
  145. xsi_driver_first_trans_fast(t6);
  146. xsi_set_current_line(111, ng0);
  147. t2 = (t0 + 4472);
  148. t4 = (t2 + 56U);
  149. t6 = *((char **)t4);
  150. t7 = (t6 + 56U);
  151. t8 = *((char **)t7);
  152. *((unsigned char *)t8) = (unsigned char)3;
  153. xsi_driver_first_trans_fast(t2);
  154. xsi_set_current_line(112, ng0);
  155. t3 = (30 * 1000LL);
  156. t2 = (t0 + 3640);
  157. xsi_process_wait(t2, t3);
  158. LAB18: *((char **)t1) = &&LAB19;
  159. goto LAB1;
  160. LAB13: goto LAB12;
  161. LAB15: goto LAB13;
  162. LAB16: xsi_set_current_line(113, ng0);
  163. t2 = (t0 + 7412);
  164. t6 = (t0 + 4408);
  165. t7 = (t6 + 56U);
  166. t8 = *((char **)t7);
  167. t9 = (t8 + 56U);
  168. t10 = *((char **)t9);
  169. memcpy(t10, t2, 4U);
  170. xsi_driver_first_trans_fast(t6);
  171. xsi_set_current_line(114, ng0);
  172. t2 = (t0 + 7416);
  173. t6 = (t0 + 4344);
  174. t7 = (t6 + 56U);
  175. t8 = *((char **)t7);
  176. t9 = (t8 + 56U);
  177. t10 = *((char **)t9);
  178. memcpy(t10, t2, 8U);
  179. xsi_driver_first_trans_fast(t6);
  180. xsi_set_current_line(115, ng0);
  181. t3 = (30 * 1000LL);
  182. t2 = (t0 + 3640);
  183. xsi_process_wait(t2, t3);
  184. LAB22: *((char **)t1) = &&LAB23;
  185. goto LAB1;
  186. LAB17: goto LAB16;
  187. LAB19: goto LAB17;
  188. LAB20: xsi_set_current_line(117, ng0);
  189. t2 = (t0 + 4472);
  190. t4 = (t2 + 56U);
  191. t6 = *((char **)t4);
  192. t7 = (t6 + 56U);
  193. t8 = *((char **)t7);
  194. *((unsigned char *)t8) = (unsigned char)2;
  195. xsi_driver_first_trans_fast(t2);
  196. xsi_set_current_line(118, ng0);
  197. t2 = (t0 + 7424);
  198. t6 = (t0 + 4536);
  199. t7 = (t6 + 56U);
  200. t8 = *((char **)t7);
  201. t9 = (t8 + 56U);
  202. t10 = *((char **)t9);
  203. memcpy(t10, t2, 4U);
  204. xsi_driver_first_trans_fast(t6);
  205. xsi_set_current_line(119, ng0);
  206. t2 = (t0 + 7428);
  207. t6 = (t0 + 4600);
  208. t7 = (t6 + 56U);
  209. t8 = *((char **)t7);
  210. t9 = (t8 + 56U);
  211. t10 = *((char **)t9);
  212. memcpy(t10, t2, 4U);
  213. xsi_driver_first_trans_fast(t6);
  214. xsi_set_current_line(120, ng0);
  215. t3 = (30 * 1000LL);
  216. t2 = (t0 + 3640);
  217. xsi_process_wait(t2, t3);
  218. LAB26: *((char **)t1) = &&LAB27;
  219. goto LAB1;
  220. LAB21: goto LAB20;
  221. LAB23: goto LAB21;
  222. LAB24: xsi_set_current_line(122, ng0);
  223. t2 = (t0 + 7432);
  224. t6 = (t0 + 4344);
  225. t7 = (t6 + 56U);
  226. t8 = *((char **)t7);
  227. t9 = (t8 + 56U);
  228. t10 = *((char **)t9);
  229. memcpy(t10, t2, 8U);
  230. xsi_driver_first_trans_fast(t6);
  231. xsi_set_current_line(123, ng0);
  232. t3 = (30 * 1000LL);
  233. t2 = (t0 + 3640);
  234. xsi_process_wait(t2, t3);
  235. LAB30: *((char **)t1) = &&LAB31;
  236. goto LAB1;
  237. LAB25: goto LAB24;
  238. LAB27: goto LAB25;
  239. LAB28: xsi_set_current_line(124, ng0);
  240. t2 = (t0 + 4472);
  241. t4 = (t2 + 56U);
  242. t6 = *((char **)t4);
  243. t7 = (t6 + 56U);
  244. t8 = *((char **)t7);
  245. *((unsigned char *)t8) = (unsigned char)3;
  246. xsi_driver_first_trans_fast(t2);
  247. xsi_set_current_line(125, ng0);
  248. t3 = (30 * 1000LL);
  249. t2 = (t0 + 3640);
  250. xsi_process_wait(t2, t3);
  251. LAB34: *((char **)t1) = &&LAB35;
  252. goto LAB1;
  253. LAB29: goto LAB28;
  254. LAB31: goto LAB29;
  255. LAB32: xsi_set_current_line(126, ng0);
  256. t2 = (t0 + 4472);
  257. t4 = (t2 + 56U);
  258. t6 = *((char **)t4);
  259. t7 = (t6 + 56U);
  260. t8 = *((char **)t7);
  261. *((unsigned char *)t8) = (unsigned char)2;
  262. xsi_driver_first_trans_fast(t2);
  263. xsi_set_current_line(127, ng0);
  264. t2 = (t0 + 4280);
  265. t4 = (t2 + 56U);
  266. t6 = *((char **)t4);
  267. t7 = (t6 + 56U);
  268. t8 = *((char **)t7);
  269. *((unsigned char *)t8) = (unsigned char)2;
  270. xsi_driver_first_trans_fast(t2);
  271. xsi_set_current_line(128, ng0);
  272. LAB38: *((char **)t1) = &&LAB39;
  273. goto LAB1;
  274. LAB33: goto LAB32;
  275. LAB35: goto LAB33;
  276. LAB36: goto LAB2;
  277. LAB37: goto LAB36;
  278. LAB39: goto LAB37;
  279. }
  280. extern void work_a_3692836482_2372691052_init()
  281. {
  282. static char *pe[] = {(void *)work_a_3692836482_2372691052_p_0,(void *)work_a_3692836482_2372691052_p_1};
  283. xsi_register_didat("work_a_3692836482_2372691052", "isim/br_test_isim_beh.exe.sim/work/a_3692836482_2372691052.didat");
  284. xsi_register_executes(pe);
  285. }