URL
https://opencores.org/ocsvn/fluid_core_2/fluid_core_2/trunk
Subversion Repositories fluid_core_2
[/] [fluid_core_2/] [trunk/] [xilinx14.5 project/] [isim/] [tb_Test_Bed_isim_beh.exe.sim/] [work/] [m_00000000004019918008_1720460815.c] - Rev 4
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/Azmath/Documents/M Tech Project/FC2/data_mem.v"; static unsigned int ng1[] = {1U, 0U}; static int ng2[] = {0, 0}; static unsigned int ng3[] = {5U, 0U}; static int ng4[] = {1, 0}; static unsigned int ng5[] = {241U, 0U}; static int ng6[] = {2, 0}; static unsigned int ng7[] = {15U, 0U}; static int ng8[] = {3, 0}; static unsigned int ng9[] = {25U, 0U}; static int ng10[] = {4, 0}; static unsigned int ng11[] = {35U, 0U}; static int ng12[] = {5, 0}; static unsigned int ng13[] = {45U, 0U}; static int ng14[] = {6, 0}; static unsigned int ng15[] = {55U, 0U}; static int ng16[] = {7, 0}; static unsigned int ng17[] = {85U, 0U}; static int ng18[] = {8, 0}; static unsigned int ng19[] = {95U, 0U}; static int ng20[] = {9, 0}; static unsigned int ng21[] = {0U, 4294967295U}; static void Initial_13_0(char *t0) { char t3[8]; char t4[8]; char *t1; char *t2; char *t5; char *t6; char *t7; char *t8; char *t9; char *t10; char *t11; char *t12; unsigned int t13; int t14; char *t15; unsigned int t16; int t17; int t18; unsigned int t19; unsigned int t20; int t21; int t22; LAB0: xsi_set_current_line(13, ng0); LAB2: xsi_set_current_line(14, ng0); t1 = ((char*)((ng1))); t2 = (t0 + 2088); t5 = (t0 + 2088); t6 = (t5 + 72U); t7 = *((char **)t6); t8 = (t0 + 2088); t9 = (t8 + 64U); t10 = *((char **)t9); t11 = ((char*)((ng2))); xsi_vlog_generic_convert_array_indices(t3, t4, t7, t10, 2, 1, t11, 32, 1); t12 = (t3 + 4); t13 = *((unsigned int *)t12); t14 = (!(t13)); t15 = (t4 + 4); t16 = *((unsigned int *)t15); t17 = (!(t16)); t18 = (t14 && t17); if (t18 == 1) goto LAB3; LAB4: xsi_set_current_line(15, ng0); t1 = ((char*)((ng3))); t2 = (t0 + 2088); t5 = (t0 + 2088); t6 = (t5 + 72U); t7 = *((char **)t6); t8 = (t0 + 2088); t9 = (t8 + 64U); t10 = *((char **)t9); t11 = ((char*)((ng4))); xsi_vlog_generic_convert_array_indices(t3, t4, t7, t10, 2, 1, t11, 32, 1); t12 = (t3 + 4); t13 = *((unsigned int *)t12); t14 = (!(t13)); t15 = (t4 + 4); t16 = *((unsigned int *)t15); t17 = (!(t16)); t18 = (t14 && t17); if (t18 == 1) goto LAB5; LAB6: xsi_set_current_line(16, ng0); t1 = ((char*)((ng5))); t2 = (t0 + 2088); t5 = (t0 + 2088); t6 = (t5 + 72U); t7 = *((char **)t6); t8 = (t0 + 2088); t9 = (t8 + 64U); t10 = *((char **)t9); t11 = ((char*)((ng6))); xsi_vlog_generic_convert_array_indices(t3, t4, t7, t10, 2, 1, t11, 32, 1); t12 = (t3 + 4); t13 = *((unsigned int *)t12); t14 = (!(t13)); t15 = (t4 + 4); t16 = *((unsigned int *)t15); t17 = (!(t16)); t18 = (t14 && t17); if (t18 == 1) goto LAB7; LAB8: xsi_set_current_line(17, ng0); t1 = ((char*)((ng7))); t2 = (t0 + 2088); t5 = (t0 + 2088); t6 = (t5 + 72U); t7 = *((char **)t6); t8 = (t0 + 2088); t9 = (t8 + 64U); t10 = *((char **)t9); t11 = ((char*)((ng8))); xsi_vlog_generic_convert_array_indices(t3, t4, t7, t10, 2, 1, t11, 32, 1); t12 = (t3 + 4); t13 = *((unsigned int *)t12); t14 = (!(t13)); t15 = (t4 + 4); t16 = *((unsigned int *)t15); t17 = (!(t16)); t18 = (t14 && t17); if (t18 == 1) goto LAB9; LAB10: xsi_set_current_line(18, ng0); t1 = ((char*)((ng9))); t2 = (t0 + 2088); t5 = (t0 + 2088); t6 = (t5 + 72U); t7 = *((char **)t6); t8 = (t0 + 2088); t9 = (t8 + 64U); t10 = *((char **)t9); t11 = ((char*)((ng10))); xsi_vlog_generic_convert_array_indices(t3, t4, t7, t10, 2, 1, t11, 32, 1); t12 = (t3 + 4); t13 = *((unsigned int *)t12); t14 = (!(t13)); t15 = (t4 + 4); t16 = *((unsigned int *)t15); t17 = (!(t16)); t18 = (t14 && t17); if (t18 == 1) goto LAB11; LAB12: xsi_set_current_line(19, ng0); t1 = ((char*)((ng11))); t2 = (t0 + 2088); t5 = (t0 + 2088); t6 = (t5 + 72U); t7 = *((char **)t6); t8 = (t0 + 2088); t9 = (t8 + 64U); t10 = *((char **)t9); t11 = ((char*)((ng12))); xsi_vlog_generic_convert_array_indices(t3, t4, t7, t10, 2, 1, t11, 32, 1); t12 = (t3 + 4); t13 = *((unsigned int *)t12); t14 = (!(t13)); t15 = (t4 + 4); t16 = *((unsigned int *)t15); t17 = (!(t16)); t18 = (t14 && t17); if (t18 == 1) goto LAB13; LAB14: xsi_set_current_line(20, ng0); t1 = ((char*)((ng13))); t2 = (t0 + 2088); t5 = (t0 + 2088); t6 = (t5 + 72U); t7 = *((char **)t6); t8 = (t0 + 2088); t9 = (t8 + 64U); t10 = *((char **)t9); t11 = ((char*)((ng14))); xsi_vlog_generic_convert_array_indices(t3, t4, t7, t10, 2, 1, t11, 32, 1); t12 = (t3 + 4); t13 = *((unsigned int *)t12); t14 = (!(t13)); t15 = (t4 + 4); t16 = *((unsigned int *)t15); t17 = (!(t16)); t18 = (t14 && t17); if (t18 == 1) goto LAB15; LAB16: xsi_set_current_line(21, ng0); t1 = ((char*)((ng15))); t2 = (t0 + 2088); t5 = (t0 + 2088); t6 = (t5 + 72U); t7 = *((char **)t6); t8 = (t0 + 2088); t9 = (t8 + 64U); t10 = *((char **)t9); t11 = ((char*)((ng16))); xsi_vlog_generic_convert_array_indices(t3, t4, t7, t10, 2, 1, t11, 32, 1); t12 = (t3 + 4); t13 = *((unsigned int *)t12); t14 = (!(t13)); t15 = (t4 + 4); t16 = *((unsigned int *)t15); t17 = (!(t16)); t18 = (t14 && t17); if (t18 == 1) goto LAB17; LAB18: xsi_set_current_line(22, ng0); t1 = ((char*)((ng17))); t2 = (t0 + 2088); t5 = (t0 + 2088); t6 = (t5 + 72U); t7 = *((char **)t6); t8 = (t0 + 2088); t9 = (t8 + 64U); t10 = *((char **)t9); t11 = ((char*)((ng18))); xsi_vlog_generic_convert_array_indices(t3, t4, t7, t10, 2, 1, t11, 32, 1); t12 = (t3 + 4); t13 = *((unsigned int *)t12); t14 = (!(t13)); t15 = (t4 + 4); t16 = *((unsigned int *)t15); t17 = (!(t16)); t18 = (t14 && t17); if (t18 == 1) goto LAB19; LAB20: xsi_set_current_line(23, ng0); t1 = ((char*)((ng19))); t2 = (t0 + 2088); t5 = (t0 + 2088); t6 = (t5 + 72U); t7 = *((char **)t6); t8 = (t0 + 2088); t9 = (t8 + 64U); t10 = *((char **)t9); t11 = ((char*)((ng20))); xsi_vlog_generic_convert_array_indices(t3, t4, t7, t10, 2, 1, t11, 32, 1); t12 = (t3 + 4); t13 = *((unsigned int *)t12); t14 = (!(t13)); t15 = (t4 + 4); t16 = *((unsigned int *)t15); t17 = (!(t16)); t18 = (t14 && t17); if (t18 == 1) goto LAB21; LAB22: LAB1: return; LAB3: t19 = *((unsigned int *)t3); t20 = *((unsigned int *)t4); t21 = (t19 - t20); t22 = (t21 + 1); xsi_vlogvar_wait_assign_value(t2, t1, 0, *((unsigned int *)t4), t22, 0LL); goto LAB4; LAB5: t19 = *((unsigned int *)t3); t20 = *((unsigned int *)t4); t21 = (t19 - t20); t22 = (t21 + 1); xsi_vlogvar_wait_assign_value(t2, t1, 0, *((unsigned int *)t4), t22, 0LL); goto LAB6; LAB7: t19 = *((unsigned int *)t3); t20 = *((unsigned int *)t4); t21 = (t19 - t20); t22 = (t21 + 1); xsi_vlogvar_wait_assign_value(t2, t1, 0, *((unsigned int *)t4), t22, 0LL); goto LAB8; LAB9: t19 = *((unsigned int *)t3); t20 = *((unsigned int *)t4); t21 = (t19 - t20); t22 = (t21 + 1); xsi_vlogvar_wait_assign_value(t2, t1, 0, *((unsigned int *)t4), t22, 0LL); goto LAB10; LAB11: t19 = *((unsigned int *)t3); t20 = *((unsigned int *)t4); t21 = (t19 - t20); t22 = (t21 + 1); xsi_vlogvar_wait_assign_value(t2, t1, 0, *((unsigned int *)t4), t22, 0LL); goto LAB12; LAB13: t19 = *((unsigned int *)t3); t20 = *((unsigned int *)t4); t21 = (t19 - t20); t22 = (t21 + 1); xsi_vlogvar_wait_assign_value(t2, t1, 0, *((unsigned int *)t4), t22, 0LL); goto LAB14; LAB15: t19 = *((unsigned int *)t3); t20 = *((unsigned int *)t4); t21 = (t19 - t20); t22 = (t21 + 1); xsi_vlogvar_wait_assign_value(t2, t1, 0, *((unsigned int *)t4), t22, 0LL); goto LAB16; LAB17: t19 = *((unsigned int *)t3); t20 = *((unsigned int *)t4); t21 = (t19 - t20); t22 = (t21 + 1); xsi_vlogvar_wait_assign_value(t2, t1, 0, *((unsigned int *)t4), t22, 0LL); goto LAB18; LAB19: t19 = *((unsigned int *)t3); t20 = *((unsigned int *)t4); t21 = (t19 - t20); t22 = (t21 + 1); xsi_vlogvar_wait_assign_value(t2, t1, 0, *((unsigned int *)t4), t22, 0LL); goto LAB20; LAB21: t19 = *((unsigned int *)t3); t20 = *((unsigned int *)t4); t21 = (t19 - t20); t22 = (t21 + 1); xsi_vlogvar_wait_assign_value(t2, t1, 0, *((unsigned int *)t4), t22, 0LL); goto LAB22; } static void Always_26_1(char *t0) { char t20[8]; char t21[8]; char *t1; char *t2; char *t3; char *t4; char *t5; unsigned int t6; unsigned int t7; unsigned int t8; unsigned int t9; unsigned int t10; char *t11; char *t12; unsigned int t13; unsigned int t14; unsigned int t15; unsigned int t16; unsigned int t17; char *t18; char *t19; char *t22; char *t23; char *t24; char *t25; char *t26; char *t27; char *t28; char *t29; unsigned int t30; int t31; char *t32; unsigned int t33; int t34; int t35; unsigned int t36; unsigned int t37; int t38; int t39; LAB0: t1 = (t0 + 3416U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(26, ng0); t2 = (t0 + 3984); *((int *)t2) = 1; t3 = (t0 + 3448); *((char **)t3) = t2; *((char **)t1) = &&LAB4; LAB1: return; LAB4: xsi_set_current_line(26, ng0); LAB5: xsi_set_current_line(27, ng0); t4 = (t0 + 1528U); t5 = *((char **)t4); t4 = (t5 + 4); t6 = *((unsigned int *)t4); t7 = (~(t6)); t8 = *((unsigned int *)t5); t9 = (t8 & t7); t10 = (t9 != 0); if (t10 > 0) goto LAB6; LAB7: LAB8: goto LAB2; LAB6: xsi_set_current_line(27, ng0); LAB9: xsi_set_current_line(28, ng0); t11 = (t0 + 1368U); t12 = *((char **)t11); t11 = (t12 + 4); t13 = *((unsigned int *)t11); t14 = (~(t13)); t15 = *((unsigned int *)t12); t16 = (t15 & t14); t17 = (t16 != 0); if (t17 > 0) goto LAB10; LAB11: xsi_set_current_line(30, ng0); LAB16: xsi_set_current_line(31, ng0); t2 = (t0 + 2088); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = (t0 + 2088); t11 = (t5 + 72U); t12 = *((char **)t11); t18 = (t0 + 2088); t19 = (t18 + 64U); t22 = *((char **)t19); t23 = (t0 + 1048U); t24 = *((char **)t23); xsi_vlog_generic_get_array_select_value(t20, 32, t4, t12, t22, 2, 1, t24, 4, 2); t23 = (t0 + 2248); xsi_vlogvar_wait_assign_value(t23, t20, 0, 0, 32, 0LL); LAB12: goto LAB8; LAB10: xsi_set_current_line(28, ng0); LAB13: xsi_set_current_line(29, ng0); t18 = (t0 + 1688U); t19 = *((char **)t18); t18 = (t0 + 2088); t22 = (t0 + 2088); t23 = (t22 + 72U); t24 = *((char **)t23); t25 = (t0 + 2088); t26 = (t25 + 64U); t27 = *((char **)t26); t28 = (t0 + 1048U); t29 = *((char **)t28); xsi_vlog_generic_convert_array_indices(t20, t21, t24, t27, 2, 1, t29, 4, 2); t28 = (t20 + 4); t30 = *((unsigned int *)t28); t31 = (!(t30)); t32 = (t21 + 4); t33 = *((unsigned int *)t32); t34 = (!(t33)); t35 = (t31 && t34); if (t35 == 1) goto LAB14; LAB15: goto LAB12; LAB14: t36 = *((unsigned int *)t20); t37 = *((unsigned int *)t21); t38 = (t36 - t37); t39 = (t38 + 1); xsi_vlogvar_wait_assign_value(t18, t19, 0, *((unsigned int *)t21), t39, 0LL); goto LAB15; } static void Cont_36_2(char *t0) { char t3[8]; char t4[8]; char t16[8]; char t17[8]; char *t1; char *t2; char *t5; unsigned int t6; unsigned int t7; unsigned int t8; unsigned int t9; unsigned int t10; char *t11; char *t12; unsigned int t13; unsigned int t14; unsigned int t15; char *t18; char *t19; unsigned int t20; unsigned int t21; unsigned int t22; unsigned int t23; unsigned int t24; char *t25; char *t26; unsigned int t27; unsigned int t28; unsigned int t29; char *t30; unsigned int t31; unsigned int t32; unsigned int t33; unsigned int t34; char *t35; char *t36; char *t37; unsigned int t38; unsigned int t39; unsigned int t40; unsigned int t41; char *t42; char *t43; char *t44; char *t45; char *t46; char *t47; char *t48; LAB0: t1 = (t0 + 3664U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(36, ng0); t2 = (t0 + 1528U); t5 = *((char **)t2); memset(t4, 0, 8); t2 = (t5 + 4); t6 = *((unsigned int *)t2); t7 = (~(t6)); t8 = *((unsigned int *)t5); t9 = (t8 & t7); t10 = (t9 & 1U); if (t10 != 0) goto LAB4; LAB5: if (*((unsigned int *)t2) != 0) goto LAB6; LAB7: t12 = (t4 + 4); t13 = *((unsigned int *)t4); t14 = *((unsigned int *)t12); t15 = (t13 || t14); if (t15 > 0) goto LAB8; LAB9: t38 = *((unsigned int *)t4); t39 = (~(t38)); t40 = *((unsigned int *)t12); t41 = (t39 || t40); if (t41 > 0) goto LAB10; LAB11: if (*((unsigned int *)t12) > 0) goto LAB12; LAB13: if (*((unsigned int *)t4) > 0) goto LAB14; LAB15: memcpy(t3, t42, 8); LAB16: t43 = (t0 + 4080); t44 = (t43 + 56U); t45 = *((char **)t44); t46 = (t45 + 56U); t47 = *((char **)t46); memcpy(t47, t3, 8); xsi_driver_vfirst_trans(t43, 0, 31); t48 = (t0 + 4000); *((int *)t48) = 1; LAB1: return; LAB4: *((unsigned int *)t4) = 1; goto LAB7; LAB6: t11 = (t4 + 4); *((unsigned int *)t4) = 1; *((unsigned int *)t11) = 1; goto LAB7; LAB8: t18 = (t0 + 1368U); t19 = *((char **)t18); memset(t17, 0, 8); t18 = (t19 + 4); t20 = *((unsigned int *)t18); t21 = (~(t20)); t22 = *((unsigned int *)t19); t23 = (t22 & t21); t24 = (t23 & 1U); if (t24 != 0) goto LAB17; LAB18: if (*((unsigned int *)t18) != 0) goto LAB19; LAB20: t26 = (t17 + 4); t27 = *((unsigned int *)t17); t28 = *((unsigned int *)t26); t29 = (t27 || t28); if (t29 > 0) goto LAB21; LAB22: t31 = *((unsigned int *)t17); t32 = (~(t31)); t33 = *((unsigned int *)t26); t34 = (t32 || t33); if (t34 > 0) goto LAB23; LAB24: if (*((unsigned int *)t26) > 0) goto LAB25; LAB26: if (*((unsigned int *)t17) > 0) goto LAB27; LAB28: memcpy(t16, t37, 8); LAB29: goto LAB9; LAB10: t42 = ((char*)((ng21))); goto LAB11; LAB12: xsi_vlog_unsigned_bit_combine(t3, 32, t16, 32, t42, 32); goto LAB16; LAB14: memcpy(t3, t16, 8); goto LAB16; LAB17: *((unsigned int *)t17) = 1; goto LAB20; LAB19: t25 = (t17 + 4); *((unsigned int *)t17) = 1; *((unsigned int *)t25) = 1; goto LAB20; LAB21: t30 = ((char*)((ng21))); goto LAB22; LAB23: t35 = (t0 + 2248); t36 = (t35 + 56U); t37 = *((char **)t36); goto LAB24; LAB25: xsi_vlog_unsigned_bit_combine(t16, 32, t30, 32, t37, 32); goto LAB29; LAB27: memcpy(t16, t30, 8); goto LAB29; } extern void work_m_00000000004019918008_1720460815_init() { static char *pe[] = {(void *)Initial_13_0,(void *)Always_26_1,(void *)Cont_36_2}; xsi_register_didat("work_m_00000000004019918008_1720460815", "isim/tb_Test_Bed_isim_beh.exe.sim/work/m_00000000004019918008_1720460815.didat"); xsi_register_executes(pe); }