/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ */ /* \ \ Copyright (c) 2003-2009 Xilinx, Inc. */ /* / / All Right Reserved. */ /* /---/ /\ */ /* \ \ / \ */ /* \___\/\___\ */ /***********************************************************************/ /* This file is designed for use with ISim build 0xfbc00daa */ #define XSI_HIDE_SYMBOL_SPEC true #include "xsi.h" #include #ifdef __GNUC__ #include #else #include #define alloca _alloca #endif static const char *ng0 = "/home/maar/Code/Git/Verilog/MIPS-UART-module/src/hdl/uart/baud_gen.v"; static int ng1[] = {0, 0}; static int ng2[] = {1, 0}; static unsigned int ng3[] = {1U, 0U}; static int ng4[] = {2, 0}; static void Always_14_0(char *t0) { char t13[8]; char t30[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 t14; unsigned int t15; unsigned int t16; unsigned int t17; unsigned int t18; unsigned int t19; unsigned int t20; char *t21; char *t22; unsigned int t23; unsigned int t24; unsigned int t25; unsigned int t26; unsigned int t27; char *t28; char *t29; char *t31; LAB0: t1 = (t0 + 2816U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(14, ng0); t2 = (t0 + 3136); *((int *)t2) = 1; t3 = (t0 + 2848); *((char **)t3) = t2; *((char **)t1) = &&LAB4; LAB1: return; LAB4: xsi_set_current_line(14, ng0); LAB5: xsi_set_current_line(15, ng0); t4 = (t0 + 1344U); 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(19, ng0); LAB10: xsi_set_current_line(20, ng0); t2 = (t0 + 1904); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = (t0 + 472); t11 = *((char **)t5); memset(t13, 0, 8); t5 = (t4 + 4); t12 = (t11 + 4); t6 = *((unsigned int *)t4); t7 = *((unsigned int *)t11); t8 = (t6 ^ t7); t9 = *((unsigned int *)t5); t10 = *((unsigned int *)t12); t14 = (t9 ^ t10); t15 = (t8 | t14); t16 = *((unsigned int *)t5); t17 = *((unsigned int *)t12); t18 = (t16 | t17); t19 = (~(t18)); t20 = (t15 & t19); if (t20 != 0) goto LAB14; LAB11: if (t18 != 0) goto LAB13; LAB12: *((unsigned int *)t13) = 1; LAB14: t22 = (t13 + 4); t23 = *((unsigned int *)t22); t24 = (~(t23)); t25 = *((unsigned int *)t13); t26 = (t25 & t24); t27 = (t26 != 0); if (t27 > 0) goto LAB15; LAB16: xsi_set_current_line(24, ng0); t2 = (t0 + 1904); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = (t0 + 472); t11 = *((char **)t5); t5 = ((char*)((ng4))); memset(t13, 0, 8); xsi_vlog_unsigned_divide(t13, 32, t11, 32, t5, 32); memset(t30, 0, 8); t12 = (t4 + 4); t21 = (t13 + 4); t6 = *((unsigned int *)t4); t7 = *((unsigned int *)t13); t8 = (t6 ^ t7); t9 = *((unsigned int *)t12); t10 = *((unsigned int *)t21); t14 = (t9 ^ t10); t15 = (t8 | t14); t16 = *((unsigned int *)t12); t17 = *((unsigned int *)t21); t18 = (t16 | t17); t19 = (~(t18)); t20 = (t15 & t19); if (t20 != 0) goto LAB22; LAB19: if (t18 != 0) goto LAB21; LAB20: *((unsigned int *)t30) = 1; LAB22: t28 = (t30 + 4); t23 = *((unsigned int *)t28); t24 = (~(t23)); t25 = *((unsigned int *)t30); t26 = (t25 & t24); t27 = (t26 != 0); if (t27 > 0) goto LAB23; LAB24: xsi_set_current_line(28, ng0); t2 = (t0 + 1904); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = ((char*)((ng1))); memset(t13, 0, 8); t11 = (t4 + 4); t12 = (t5 + 4); t6 = *((unsigned int *)t4); t7 = *((unsigned int *)t5); t8 = (t6 ^ t7); t9 = *((unsigned int *)t11); t10 = *((unsigned int *)t12); t14 = (t9 ^ t10); t15 = (t8 | t14); t16 = *((unsigned int *)t11); t17 = *((unsigned int *)t12); t18 = (t16 | t17); t19 = (~(t18)); t20 = (t15 & t19); if (t20 != 0) goto LAB30; LAB27: if (t18 != 0) goto LAB29; LAB28: *((unsigned int *)t13) = 1; LAB30: t22 = (t13 + 4); t23 = *((unsigned int *)t22); t24 = (~(t23)); t25 = *((unsigned int *)t13); t26 = (t25 & t24); t27 = (t26 != 0); if (t27 > 0) goto LAB31; LAB32: xsi_set_current_line(31, ng0); t2 = (t0 + 1904); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = ((char*)((ng3))); memset(t13, 0, 8); xsi_vlog_unsigned_minus(t13, 17, t4, 17, t5, 17); t11 = (t0 + 1904); xsi_vlogvar_wait_assign_value(t11, t13, 0, 0, 17, 0LL); LAB33: LAB25: LAB17: LAB8: goto LAB2; LAB6: xsi_set_current_line(15, ng0); LAB9: xsi_set_current_line(16, ng0); t11 = (t0 + 472); t12 = *((char **)t11); t11 = (t0 + 1904); xsi_vlogvar_wait_assign_value(t11, t12, 0, 0, 17, 0LL); xsi_set_current_line(17, ng0); t2 = ((char*)((ng1))); t3 = (t0 + 1744); xsi_vlogvar_wait_assign_value(t3, t2, 0, 0, 1, 0LL); goto LAB8; LAB13: t21 = (t13 + 4); *((unsigned int *)t13) = 1; *((unsigned int *)t21) = 1; goto LAB14; LAB15: xsi_set_current_line(20, ng0); LAB18: xsi_set_current_line(21, ng0); t28 = ((char*)((ng2))); t29 = (t0 + 1744); xsi_vlogvar_wait_assign_value(t29, t28, 0, 0, 1, 0LL); xsi_set_current_line(22, ng0); t2 = (t0 + 1904); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = ((char*)((ng3))); memset(t13, 0, 8); xsi_vlog_unsigned_minus(t13, 17, t4, 17, t5, 17); t11 = (t0 + 1904); xsi_vlogvar_wait_assign_value(t11, t13, 0, 0, 17, 0LL); goto LAB17; LAB21: t22 = (t30 + 4); *((unsigned int *)t30) = 1; *((unsigned int *)t22) = 1; goto LAB22; LAB23: xsi_set_current_line(24, ng0); LAB26: xsi_set_current_line(25, ng0); t29 = ((char*)((ng1))); t31 = (t0 + 1744); xsi_vlogvar_wait_assign_value(t31, t29, 0, 0, 1, 0LL); xsi_set_current_line(26, ng0); t2 = (t0 + 1904); t3 = (t2 + 56U); t4 = *((char **)t3); t5 = ((char*)((ng3))); memset(t13, 0, 8); xsi_vlog_unsigned_minus(t13, 17, t4, 17, t5, 17); t11 = (t0 + 1904); xsi_vlogvar_wait_assign_value(t11, t13, 0, 0, 17, 0LL); goto LAB25; LAB29: t21 = (t13 + 4); *((unsigned int *)t13) = 1; *((unsigned int *)t21) = 1; goto LAB30; LAB31: xsi_set_current_line(29, ng0); t28 = (t0 + 472); t29 = *((char **)t28); t28 = (t0 + 1904); xsi_vlogvar_wait_assign_value(t28, t29, 0, 0, 17, 0LL); goto LAB33; } extern void work_m_00457643570228024015_0935438129_init() { static char *pe[] = {(void *)Always_14_0}; xsi_register_didat("work_m_00457643570228024015_0935438129", "isim/testbench_isim_beh.exe.sim/work/m_00457643570228024015_0935438129.didat"); xsi_register_executes(pe); }