/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ */ /* \ \ 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 #ifdef __GNUC__ #include #else #include #define alloca _alloca #endif static const char *ng0 = "D:/Xilinux/Lab4/UART/uart_controller.v"; static int ng1[] = {1, 0}; static int ng2[] = {0, 0}; static void Cont_43_0(char *t0) { char *t1; char *t2; char *t3; char *t4; char *t5; char *t6; char *t7; char *t8; char *t9; char *t10; LAB0: t1 = (t0 + 7488U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(43, ng0); t2 = (t0 + 5128); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = (t0 + 9208); t6 = (t5 + 56U); t7 = *((char **)t6); t8 = (t7 + 56U); t9 = *((char **)t8); memcpy(t9, t4, 8); xsi_driver_vfirst_trans(t5, 0, 31); t10 = (t0 + 9048); *((int *)t10) = 1; LAB1: return; } static void Cont_44_1(char *t0) { char *t1; char *t2; char *t3; char *t4; char *t5; char *t6; char *t7; char *t8; char *t9; char *t10; LAB0: t1 = (t0 + 7736U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(44, ng0); t2 = (t0 + 5288); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = (t0 + 9272); t6 = (t5 + 56U); t7 = *((char **)t6); t8 = (t7 + 56U); t9 = *((char **)t8); memcpy(t9, t4, 8); xsi_driver_vfirst_trans(t5, 0, 31); t10 = (t0 + 9064); *((int *)t10) = 1; LAB1: return; } static void Cont_45_2(char *t0) { char *t1; char *t2; char *t3; char *t4; char *t5; char *t6; char *t7; char *t8; char *t9; unsigned int t10; unsigned int t11; char *t12; unsigned int t13; unsigned int t14; char *t15; unsigned int t16; unsigned int t17; char *t18; LAB0: t1 = (t0 + 7984U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(45, ng0); t2 = (t0 + 5448); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = (t0 + 9336); t6 = (t5 + 56U); t7 = *((char **)t6); t8 = (t7 + 56U); t9 = *((char **)t8); memset(t9, 0, 8); t10 = 1U; t11 = t10; t12 = (t4 + 4); t13 = *((unsigned int *)t4); t10 = (t10 & t13); t14 = *((unsigned int *)t12); t11 = (t11 & t14); t15 = (t9 + 4); t16 = *((unsigned int *)t9); *((unsigned int *)t9) = (t16 | t10); t17 = *((unsigned int *)t15); *((unsigned int *)t15) = (t17 | t11); xsi_driver_vfirst_trans(t5, 0, 0); t18 = (t0 + 9080); *((int *)t18) = 1; LAB1: return; } static void Cont_46_3(char *t0) { char *t1; char *t2; char *t3; char *t4; char *t5; char *t6; char *t7; char *t8; char *t9; unsigned int t10; unsigned int t11; char *t12; unsigned int t13; unsigned int t14; char *t15; unsigned int t16; unsigned int t17; char *t18; LAB0: t1 = (t0 + 8232U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(46, ng0); t2 = (t0 + 5608); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = (t0 + 9400); t6 = (t5 + 56U); t7 = *((char **)t6); t8 = (t7 + 56U); t9 = *((char **)t8); memset(t9, 0, 8); t10 = 1U; t11 = t10; t12 = (t4 + 4); t13 = *((unsigned int *)t4); t10 = (t10 & t13); t14 = *((unsigned int *)t12); t11 = (t11 & t14); t15 = (t9 + 4); t16 = *((unsigned int *)t9); *((unsigned int *)t9) = (t16 | t10); t17 = *((unsigned int *)t15); *((unsigned int *)t15) = (t17 | t11); xsi_driver_vfirst_trans(t5, 0, 0); t18 = (t0 + 9096); *((int *)t18) = 1; LAB1: return; } static void Always_96_4(char *t0) { char t4[8]; char *t1; char *t2; char *t3; char *t5; char *t6; unsigned int t7; unsigned int t8; unsigned int t9; unsigned int t10; unsigned int t11; char *t12; char *t13; char *t14; unsigned int t15; unsigned int t16; unsigned int t17; unsigned int t18; unsigned int t19; unsigned int t20; unsigned int t21; unsigned int t22; char *t23; unsigned int t24; unsigned int t25; unsigned int t26; unsigned int t27; unsigned int t28; LAB0: t1 = (t0 + 8480U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(96, ng0); t2 = (t0 + 9112); *((int *)t2) = 1; t3 = (t0 + 8512); *((char **)t3) = t2; *((char **)t1) = &&LAB4; LAB1: return; LAB4: xsi_set_current_line(97, ng0); LAB5: xsi_set_current_line(98, ng0); t5 = (t0 + 1208U); t6 = *((char **)t5); memset(t4, 0, 8); t5 = (t6 + 4); t7 = *((unsigned int *)t5); t8 = (~(t7)); t9 = *((unsigned int *)t6); t10 = (t9 & t8); t11 = (t10 & 1U); if (t11 != 0) goto LAB9; LAB7: if (*((unsigned int *)t5) == 0) goto LAB6; LAB8: t12 = (t4 + 4); *((unsigned int *)t4) = 1; *((unsigned int *)t12) = 1; LAB9: t13 = (t4 + 4); t14 = (t6 + 4); t15 = *((unsigned int *)t6); t16 = (~(t15)); *((unsigned int *)t4) = t16; *((unsigned int *)t13) = 0; if (*((unsigned int *)t14) != 0) goto LAB11; LAB10: t21 = *((unsigned int *)t4); *((unsigned int *)t4) = (t21 & 1U); t22 = *((unsigned int *)t13); *((unsigned int *)t13) = (t22 & 1U); t23 = (t4 + 4); t24 = *((unsigned int *)t23); t25 = (~(t24)); t26 = *((unsigned int *)t4); t27 = (t26 & t25); t28 = (t27 != 0); if (t28 > 0) goto LAB12; LAB13: xsi_set_current_line(103, ng0); LAB16: LAB14: goto LAB2; LAB6: *((unsigned int *)t4) = 1; goto LAB9; LAB11: t17 = *((unsigned int *)t4); t18 = *((unsigned int *)t14); *((unsigned int *)t4) = (t17 | t18); t19 = *((unsigned int *)t13); t20 = *((unsigned int *)t14); *((unsigned int *)t13) = (t19 | t20); goto LAB10; LAB12: xsi_set_current_line(99, ng0); LAB15: goto LAB14; } static void Always_109_5(char *t0) { char t11[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 *t12; char *t13; unsigned int t14; unsigned int t15; unsigned int t16; unsigned int t17; unsigned int t18; char *t19; char *t20; unsigned int t21; unsigned int t22; unsigned int t23; unsigned int t24; unsigned int t25; char *t26; char *t27; LAB0: t1 = (t0 + 8728U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(109, ng0); t2 = (t0 + 9128); *((int *)t2) = 1; t3 = (t0 + 8760); *((char **)t3) = t2; *((char **)t1) = &&LAB4; LAB1: return; LAB4: xsi_set_current_line(110, ng0); LAB5: xsi_set_current_line(111, 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: xsi_set_current_line(122, ng0); LAB18: xsi_set_current_line(123, ng0); t2 = ((char*)((ng2))); t3 = (t0 + 5448); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); LAB8: goto LAB2; LAB6: xsi_set_current_line(112, ng0); LAB9: xsi_set_current_line(113, ng0); t12 = (t0 + 4568U); t13 = *((char **)t12); memset(t11, 0, 8); t12 = (t13 + 4); t14 = *((unsigned int *)t12); t15 = (~(t14)); t16 = *((unsigned int *)t13); t17 = (t16 & t15); t18 = (t17 & 1U); if (t18 != 0) goto LAB13; LAB11: if (*((unsigned int *)t12) == 0) goto LAB10; LAB12: t19 = (t11 + 4); *((unsigned int *)t11) = 1; *((unsigned int *)t19) = 1; LAB13: t20 = (t11 + 4); t21 = *((unsigned int *)t20); t22 = (~(t21)); t23 = *((unsigned int *)t11); t24 = (t23 & t22); t25 = (t24 != 0); if (t25 > 0) goto LAB14; LAB15: LAB16: goto LAB8; LAB10: *((unsigned int *)t11) = 1; goto LAB13; LAB14: xsi_set_current_line(114, ng0); LAB17: xsi_set_current_line(115, ng0); t26 = (t0 + 1848U); t27 = *((char **)t26); t26 = (t0 + 5128); xsi_vlogvar_assign_value(t26, t27, 0, 0, 32); xsi_set_current_line(116, ng0); t2 = ((char*)((ng1))); t3 = (t0 + 5448); xsi_vlogvar_assign_value(t3, t2, 0, 0, 1); goto LAB16; } extern void work_m_00000000000752905116_3378224559_init() { static char *pe[] = {(void *)Cont_43_0,(void *)Cont_44_1,(void *)Cont_45_2,(void *)Cont_46_3,(void *)Always_96_4,(void *)Always_109_5}; xsi_register_didat("work_m_00000000000752905116_3378224559", "isim/test_uart_controller_isim_beh.exe.sim/work/m_00000000000752905116_3378224559.didat"); xsi_register_executes(pe); }