/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ */ /* \ \ 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/alu_ctrl.v"; static int ng1[] = {0, 0}; static int ng2[] = {2, 0}; static int ng3[] = {1, 0}; static int ng4[] = {6, 0}; static int ng5[] = {32, 0}; static int ng6[] = {34, 0}; static int ng7[] = {36, 0}; static int ng8[] = {37, 0}; static int ng9[] = {38, 0}; static int ng10[] = {9, 0}; static int ng11[] = {39, 0}; static int ng12[] = {8, 0}; static int ng13[] = {42, 0}; static int ng14[] = {7, 0}; static int ng15[] = {15, 0}; static void Always_10_0(char *t0) { char t6[8]; char *t1; char *t2; char *t3; char *t4; char *t5; char *t7; char *t8; unsigned int t9; unsigned int t10; unsigned int t11; unsigned int t12; unsigned int t13; 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; int t30; LAB0: t1 = (t0 + 2520U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(10, ng0); t2 = (t0 + 2840); *((int *)t2) = 1; t3 = (t0 + 2552); *((char **)t3) = t2; *((char **)t1) = &&LAB4; LAB1: return; LAB4: xsi_set_current_line(10, ng0); LAB5: xsi_set_current_line(11, ng0); t4 = (t0 + 1048U); t5 = *((char **)t4); t4 = ((char*)((ng1))); memset(t6, 0, 8); t7 = (t5 + 4); t8 = (t4 + 4); t9 = *((unsigned int *)t5); t10 = *((unsigned int *)t4); t11 = (t9 ^ t10); t12 = *((unsigned int *)t7); t13 = *((unsigned int *)t8); t14 = (t12 ^ t13); t15 = (t11 | t14); t16 = *((unsigned int *)t7); t17 = *((unsigned int *)t8); t18 = (t16 | t17); t19 = (~(t18)); t20 = (t15 & t19); if (t20 != 0) goto LAB9; LAB6: if (t18 != 0) goto LAB8; LAB7: *((unsigned int *)t6) = 1; LAB9: t22 = (t6 + 4); t23 = *((unsigned int *)t22); t24 = (~(t23)); t25 = *((unsigned int *)t6); t26 = (t25 & t24); t27 = (t26 != 0); if (t27 > 0) goto LAB10; LAB11: xsi_set_current_line(13, ng0); t2 = (t0 + 1048U); t3 = *((char **)t2); t2 = ((char*)((ng3))); memset(t6, 0, 8); t4 = (t3 + 4); t5 = (t2 + 4); t9 = *((unsigned int *)t3); t10 = *((unsigned int *)t2); t11 = (t9 ^ t10); t12 = *((unsigned int *)t4); t13 = *((unsigned int *)t5); t14 = (t12 ^ t13); t15 = (t11 | t14); t16 = *((unsigned int *)t4); t17 = *((unsigned int *)t5); t18 = (t16 | t17); t19 = (~(t18)); t20 = (t15 & t19); if (t20 != 0) goto LAB16; LAB13: if (t18 != 0) goto LAB15; LAB14: *((unsigned int *)t6) = 1; LAB16: t8 = (t6 + 4); t23 = *((unsigned int *)t8); t24 = (~(t23)); t25 = *((unsigned int *)t6); t26 = (t25 & t24); t27 = (t26 != 0); if (t27 > 0) goto LAB17; LAB18: xsi_set_current_line(15, ng0); t2 = (t0 + 1208U); t3 = *((char **)t2); LAB20: t2 = ((char*)((ng5))); t30 = xsi_vlog_unsigned_case_compare(t3, 6, t2, 32); if (t30 == 1) goto LAB21; LAB22: t2 = ((char*)((ng6))); t30 = xsi_vlog_unsigned_case_compare(t3, 6, t2, 32); if (t30 == 1) goto LAB23; LAB24: t2 = ((char*)((ng7))); t30 = xsi_vlog_unsigned_case_compare(t3, 6, t2, 32); if (t30 == 1) goto LAB25; LAB26: t2 = ((char*)((ng8))); t30 = xsi_vlog_unsigned_case_compare(t3, 6, t2, 32); if (t30 == 1) goto LAB27; LAB28: t2 = ((char*)((ng9))); t30 = xsi_vlog_unsigned_case_compare(t3, 6, t2, 32); if (t30 == 1) goto LAB29; LAB30: t2 = ((char*)((ng11))); t30 = xsi_vlog_unsigned_case_compare(t3, 6, t2, 32); if (t30 == 1) goto LAB31; LAB32: t2 = ((char*)((ng13))); t30 = xsi_vlog_unsigned_case_compare(t3, 6, t2, 32); if (t30 == 1) goto LAB33; LAB34: LAB36: LAB35: xsi_set_current_line(23, ng0); t2 = ((char*)((ng15))); t4 = (t0 + 1608); xsi_vlogvar_assign_value(t4, t2, 0, 0, 5); LAB37: LAB19: LAB12: goto LAB2; LAB8: t21 = (t6 + 4); *((unsigned int *)t6) = 1; *((unsigned int *)t21) = 1; goto LAB9; LAB10: xsi_set_current_line(12, ng0); t28 = ((char*)((ng2))); t29 = (t0 + 1608); xsi_vlogvar_assign_value(t29, t28, 0, 0, 5); goto LAB12; LAB15: t7 = (t6 + 4); *((unsigned int *)t6) = 1; *((unsigned int *)t7) = 1; goto LAB16; LAB17: xsi_set_current_line(14, ng0); t21 = ((char*)((ng4))); t22 = (t0 + 1608); xsi_vlogvar_assign_value(t22, t21, 0, 0, 5); goto LAB19; LAB21: xsi_set_current_line(16, ng0); t4 = ((char*)((ng2))); t5 = (t0 + 1608); xsi_vlogvar_assign_value(t5, t4, 0, 0, 5); goto LAB37; LAB23: xsi_set_current_line(17, ng0); t4 = ((char*)((ng4))); t5 = (t0 + 1608); xsi_vlogvar_assign_value(t5, t4, 0, 0, 5); goto LAB37; LAB25: xsi_set_current_line(18, ng0); t4 = ((char*)((ng1))); t5 = (t0 + 1608); xsi_vlogvar_assign_value(t5, t4, 0, 0, 5); goto LAB37; LAB27: xsi_set_current_line(19, ng0); t4 = ((char*)((ng3))); t5 = (t0 + 1608); xsi_vlogvar_assign_value(t5, t4, 0, 0, 5); goto LAB37; LAB29: xsi_set_current_line(20, ng0); t4 = ((char*)((ng10))); t5 = (t0 + 1608); xsi_vlogvar_assign_value(t5, t4, 0, 0, 5); goto LAB37; LAB31: xsi_set_current_line(21, ng0); t4 = ((char*)((ng12))); t5 = (t0 + 1608); xsi_vlogvar_assign_value(t5, t4, 0, 0, 5); goto LAB37; LAB33: xsi_set_current_line(22, ng0); t4 = ((char*)((ng14))); t5 = (t0 + 1608); xsi_vlogvar_assign_value(t5, t4, 0, 0, 5); goto LAB37; } extern void work_m_05734343435962437432_1098446607_init() { static char *pe[] = {(void *)Always_10_0}; xsi_register_didat("work_m_05734343435962437432_1098446607", "isim/testbench_isim_beh.exe.sim/work/m_05734343435962437432_1098446607.didat"); xsi_register_executes(pe); }