URL
https://opencores.org/ocsvn/xmatchpro/xmatchpro/trunk
Subversion Repositories xmatchpro
[/] [xmatchpro/] [trunk/] [xmw4-comdec/] [xmatch_sim7/] [isim/] [testbench_isim_beh.exe.sim/] [work/] [a_1949178628_2372691052.c] - Rev 9
Compare with Previous | Blame | View Log
/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ */ /* \ \ Copyright (c) 2003-2009 Xilinx, Inc. */ /* / / All Right Reserved. */ /* /---/ /\ */ /* \ \ / \ */ /* \___\/\___\ */ /***********************************************************************/ /* This file is designed for use with ISim build 0x7708f090 */ #define XSI_HIDE_SYMBOL_SPEC true #include "xsi.h" #include <memory.h> #ifdef __GNUC__ #include <stdlib.h> #else #include <malloc.h> #define alloca _alloca #endif static const char *ng0 = "C:/Users/eejlny/projects/xmatch_sim7/xmatch_sim7/tb.vhd"; extern char *IEEE_P_2592010699; extern char *STD_TEXTIO; extern char *IEEE_P_3564397177; void ieee_p_3564397177_sub_1281154728_91900896(char *, char *, char *, char *, char *, unsigned char , int ); void ieee_p_3564397177_sub_2743816878_91900896(char *, char *, char *, char *); void ieee_p_3564397177_sub_2889341154_91900896(char *, char *, char *, char *, char *); static void work_a_1949178628_2372691052_p_0(char *t0) { char *t1; char *t2; char *t3; char *t4; char *t5; char *t6; int64 t7; int64 t8; LAB0: t1 = (t0 + 5304U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(81, ng0); t2 = (t0 + 6680); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = (t4 + 56U); t6 = *((char **)t5); *((unsigned char *)t6) = (unsigned char)3; xsi_driver_first_trans_fast(t2); xsi_set_current_line(82, ng0); t2 = (t0 + 3248U); t3 = *((char **)t2); t7 = *((int64 *)t3); t8 = (t7 / 2); t2 = (t0 + 5112); xsi_process_wait(t2, t8); LAB6: *((char **)t1) = &&LAB7; LAB1: return; LAB4: xsi_set_current_line(83, ng0); t2 = (t0 + 6680); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = (t4 + 56U); t6 = *((char **)t5); *((unsigned char *)t6) = (unsigned char)2; xsi_driver_first_trans_fast(t2); xsi_set_current_line(84, ng0); t2 = (t0 + 3248U); t3 = *((char **)t2); t7 = *((int64 *)t3); t8 = (t7 / 2); t2 = (t0 + 5112); xsi_process_wait(t2, t8); LAB10: *((char **)t1) = &&LAB11; goto LAB1; LAB5: goto LAB4; LAB7: goto LAB5; LAB8: goto LAB2; LAB9: goto LAB8; LAB11: goto LAB9; } static void work_a_1949178628_2372691052_p_1(char *t0) { char *t1; char *t2; char *t3; char *t4; char *t5; char *t6; int64 t7; int64 t8; LAB0: t1 = (t0 + 5552U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(89, ng0); t2 = (t0 + 6744); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = (t4 + 56U); t6 = *((char **)t5); *((unsigned char *)t6) = (unsigned char)3; xsi_driver_first_trans_fast(t2); xsi_set_current_line(90, ng0); t2 = (t0 + 3368U); t3 = *((char **)t2); t7 = *((int64 *)t3); t8 = (t7 / 2); t2 = (t0 + 5360); xsi_process_wait(t2, t8); LAB6: *((char **)t1) = &&LAB7; LAB1: return; LAB4: xsi_set_current_line(91, ng0); t2 = (t0 + 6744); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = (t4 + 56U); t6 = *((char **)t5); *((unsigned char *)t6) = (unsigned char)2; xsi_driver_first_trans_fast(t2); xsi_set_current_line(92, ng0); t2 = (t0 + 3368U); t3 = *((char **)t2); t7 = *((int64 *)t3); t8 = (t7 / 2); t2 = (t0 + 5360); xsi_process_wait(t2, t8); LAB10: *((char **)t1) = &&LAB11; goto LAB1; LAB5: goto LAB4; LAB7: goto LAB5; LAB8: goto LAB2; LAB9: goto LAB8; LAB11: goto LAB9; } static void work_a_1949178628_2372691052_p_2(char *t0) { char t9[16]; char t11[16]; char t16[16]; char *t1; char *t2; char *t3; int64 t4; int64 t5; char *t6; char *t7; char *t8; char *t10; char *t12; char *t13; int t14; unsigned int t15; char *t17; int t18; unsigned char t19; char *t20; char *t21; char *t22; char *t23; LAB0: t1 = (t0 + 5800U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(101, ng0); t2 = (t0 + 3248U); t3 = *((char **)t2); t4 = *((int64 *)t3); t5 = (t4 * 2); t2 = (t0 + 5608); xsi_process_wait(t2, t5); LAB6: *((char **)t1) = &&LAB7; LAB1: return; LAB4: xsi_set_current_line(113, ng0); t2 = (t0 + 11520); t6 = (t0 + 11536); t10 = ((IEEE_P_2592010699) + 4024); t12 = (t11 + 0U); t13 = (t12 + 0U); *((int *)t13) = 0; t13 = (t12 + 4U); *((int *)t13) = 15; t13 = (t12 + 8U); *((int *)t13) = 1; t14 = (15 - 0); t15 = (t14 * 1); t15 = (t15 + 1); t13 = (t12 + 12U); *((unsigned int *)t13) = t15; t13 = (t16 + 0U); t17 = (t13 + 0U); *((int *)t17) = 0; t17 = (t13 + 4U); *((int *)t17) = 15; t17 = (t13 + 8U); *((int *)t17) = 1; t18 = (15 - 0); t15 = (t18 * 1); t15 = (t15 + 1); t17 = (t13 + 12U); *((unsigned int *)t17) = t15; t8 = xsi_base_array_concat(t8, t9, t10, (char)97, t2, t11, (char)97, t6, t16, (char)101); t15 = (16U + 16U); t19 = (32U != t15); if (t19 == 1) goto LAB8; LAB9: t17 = (t0 + 6808); t20 = (t17 + 56U); t21 = *((char **)t20); t22 = (t21 + 56U); t23 = *((char **)t22); memcpy(t23, t8, 32U); xsi_driver_first_trans_fast(t17); xsi_set_current_line(115, ng0); t2 = (t0 + 3248U); t3 = *((char **)t2); t4 = *((int64 *)t3); t5 = (t4 * 50); t2 = (t0 + 5608); xsi_process_wait(t2, t5); LAB12: *((char **)t1) = &&LAB13; goto LAB1; LAB5: goto LAB4; LAB7: goto LAB5; LAB8: xsi_size_not_matching(32U, t15, 0); goto LAB9; LAB10: xsi_set_current_line(116, ng0); t2 = (t0 + 11552); t6 = (t0 + 6808); t7 = (t6 + 56U); t8 = *((char **)t7); t10 = (t8 + 56U); t12 = *((char **)t10); memcpy(t12, t2, 32U); xsi_driver_first_trans_fast(t6); xsi_set_current_line(126, ng0); t2 = (t0 + 3248U); t3 = *((char **)t2); t4 = *((int64 *)t3); t5 = (t4 * 50); t2 = (t0 + 5608); xsi_process_wait(t2, t5); LAB16: *((char **)t1) = &&LAB17; goto LAB1; LAB11: goto LAB10; LAB13: goto LAB11; LAB14: xsi_set_current_line(127, ng0); t2 = (t0 + 11584); t6 = (t0 + 6808); t7 = (t6 + 56U); t8 = *((char **)t7); t10 = (t8 + 56U); t12 = *((char **)t10); memcpy(t12, t2, 32U); xsi_driver_first_trans_fast(t6); xsi_set_current_line(129, ng0); LAB20: *((char **)t1) = &&LAB21; goto LAB1; LAB15: goto LAB14; LAB17: goto LAB15; LAB18: goto LAB2; LAB19: goto LAB18; LAB21: goto LAB19; } static void work_a_1949178628_2372691052_p_3(char *t0) { char *t1; char *t2; int64 t3; char *t4; char *t5; char *t6; char *t7; int64 t8; unsigned char t9; unsigned char t10; unsigned char t11; unsigned char t12; char *t13; LAB0: t1 = (t0 + 6048U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(150, ng0); t3 = (0 * 1000LL); t2 = (t0 + 5856); xsi_process_wait(t2, t3); LAB6: *((char **)t1) = &&LAB7; LAB1: return; LAB4: xsi_set_current_line(152, ng0); t2 = (t0 + 6872); t4 = (t2 + 56U); t5 = *((char **)t4); t6 = (t5 + 56U); t7 = *((char **)t6); *((unsigned char *)t7) = (unsigned char)3; xsi_driver_first_trans_fast(t2); xsi_set_current_line(153, ng0); t2 = (t0 + 6936); t4 = (t2 + 56U); t5 = *((char **)t4); t6 = (t5 + 56U); t7 = *((char **)t6); *((unsigned char *)t7) = (unsigned char)3; xsi_driver_first_trans_fast(t2); xsi_set_current_line(154, ng0); t2 = (t0 + 3248U); t4 = *((char **)t2); t3 = *((int64 *)t4); t8 = (t3 * 1); t2 = (t0 + 5856); xsi_process_wait(t2, t8); LAB10: *((char **)t1) = &&LAB11; goto LAB1; LAB5: goto LAB4; LAB7: goto LAB5; LAB8: xsi_set_current_line(156, ng0); t2 = (t0 + 7000); t4 = (t2 + 56U); t5 = *((char **)t4); t6 = (t5 + 56U); t7 = *((char **)t6); *((unsigned char *)t7) = (unsigned char)2; xsi_driver_first_trans_fast(t2); xsi_set_current_line(158, ng0); t2 = (t0 + 3248U); t4 = *((char **)t2); t3 = *((int64 *)t4); t8 = (t3 * 1); t2 = (t0 + 5856); xsi_process_wait(t2, t8); LAB14: *((char **)t1) = &&LAB15; goto LAB1; LAB9: goto LAB8; LAB11: goto LAB9; LAB12: xsi_set_current_line(159, ng0); t2 = (t0 + 6936); t4 = (t2 + 56U); t5 = *((char **)t4); t6 = (t5 + 56U); t7 = *((char **)t6); *((unsigned char *)t7) = (unsigned char)3; xsi_driver_first_trans_fast(t2); xsi_set_current_line(160, ng0); t2 = (t0 + 3248U); t4 = *((char **)t2); t3 = *((int64 *)t4); t8 = (t3 * 1); t2 = (t0 + 5856); xsi_process_wait(t2, t8); LAB18: *((char **)t1) = &&LAB19; goto LAB1; LAB13: goto LAB12; LAB15: goto LAB13; LAB16: xsi_set_current_line(161, ng0); t2 = (t0 + 6936); t4 = (t2 + 56U); t5 = *((char **)t4); t6 = (t5 + 56U); t7 = *((char **)t6); *((unsigned char *)t7) = (unsigned char)3; xsi_driver_first_trans_fast(t2); xsi_set_current_line(164, ng0); LAB20: t2 = (t0 + 4296U); t9 = std_textio_endfile(t2); t10 = (!(t9)); if (t10 != 0) goto LAB21; LAB23: xsi_set_current_line(192, ng0); t2 = (t0 + 3368U); t4 = *((char **)t2); t3 = *((int64 *)t4); t2 = (t0 + 5856); xsi_process_wait(t2, t3); LAB37: *((char **)t1) = &&LAB38; goto LAB1; LAB17: goto LAB16; LAB19: goto LAB17; LAB21: xsi_set_current_line(166, ng0); t4 = (t0 + 2472U); t5 = *((char **)t4); t11 = *((unsigned char *)t5); t12 = (t11 == (unsigned char)2); if (t12 != 0) goto LAB24; LAB26: xsi_set_current_line(186, ng0); t2 = (t0 + 3368U); t4 = *((char **)t2); t3 = *((int64 *)t4); t2 = (t0 + 5856); xsi_process_wait(t2, t3); LAB33: *((char **)t1) = &&LAB34; goto LAB1; LAB22:; LAB24: xsi_set_current_line(167, ng0); t4 = (t0 + 5856); t6 = (t0 + 4296U); t7 = (t0 + 4576U); std_textio_readline(STD_TEXTIO, t4, t6, t7); xsi_set_current_line(168, ng0); t2 = (t0 + 5856); t4 = (t0 + 4576U); t5 = (t0 + 3608U); t6 = *((char **)t5); t5 = (t0 + 11036U); ieee_p_3564397177_sub_2889341154_91900896(IEEE_P_3564397177, t2, t4, t6, t5); xsi_set_current_line(169, ng0); t2 = (t0 + 5856); t4 = (t0 + 4576U); t5 = (t0 + 3488U); t6 = *((char **)t5); t5 = (t6 + 0); std_textio_read8(STD_TEXTIO, t2, t4, t5); xsi_set_current_line(170, ng0); t2 = (t0 + 5856); t4 = (t0 + 4576U); t5 = (t0 + 3728U); t6 = *((char **)t5); t5 = (t6 + 0); ieee_p_3564397177_sub_2743816878_91900896(IEEE_P_3564397177, t2, t4, t5); xsi_set_current_line(172, ng0); t2 = (t0 + 3368U); t4 = *((char **)t2); t3 = *((int64 *)t4); t2 = (t0 + 5856); xsi_process_wait(t2, t3); LAB29: *((char **)t1) = &&LAB30; goto LAB1; LAB25: goto LAB20; LAB27: xsi_set_current_line(175, ng0); t2 = (t0 + 3608U); t4 = *((char **)t2); t2 = (t0 + 7064); t5 = (t2 + 56U); t6 = *((char **)t5); t7 = (t6 + 56U); t13 = *((char **)t7); memcpy(t13, t4, 32U); xsi_driver_first_trans_fast(t2); xsi_set_current_line(176, ng0); t2 = (t0 + 7000); t4 = (t2 + 56U); t5 = *((char **)t4); t6 = (t5 + 56U); t7 = *((char **)t6); *((unsigned char *)t7) = (unsigned char)3; xsi_driver_first_trans_fast(t2); goto LAB25; LAB28: goto LAB27; LAB30: goto LAB28; LAB31: xsi_set_current_line(187, ng0); t2 = (t0 + 7000); t4 = (t2 + 56U); t5 = *((char **)t4); t6 = (t5 + 56U); t7 = *((char **)t6); *((unsigned char *)t7) = (unsigned char)2; xsi_driver_first_trans_fast(t2); goto LAB25; LAB32: goto LAB31; LAB34: goto LAB32; LAB35: xsi_set_current_line(193, ng0); t2 = (t0 + 7000); t4 = (t2 + 56U); t5 = *((char **)t4); t6 = (t5 + 56U); t7 = *((char **)t6); *((unsigned char *)t7) = (unsigned char)2; xsi_driver_first_trans_fast(t2); xsi_set_current_line(194, ng0); LAB41: *((char **)t1) = &&LAB42; goto LAB1; LAB36: goto LAB35; LAB38: goto LAB36; LAB39: goto LAB2; LAB40: goto LAB39; LAB42: goto LAB40; } static void work_a_1949178628_2372691052_p_4(char *t0) { char t12[32]; char *t1; char *t2; char *t3; char *t4; char *t5; char *t6; int64 t7; int64 t8; unsigned char t9; unsigned char t10; char *t11; int t13; int t14; LAB0: t1 = (t0 + 6296U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(211, ng0); t2 = (t0 + 7128); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = (t4 + 56U); t6 = *((char **)t5); *((unsigned char *)t6) = (unsigned char)2; xsi_driver_first_trans_fast(t2); xsi_set_current_line(213, ng0); t7 = (0 * 1000LL); t2 = (t0 + 6104); xsi_process_wait(t2, t7); LAB6: *((char **)t1) = &&LAB7; LAB1: return; LAB4: xsi_set_current_line(214, ng0); t2 = (t0 + 3368U); t3 = *((char **)t2); t7 = *((int64 *)t3); t8 = (t7 * 1); t2 = (t0 + 6104); xsi_process_wait(t2, t8); LAB10: *((char **)t1) = &&LAB11; goto LAB1; LAB5: goto LAB4; LAB7: goto LAB5; LAB8: xsi_set_current_line(216, ng0); LAB12: t2 = (t0 + 2632U); t3 = *((char **)t2); t9 = *((unsigned char *)t3); t10 = (t9 == (unsigned char)2); if (t10 != 0) goto LAB13; LAB15: goto LAB2; LAB9: goto LAB8; LAB11: goto LAB9; LAB13: xsi_set_current_line(218, ng0); t2 = (t0 + 7128); t4 = (t2 + 56U); t5 = *((char **)t4); t6 = (t5 + 56U); t11 = *((char **)t6); *((unsigned char *)t11) = (unsigned char)3; xsi_driver_first_trans_fast(t2); xsi_set_current_line(219, ng0); t2 = (t0 + 3368U); t3 = *((char **)t2); t7 = *((int64 *)t3); t2 = (t0 + 6104); xsi_process_wait(t2, t7); LAB18: *((char **)t1) = &&LAB19; goto LAB1; LAB14:; LAB16: xsi_set_current_line(220, ng0); t2 = (t0 + 7128); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = (t4 + 56U); t6 = *((char **)t5); *((unsigned char *)t6) = (unsigned char)2; xsi_driver_first_trans_fast(t2); xsi_set_current_line(221, ng0); t2 = (t0 + 3368U); t3 = *((char **)t2); t7 = *((int64 *)t3); t2 = (t0 + 6104); xsi_process_wait(t2, t7); LAB22: *((char **)t1) = &&LAB23; goto LAB1; LAB17: goto LAB16; LAB19: goto LAB17; LAB20: xsi_set_current_line(222, ng0); t2 = (t0 + 2312U); t3 = *((char **)t2); t2 = (t0 + 3968U); t4 = *((char **)t2); t2 = (t4 + 0); memcpy(t2, t3, 32U); xsi_set_current_line(223, ng0); t2 = (t0 + 6104); t3 = (t0 + 4648U); t4 = (t0 + 3968U); t5 = *((char **)t4); memcpy(t12, t5, 32U); t4 = (t0 + 11052U); ieee_p_3564397177_sub_1281154728_91900896(IEEE_P_3564397177, t2, t3, t12, t4, (unsigned char)0, 0); xsi_set_current_line(224, ng0); t2 = (t0 + 6104); t3 = (t0 + 4400U); t4 = (t0 + 4648U); std_textio_writeline(STD_TEXTIO, t2, t3, t4); xsi_set_current_line(225, ng0); t2 = (t0 + 3848U); t3 = *((char **)t2); t13 = *((int *)t3); t14 = (t13 + 1); t2 = (t0 + 3848U); t4 = *((char **)t2); t2 = (t4 + 0); *((int *)t2) = t14; goto LAB12; LAB21: goto LAB20; LAB23: goto LAB21; } extern void work_a_1949178628_2372691052_init() { static char *pe[] = {(void *)work_a_1949178628_2372691052_p_0,(void *)work_a_1949178628_2372691052_p_1,(void *)work_a_1949178628_2372691052_p_2,(void *)work_a_1949178628_2372691052_p_3,(void *)work_a_1949178628_2372691052_p_4}; xsi_register_didat("work_a_1949178628_2372691052", "isim/testbench_isim_beh.exe.sim/work/a_1949178628_2372691052.didat"); xsi_register_executes(pe); }