/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ */ /* \ \ 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/forwarding_unit.v"; static unsigned int ng1[] = {1U, 0U}; static unsigned int ng2[] = {2U, 0U}; static unsigned int ng3[] = {0U, 0U}; static void Cont_27_0(char *t0) { char t3[8]; char t4[8]; char t6[8]; char t30[8]; char t31[8]; char t34[8]; char *t1; char *t2; char *t5; char *t7; unsigned int t8; unsigned int t9; unsigned int t10; unsigned int t11; unsigned int t12; unsigned int t13; char *t14; unsigned int t15; unsigned int t16; unsigned int t17; unsigned int t18; unsigned int t19; char *t20; char *t21; unsigned int t22; unsigned int t23; unsigned int t24; char *t25; unsigned int t26; unsigned int t27; unsigned int t28; unsigned int t29; char *t32; char *t33; char *t35; unsigned int t36; unsigned int t37; unsigned int t38; unsigned int t39; unsigned int t40; unsigned int t41; char *t42; unsigned int t43; unsigned int t44; unsigned int t45; unsigned int t46; unsigned int t47; char *t48; char *t49; unsigned int t50; unsigned int t51; unsigned int t52; char *t53; unsigned int t54; unsigned int t55; unsigned int t56; unsigned int t57; char *t58; char *t59; char *t60; char *t61; char *t62; char *t63; unsigned int t64; unsigned int t65; char *t66; unsigned int t67; unsigned int t68; char *t69; unsigned int t70; unsigned int t71; char *t72; LAB0: t1 = (t0 + 4280U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(27, ng0); t2 = (t0 + 2968U); t5 = *((char **)t2); memset(t6, 0, 8); t2 = (t6 + 4); t7 = (t5 + 4); t8 = *((unsigned int *)t5); t9 = (t8 >> 0); t10 = (t9 & 1); *((unsigned int *)t6) = t10; t11 = *((unsigned int *)t7); t12 = (t11 >> 0); t13 = (t12 & 1); *((unsigned int *)t2) = t13; memset(t4, 0, 8); t14 = (t6 + 4); t15 = *((unsigned int *)t14); t16 = (~(t15)); t17 = *((unsigned int *)t6); t18 = (t17 & t16); t19 = (t18 & 1U); if (t19 != 0) goto LAB4; LAB5: if (*((unsigned int *)t14) != 0) goto LAB6; LAB7: t21 = (t4 + 4); t22 = *((unsigned int *)t4); t23 = *((unsigned int *)t21); t24 = (t22 || t23); if (t24 > 0) goto LAB8; LAB9: t26 = *((unsigned int *)t4); t27 = (~(t26)); t28 = *((unsigned int *)t21); t29 = (t27 || t28); if (t29 > 0) goto LAB10; LAB11: if (*((unsigned int *)t21) > 0) goto LAB12; LAB13: if (*((unsigned int *)t4) > 0) goto LAB14; LAB15: memcpy(t3, t30, 8); LAB16: t59 = (t0 + 5472); t60 = (t59 + 56U); t61 = *((char **)t60); t62 = (t61 + 56U); t63 = *((char **)t62); memset(t63, 0, 8); t64 = 3U; t65 = t64; t66 = (t3 + 4); t67 = *((unsigned int *)t3); t64 = (t64 & t67); t68 = *((unsigned int *)t66); t65 = (t65 & t68); t69 = (t63 + 4); t70 = *((unsigned int *)t63); *((unsigned int *)t63) = (t70 | t64); t71 = *((unsigned int *)t69); *((unsigned int *)t69) = (t71 | t65); xsi_driver_vfirst_trans(t59, 0, 1); t72 = (t0 + 5344); *((int *)t72) = 1; LAB1: return; LAB4: *((unsigned int *)t4) = 1; goto LAB7; LAB6: t20 = (t4 + 4); *((unsigned int *)t4) = 1; *((unsigned int *)t20) = 1; goto LAB7; LAB8: t25 = ((char*)((ng1))); goto LAB9; LAB10: t32 = (t0 + 2968U); t33 = *((char **)t32); memset(t34, 0, 8); t32 = (t34 + 4); t35 = (t33 + 4); t36 = *((unsigned int *)t33); t37 = (t36 >> 2); t38 = (t37 & 1); *((unsigned int *)t34) = t38; t39 = *((unsigned int *)t35); t40 = (t39 >> 2); t41 = (t40 & 1); *((unsigned int *)t32) = t41; memset(t31, 0, 8); t42 = (t34 + 4); t43 = *((unsigned int *)t42); t44 = (~(t43)); t45 = *((unsigned int *)t34); t46 = (t45 & t44); t47 = (t46 & 1U); if (t47 != 0) goto LAB17; LAB18: if (*((unsigned int *)t42) != 0) goto LAB19; LAB20: t49 = (t31 + 4); t50 = *((unsigned int *)t31); t51 = *((unsigned int *)t49); t52 = (t50 || t51); if (t52 > 0) goto LAB21; LAB22: t54 = *((unsigned int *)t31); t55 = (~(t54)); t56 = *((unsigned int *)t49); t57 = (t55 || t56); if (t57 > 0) goto LAB23; LAB24: if (*((unsigned int *)t49) > 0) goto LAB25; LAB26: if (*((unsigned int *)t31) > 0) goto LAB27; LAB28: memcpy(t30, t58, 8); LAB29: goto LAB11; LAB12: xsi_vlog_unsigned_bit_combine(t3, 2, t25, 2, t30, 2); goto LAB16; LAB14: memcpy(t3, t25, 8); goto LAB16; LAB17: *((unsigned int *)t31) = 1; goto LAB20; LAB19: t48 = (t31 + 4); *((unsigned int *)t31) = 1; *((unsigned int *)t48) = 1; goto LAB20; LAB21: t53 = ((char*)((ng2))); goto LAB22; LAB23: t58 = ((char*)((ng3))); goto LAB24; LAB25: xsi_vlog_unsigned_bit_combine(t30, 2, t53, 2, t58, 2); goto LAB29; LAB27: memcpy(t30, t53, 8); goto LAB29; } static void Cont_28_1(char *t0) { char t3[8]; char t4[8]; char t6[8]; char t30[8]; char t31[8]; char t34[8]; char *t1; char *t2; char *t5; char *t7; unsigned int t8; unsigned int t9; unsigned int t10; unsigned int t11; unsigned int t12; unsigned int t13; char *t14; unsigned int t15; unsigned int t16; unsigned int t17; unsigned int t18; unsigned int t19; char *t20; char *t21; unsigned int t22; unsigned int t23; unsigned int t24; char *t25; unsigned int t26; unsigned int t27; unsigned int t28; unsigned int t29; char *t32; char *t33; char *t35; unsigned int t36; unsigned int t37; unsigned int t38; unsigned int t39; unsigned int t40; unsigned int t41; char *t42; unsigned int t43; unsigned int t44; unsigned int t45; unsigned int t46; unsigned int t47; char *t48; char *t49; unsigned int t50; unsigned int t51; unsigned int t52; char *t53; unsigned int t54; unsigned int t55; unsigned int t56; unsigned int t57; char *t58; char *t59; char *t60; char *t61; char *t62; char *t63; unsigned int t64; unsigned int t65; char *t66; unsigned int t67; unsigned int t68; char *t69; unsigned int t70; unsigned int t71; char *t72; LAB0: t1 = (t0 + 4528U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(28, ng0); t2 = (t0 + 2968U); t5 = *((char **)t2); memset(t6, 0, 8); t2 = (t6 + 4); t7 = (t5 + 4); t8 = *((unsigned int *)t5); t9 = (t8 >> 1); t10 = (t9 & 1); *((unsigned int *)t6) = t10; t11 = *((unsigned int *)t7); t12 = (t11 >> 1); t13 = (t12 & 1); *((unsigned int *)t2) = t13; memset(t4, 0, 8); t14 = (t6 + 4); t15 = *((unsigned int *)t14); t16 = (~(t15)); t17 = *((unsigned int *)t6); t18 = (t17 & t16); t19 = (t18 & 1U); if (t19 != 0) goto LAB4; LAB5: if (*((unsigned int *)t14) != 0) goto LAB6; LAB7: t21 = (t4 + 4); t22 = *((unsigned int *)t4); t23 = *((unsigned int *)t21); t24 = (t22 || t23); if (t24 > 0) goto LAB8; LAB9: t26 = *((unsigned int *)t4); t27 = (~(t26)); t28 = *((unsigned int *)t21); t29 = (t27 || t28); if (t29 > 0) goto LAB10; LAB11: if (*((unsigned int *)t21) > 0) goto LAB12; LAB13: if (*((unsigned int *)t4) > 0) goto LAB14; LAB15: memcpy(t3, t30, 8); LAB16: t59 = (t0 + 5536); t60 = (t59 + 56U); t61 = *((char **)t60); t62 = (t61 + 56U); t63 = *((char **)t62); memset(t63, 0, 8); t64 = 3U; t65 = t64; t66 = (t3 + 4); t67 = *((unsigned int *)t3); t64 = (t64 & t67); t68 = *((unsigned int *)t66); t65 = (t65 & t68); t69 = (t63 + 4); t70 = *((unsigned int *)t63); *((unsigned int *)t63) = (t70 | t64); t71 = *((unsigned int *)t69); *((unsigned int *)t69) = (t71 | t65); xsi_driver_vfirst_trans(t59, 0, 1); t72 = (t0 + 5360); *((int *)t72) = 1; LAB1: return; LAB4: *((unsigned int *)t4) = 1; goto LAB7; LAB6: t20 = (t4 + 4); *((unsigned int *)t4) = 1; *((unsigned int *)t20) = 1; goto LAB7; LAB8: t25 = ((char*)((ng1))); goto LAB9; LAB10: t32 = (t0 + 2968U); t33 = *((char **)t32); memset(t34, 0, 8); t32 = (t34 + 4); t35 = (t33 + 4); t36 = *((unsigned int *)t33); t37 = (t36 >> 3); t38 = (t37 & 1); *((unsigned int *)t34) = t38; t39 = *((unsigned int *)t35); t40 = (t39 >> 3); t41 = (t40 & 1); *((unsigned int *)t32) = t41; memset(t31, 0, 8); t42 = (t34 + 4); t43 = *((unsigned int *)t42); t44 = (~(t43)); t45 = *((unsigned int *)t34); t46 = (t45 & t44); t47 = (t46 & 1U); if (t47 != 0) goto LAB17; LAB18: if (*((unsigned int *)t42) != 0) goto LAB19; LAB20: t49 = (t31 + 4); t50 = *((unsigned int *)t31); t51 = *((unsigned int *)t49); t52 = (t50 || t51); if (t52 > 0) goto LAB21; LAB22: t54 = *((unsigned int *)t31); t55 = (~(t54)); t56 = *((unsigned int *)t49); t57 = (t55 || t56); if (t57 > 0) goto LAB23; LAB24: if (*((unsigned int *)t49) > 0) goto LAB25; LAB26: if (*((unsigned int *)t31) > 0) goto LAB27; LAB28: memcpy(t30, t58, 8); LAB29: goto LAB11; LAB12: xsi_vlog_unsigned_bit_combine(t3, 2, t25, 2, t30, 2); goto LAB16; LAB14: memcpy(t3, t25, 8); goto LAB16; LAB17: *((unsigned int *)t31) = 1; goto LAB20; LAB19: t48 = (t31 + 4); *((unsigned int *)t31) = 1; *((unsigned int *)t48) = 1; goto LAB20; LAB21: t53 = ((char*)((ng2))); goto LAB22; LAB23: t58 = ((char*)((ng3))); goto LAB24; LAB25: xsi_vlog_unsigned_bit_combine(t30, 2, t53, 2, t58, 2); goto LAB29; LAB27: memcpy(t30, t53, 8); goto LAB29; } static void Cont_29_2(char *t0) { char t3[8]; char t4[8]; char t6[8]; char t30[8]; char t31[8]; char t34[8]; char *t1; char *t2; char *t5; char *t7; unsigned int t8; unsigned int t9; unsigned int t10; unsigned int t11; unsigned int t12; unsigned int t13; char *t14; unsigned int t15; unsigned int t16; unsigned int t17; unsigned int t18; unsigned int t19; char *t20; char *t21; unsigned int t22; unsigned int t23; unsigned int t24; char *t25; unsigned int t26; unsigned int t27; unsigned int t28; unsigned int t29; char *t32; char *t33; char *t35; unsigned int t36; unsigned int t37; unsigned int t38; unsigned int t39; unsigned int t40; unsigned int t41; char *t42; unsigned int t43; unsigned int t44; unsigned int t45; unsigned int t46; unsigned int t47; char *t48; char *t49; unsigned int t50; unsigned int t51; unsigned int t52; char *t53; unsigned int t54; unsigned int t55; unsigned int t56; unsigned int t57; char *t58; char *t59; char *t60; char *t61; char *t62; char *t63; unsigned int t64; unsigned int t65; char *t66; unsigned int t67; unsigned int t68; char *t69; unsigned int t70; unsigned int t71; char *t72; LAB0: t1 = (t0 + 4776U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(29, ng0); t2 = (t0 + 3128U); t5 = *((char **)t2); memset(t6, 0, 8); t2 = (t6 + 4); t7 = (t5 + 4); t8 = *((unsigned int *)t5); t9 = (t8 >> 0); t10 = (t9 & 1); *((unsigned int *)t6) = t10; t11 = *((unsigned int *)t7); t12 = (t11 >> 0); t13 = (t12 & 1); *((unsigned int *)t2) = t13; memset(t4, 0, 8); t14 = (t6 + 4); t15 = *((unsigned int *)t14); t16 = (~(t15)); t17 = *((unsigned int *)t6); t18 = (t17 & t16); t19 = (t18 & 1U); if (t19 != 0) goto LAB4; LAB5: if (*((unsigned int *)t14) != 0) goto LAB6; LAB7: t21 = (t4 + 4); t22 = *((unsigned int *)t4); t23 = *((unsigned int *)t21); t24 = (t22 || t23); if (t24 > 0) goto LAB8; LAB9: t26 = *((unsigned int *)t4); t27 = (~(t26)); t28 = *((unsigned int *)t21); t29 = (t27 || t28); if (t29 > 0) goto LAB10; LAB11: if (*((unsigned int *)t21) > 0) goto LAB12; LAB13: if (*((unsigned int *)t4) > 0) goto LAB14; LAB15: memcpy(t3, t30, 8); LAB16: t59 = (t0 + 5600); t60 = (t59 + 56U); t61 = *((char **)t60); t62 = (t61 + 56U); t63 = *((char **)t62); memset(t63, 0, 8); t64 = 3U; t65 = t64; t66 = (t3 + 4); t67 = *((unsigned int *)t3); t64 = (t64 & t67); t68 = *((unsigned int *)t66); t65 = (t65 & t68); t69 = (t63 + 4); t70 = *((unsigned int *)t63); *((unsigned int *)t63) = (t70 | t64); t71 = *((unsigned int *)t69); *((unsigned int *)t69) = (t71 | t65); xsi_driver_vfirst_trans(t59, 0, 1); t72 = (t0 + 5376); *((int *)t72) = 1; LAB1: return; LAB4: *((unsigned int *)t4) = 1; goto LAB7; LAB6: t20 = (t4 + 4); *((unsigned int *)t4) = 1; *((unsigned int *)t20) = 1; goto LAB7; LAB8: t25 = ((char*)((ng1))); goto LAB9; LAB10: t32 = (t0 + 3128U); t33 = *((char **)t32); memset(t34, 0, 8); t32 = (t34 + 4); t35 = (t33 + 4); t36 = *((unsigned int *)t33); t37 = (t36 >> 2); t38 = (t37 & 1); *((unsigned int *)t34) = t38; t39 = *((unsigned int *)t35); t40 = (t39 >> 2); t41 = (t40 & 1); *((unsigned int *)t32) = t41; memset(t31, 0, 8); t42 = (t34 + 4); t43 = *((unsigned int *)t42); t44 = (~(t43)); t45 = *((unsigned int *)t34); t46 = (t45 & t44); t47 = (t46 & 1U); if (t47 != 0) goto LAB17; LAB18: if (*((unsigned int *)t42) != 0) goto LAB19; LAB20: t49 = (t31 + 4); t50 = *((unsigned int *)t31); t51 = *((unsigned int *)t49); t52 = (t50 || t51); if (t52 > 0) goto LAB21; LAB22: t54 = *((unsigned int *)t31); t55 = (~(t54)); t56 = *((unsigned int *)t49); t57 = (t55 || t56); if (t57 > 0) goto LAB23; LAB24: if (*((unsigned int *)t49) > 0) goto LAB25; LAB26: if (*((unsigned int *)t31) > 0) goto LAB27; LAB28: memcpy(t30, t58, 8); LAB29: goto LAB11; LAB12: xsi_vlog_unsigned_bit_combine(t3, 2, t25, 2, t30, 2); goto LAB16; LAB14: memcpy(t3, t25, 8); goto LAB16; LAB17: *((unsigned int *)t31) = 1; goto LAB20; LAB19: t48 = (t31 + 4); *((unsigned int *)t31) = 1; *((unsigned int *)t48) = 1; goto LAB20; LAB21: t53 = ((char*)((ng2))); goto LAB22; LAB23: t58 = ((char*)((ng3))); goto LAB24; LAB25: xsi_vlog_unsigned_bit_combine(t30, 2, t53, 2, t58, 2); goto LAB29; LAB27: memcpy(t30, t53, 8); goto LAB29; } static void Cont_30_3(char *t0) { char t3[8]; char t4[8]; char t6[8]; char t30[8]; char t31[8]; char t34[8]; char *t1; char *t2; char *t5; char *t7; unsigned int t8; unsigned int t9; unsigned int t10; unsigned int t11; unsigned int t12; unsigned int t13; char *t14; unsigned int t15; unsigned int t16; unsigned int t17; unsigned int t18; unsigned int t19; char *t20; char *t21; unsigned int t22; unsigned int t23; unsigned int t24; char *t25; unsigned int t26; unsigned int t27; unsigned int t28; unsigned int t29; char *t32; char *t33; char *t35; unsigned int t36; unsigned int t37; unsigned int t38; unsigned int t39; unsigned int t40; unsigned int t41; char *t42; unsigned int t43; unsigned int t44; unsigned int t45; unsigned int t46; unsigned int t47; char *t48; char *t49; unsigned int t50; unsigned int t51; unsigned int t52; char *t53; unsigned int t54; unsigned int t55; unsigned int t56; unsigned int t57; char *t58; char *t59; char *t60; char *t61; char *t62; char *t63; unsigned int t64; unsigned int t65; char *t66; unsigned int t67; unsigned int t68; char *t69; unsigned int t70; unsigned int t71; char *t72; LAB0: t1 = (t0 + 5024U); t2 = *((char **)t1); if (t2 == 0) goto LAB2; LAB3: goto *t2; LAB2: xsi_set_current_line(30, ng0); t2 = (t0 + 3128U); t5 = *((char **)t2); memset(t6, 0, 8); t2 = (t6 + 4); t7 = (t5 + 4); t8 = *((unsigned int *)t5); t9 = (t8 >> 1); t10 = (t9 & 1); *((unsigned int *)t6) = t10; t11 = *((unsigned int *)t7); t12 = (t11 >> 1); t13 = (t12 & 1); *((unsigned int *)t2) = t13; memset(t4, 0, 8); t14 = (t6 + 4); t15 = *((unsigned int *)t14); t16 = (~(t15)); t17 = *((unsigned int *)t6); t18 = (t17 & t16); t19 = (t18 & 1U); if (t19 != 0) goto LAB4; LAB5: if (*((unsigned int *)t14) != 0) goto LAB6; LAB7: t21 = (t4 + 4); t22 = *((unsigned int *)t4); t23 = *((unsigned int *)t21); t24 = (t22 || t23); if (t24 > 0) goto LAB8; LAB9: t26 = *((unsigned int *)t4); t27 = (~(t26)); t28 = *((unsigned int *)t21); t29 = (t27 || t28); if (t29 > 0) goto LAB10; LAB11: if (*((unsigned int *)t21) > 0) goto LAB12; LAB13: if (*((unsigned int *)t4) > 0) goto LAB14; LAB15: memcpy(t3, t30, 8); LAB16: t59 = (t0 + 5664); t60 = (t59 + 56U); t61 = *((char **)t60); t62 = (t61 + 56U); t63 = *((char **)t62); memset(t63, 0, 8); t64 = 3U; t65 = t64; t66 = (t3 + 4); t67 = *((unsigned int *)t3); t64 = (t64 & t67); t68 = *((unsigned int *)t66); t65 = (t65 & t68); t69 = (t63 + 4); t70 = *((unsigned int *)t63); *((unsigned int *)t63) = (t70 | t64); t71 = *((unsigned int *)t69); *((unsigned int *)t69) = (t71 | t65); xsi_driver_vfirst_trans(t59, 0, 1); t72 = (t0 + 5392); *((int *)t72) = 1; LAB1: return; LAB4: *((unsigned int *)t4) = 1; goto LAB7; LAB6: t20 = (t4 + 4); *((unsigned int *)t4) = 1; *((unsigned int *)t20) = 1; goto LAB7; LAB8: t25 = ((char*)((ng1))); goto LAB9; LAB10: t32 = (t0 + 3128U); t33 = *((char **)t32); memset(t34, 0, 8); t32 = (t34 + 4); t35 = (t33 + 4); t36 = *((unsigned int *)t33); t37 = (t36 >> 3); t38 = (t37 & 1); *((unsigned int *)t34) = t38; t39 = *((unsigned int *)t35); t40 = (t39 >> 3); t41 = (t40 & 1); *((unsigned int *)t32) = t41; memset(t31, 0, 8); t42 = (t34 + 4); t43 = *((unsigned int *)t42); t44 = (~(t43)); t45 = *((unsigned int *)t34); t46 = (t45 & t44); t47 = (t46 & 1U); if (t47 != 0) goto LAB17; LAB18: if (*((unsigned int *)t42) != 0) goto LAB19; LAB20: t49 = (t31 + 4); t50 = *((unsigned int *)t31); t51 = *((unsigned int *)t49); t52 = (t50 || t51); if (t52 > 0) goto LAB21; LAB22: t54 = *((unsigned int *)t31); t55 = (~(t54)); t56 = *((unsigned int *)t49); t57 = (t55 || t56); if (t57 > 0) goto LAB23; LAB24: if (*((unsigned int *)t49) > 0) goto LAB25; LAB26: if (*((unsigned int *)t31) > 0) goto LAB27; LAB28: memcpy(t30, t58, 8); LAB29: goto LAB11; LAB12: xsi_vlog_unsigned_bit_combine(t3, 2, t25, 2, t30, 2); goto LAB16; LAB14: memcpy(t3, t25, 8); goto LAB16; LAB17: *((unsigned int *)t31) = 1; goto LAB20; LAB19: t48 = (t31 + 4); *((unsigned int *)t31) = 1; *((unsigned int *)t48) = 1; goto LAB20; LAB21: t53 = ((char*)((ng2))); goto LAB22; LAB23: t58 = ((char*)((ng3))); goto LAB24; LAB25: xsi_vlog_unsigned_bit_combine(t30, 2, t53, 2, t58, 2); goto LAB29; LAB27: memcpy(t30, t53, 8); goto LAB29; } extern void work_m_06525214646608063532_1081490573_init() { static char *pe[] = {(void *)Cont_27_0,(void *)Cont_28_1,(void *)Cont_29_2,(void *)Cont_30_3}; xsi_register_didat("work_m_06525214646608063532_1081490573", "isim/testbench_isim_beh.exe.sim/work/m_06525214646608063532_1081490573.didat"); xsi_register_executes(pe); }