📄 m_00000000001567990468_0339130360.c
字号:
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ */
/* \ \ Copyright (c) 2003-2007 Xilinx, Inc. */
/* / / All Right Reserved. */
/* /---/ /\ */
/* \ \ / \ */
/* \___\/\___\ */
/**********************************************************************/
/* This file is designed for use with ISim build 0x734844ce */
#include "xsi.h"
#include <memory.h>
#ifdef __GNUC__
#include <stdlib.h>
#else
#include <malloc.h>
#define alloca _alloca
#endif
static int ng0[] = {1, 0};
static unsigned int ng1[] = {1U, 1U};
static int ng2[] = {0, 0};
static unsigned int ng3[] = {0U, 1U};
static int ng4[] = {2, 0};
static int sp_defval(char *t1, char *t2)
{
char t7[8];
int t0;
char *t3;
char *t4;
char *t5;
char *t6;
char *t8;
char *t9;
char *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;
unsigned int t21;
unsigned int t22;
char *t23;
unsigned int t24;
unsigned int t25;
unsigned int t26;
unsigned int t27;
unsigned int t28;
char *t29;
char *t30;
char *t31;
char *t32;
LAB0: t0 = 1;
LAB2: t3 = (t1 + 5200);
t4 = (t3 + 32U);
t5 = *((char **)t4);
t6 = ((char*)((ng0)));
memset(t7, 0, 8);
t8 = (t7 + 4U);
t9 = (t5 + 4U);
t10 = (t6 + 4U);
t11 = *((unsigned int *)t5);
t12 = *((unsigned int *)t6);
t13 = (t11 ^ t12);
t14 = *((unsigned int *)t9);
t15 = *((unsigned int *)t10);
t16 = (t14 ^ t15);
t17 = (t13 | t16);
t18 = *((unsigned int *)t9);
t19 = *((unsigned int *)t10);
t20 = (t18 | t19);
t21 = (~(t20));
t22 = (t17 & t21);
if (t22 != 0)
goto LAB6;
LAB3: if (t20 != 0)
goto LAB5;
LAB4: *((unsigned int *)t7) = 1;
LAB6: t23 = (t7 + 4U);
t24 = *((unsigned int *)t23);
t25 = (~(t24));
t26 = *((unsigned int *)t7);
t27 = (t26 & t25);
t28 = (t27 != 0);
if (t28 > 0)
goto LAB7;
LAB8: t3 = (t1 + 5292);
t4 = (t3 + 32U);
t5 = *((char **)t4);
t6 = (t1 + 5016);
xsi_vlogvar_assign_value(t6, t5, 0, 0, 1);
LAB9: t0 = 0;
LAB1: return t0;
LAB5: *((unsigned int *)t7) = 1;
*((unsigned int *)t8) = 1;
goto LAB6;
LAB7: t29 = (t1 + 5108);
t30 = (t29 + 32U);
t31 = *((char **)t30);
t32 = (t1 + 5016);
xsi_vlogvar_assign_value(t32, t31, 0, 0, 1);
goto LAB9;
}
static void N115_0(char *t0)
{
char t3[8];
char t4[8];
char t6[8];
char *t1;
char *t2;
char *t5;
char *t7;
char *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;
char *t18;
char *t19;
char *t20;
unsigned int t21;
unsigned int t22;
unsigned int t23;
unsigned int t24;
char *t25;
char *t26;
char *t27;
char *t28;
char *t29;
char *t30;
char *t31;
unsigned int t32;
unsigned int t33;
char *t34;
unsigned int t35;
unsigned int t36;
unsigned int t37;
unsigned int t38;
unsigned int t39;
unsigned int t40;
char *t41;
LAB0: t1 = (t0 + 5768U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: t2 = (t0 + 780);
t5 = *((char **)t2);
t2 = ((char*)((ng0)));
memset(t6, 0, 8);
xsi_vlog_signed_equal(t6, 32, t5, 32, t2, 32);
memset(t4, 0, 8);
t7 = (t4 + 4U);
t8 = (t6 + 4U);
t9 = *((unsigned int *)t8);
t10 = (~(t9));
t11 = *((unsigned int *)t6);
t12 = (t11 & t10);
t13 = (t12 & 1U);
if (t13 != 0)
goto LAB4;
LAB5: if (*((unsigned int *)t8) != 0)
goto LAB6;
LAB7: t14 = (t4 + 4U);
t15 = *((unsigned int *)t4);
t16 = *((unsigned int *)t14);
t17 = (t15 || t16);
if (t17 > 0)
goto LAB8;
LAB9: t21 = *((unsigned int *)t4);
t22 = (~(t21));
t23 = *((unsigned int *)t14);
t24 = (t22 || t23);
if (t24 > 0)
goto LAB10;
LAB11: if (*((unsigned int *)t14) > 0)
goto LAB12;
LAB13: if (*((unsigned int *)t4) > 0)
goto LAB14;
LAB15: memcpy(t3, t25, 8);
LAB16: t26 = (t0 + 6528);
t27 = (t26 + 32U);
t28 = *((char **)t27);
t29 = (t28 + 40U);
t30 = *((char **)t29);
t31 = (t30 + 4U);
t32 = 1U;
t33 = t32;
t34 = (t3 + 4U);
t35 = *((unsigned int *)t3);
t32 = (t32 & t35);
t36 = *((unsigned int *)t34);
t33 = (t33 & t36);
t37 = *((unsigned int *)t30);
*((unsigned int *)t30) = (t37 & 4294967294U);
t38 = *((unsigned int *)t30);
*((unsigned int *)t30) = (t38 | t32);
t39 = *((unsigned int *)t31);
*((unsigned int *)t31) = (t39 & 4294967294U);
t40 = *((unsigned int *)t31);
*((unsigned int *)t31) = (t40 | t33);
xsi_driver_vfirst_trans(t26, 0, 0U);
t41 = (t0 + 6460);
*((int *)t41) = 1;
LAB1: return;
LAB4: *((unsigned int *)t4) = 1;
goto LAB7;
LAB6: *((unsigned int *)t4) = 1;
*((unsigned int *)t7) = 1;
goto LAB7;
LAB8: t18 = (t0 + 4556);
t19 = (t18 + 32U);
t20 = *((char **)t19);
goto LAB9;
LAB10: t25 = ((char*)((ng1)));
goto LAB11;
LAB12: xsi_vlog_unsigned_bit_combine(t3, 1, t20, 1, t25, 1);
goto LAB16;
LAB14: memcpy(t3, t20, 8);
goto LAB16;
}
static void N116_1(char *t0)
{
char t3[8];
char t4[8];
char t6[8];
char *t1;
char *t2;
char *t5;
char *t7;
char *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;
char *t18;
char *t19;
char *t20;
unsigned int t21;
unsigned int t22;
unsigned int t23;
unsigned int t24;
char *t25;
char *t26;
char *t27;
char *t28;
char *t29;
char *t30;
char *t31;
unsigned int t32;
unsigned int t33;
char *t34;
unsigned int t35;
unsigned int t36;
unsigned int t37;
unsigned int t38;
unsigned int t39;
unsigned int t40;
char *t41;
LAB0: t1 = (t0 + 5896U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: t2 = (t0 + 704);
t5 = *((char **)t2);
t2 = ((char*)((ng0)));
memset(t6, 0, 8);
xsi_vlog_signed_equal(t6, 32, t5, 32, t2, 32);
memset(t4, 0, 8);
t7 = (t4 + 4U);
t8 = (t6 + 4U);
t9 = *((unsigned int *)t8);
t10 = (~(t9));
t11 = *((unsigned int *)t6);
t12 = (t11 & t10);
t13 = (t12 & 1U);
if (t13 != 0)
goto LAB4;
LAB5: if (*((unsigned int *)t8) != 0)
goto LAB6;
LAB7: t14 = (t4 + 4U);
t15 = *((unsigned int *)t4);
t16 = *((unsigned int *)t14);
t17 = (t15 || t16);
if (t17 > 0)
goto LAB8;
LAB9: t21 = *((unsigned int *)t4);
t22 = (~(t21));
t23 = *((unsigned int *)t14);
t24 = (t22 || t23);
if (t24 > 0)
goto LAB10;
LAB11: if (*((unsigned int *)t14) > 0)
goto LAB12;
LAB13: if (*((unsigned int *)t4) > 0)
goto LAB14;
LAB15: memcpy(t3, t25, 8);
LAB16: t26 = (t0 + 6564);
t27 = (t26 + 32U);
t28 = *((char **)t27);
t29 = (t28 + 40U);
t30 = *((char **)t29);
t31 = (t30 + 4U);
t32 = 1U;
t33 = t32;
t34 = (t3 + 4U);
t35 = *((unsigned int *)t3);
t32 = (t32 & t35);
t36 = *((unsigned int *)t34);
t33 = (t33 & t36);
t37 = *((unsigned int *)t30);
*((unsigned int *)t30) = (t37 & 4294967294U);
t38 = *((unsigned int *)t30);
*((unsigned int *)t30) = (t38 | t32);
t39 = *((unsigned int *)t31);
*((unsigned int *)t31) = (t39 & 4294967294U);
t40 = *((unsigned int *)t31);
*((unsigned int *)t31) = (t40 | t33);
xsi_driver_vfirst_trans(t26, 0, 0U);
t41 = (t0 + 6468);
*((int *)t41) = 1;
LAB1: return;
LAB4: *((unsigned int *)t4) = 1;
goto LAB7;
LAB6: *((unsigned int *)t4) = 1;
*((unsigned int *)t7) = 1;
goto LAB7;
LAB8: t18 = (t0 + 4464);
t19 = (t18 + 32U);
t20 = *((char **)t19);
goto LAB9;
LAB10: t25 = ((char*)((ng1)));
goto LAB11;
LAB12: xsi_vlog_unsigned_bit_combine(t3, 1, t20, 1, t25, 1);
goto LAB16;
LAB14: memcpy(t3, t20, 8);
goto LAB16;
}
static void I167_2(char *t0)
{
char t7[8];
char t15[8];
char t22[8];
char t37[8];
char t39[8];
char t40[8];
char t47[8];
char *t1;
char *t2;
char *t3;
char *t4;
char *t5;
char *t6;
unsigned int t8;
unsigned int t9;
unsigned int t10;
unsigned int t11;
unsigned int t12;
char *t13;
char *t14;
char *t16;
char *t17;
char *t18;
char *t19;
char *t20;
char *t21;
char *t23;
char *t24;
char *t25;
unsigned int t26;
unsigned int t27;
unsigned int t28;
unsigned int t29;
unsigned int t30;
char *t31;
char *t32;
char *t33;
char *t34;
char *t35;
char *t36;
char *t38;
char *t41;
char *t42;
unsigned int t43;
unsigned int t44;
unsigned int t45;
unsigned int t46;
unsigned int t48;
unsigned int t49;
unsigned int t50;
char *t51;
char *t52;
char *t53;
unsigned int t54;
unsigned int t55;
unsigned int t56;
unsigned int t57;
unsigned int t58;
unsigned int t59;
unsigned int t60;
char *t61;
char *t62;
unsigned int t63;
unsigned int t64;
unsigned int t65;
int t66;
unsigned int t67;
unsigned int t68;
unsigned int t69;
int t70;
unsigned int t71;
unsigned int t72;
unsigned int t73;
unsigned int t74;
char *t75;
unsigned int t76;
unsigned int t77;
unsigned int t78;
unsigned int t79;
unsigned int t80;
char *t81;
char *t82;
LAB0: t1 = (t0 + 6024U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2:
LAB4: t2 = (t0 + 5940);
xsi_process_wait(t2, 1000000LL);
*((char **)t1) = &&LAB5;
LAB1: return;
LAB5: t2 = ((char*)((ng0)));
t3 = (t0 + 4740);
xsi_vlogvar_assign_value(t3, t2, 0, 0, 32);
t2 = ((char*)((ng0)));
t3 = (t0 + 4832);
xsi_vlogvar_assign_value(t3, t2, 0, 0, 32);
t2 = ((char*)((ng2)));
t3 = (t0 + 4924);
xsi_vlogvar_assign_value(t3, t2, 0, 0, 32);
t2 = ((char*)((ng2)));
t3 = (t0 + 4648);
xsi_vlogvar_assign_value(t3, t2, 0, 0, 32);
LAB6: t2 = (t0 + 4648);
t3 = (t2 + 32U);
t4 = *((char **)t3);
t5 = (t0 + 1388);
t6 = *((char **)t5);
memset(t7, 0, 8);
xsi_vlog_signed_less(t7, 32, t4, 32, t6, 32);
t5 = (t7 + 4U);
t8 = *((unsigned int *)t5);
t9 = (~(t8));
t10 = *((unsigned int *)t7);
t11 = (t10 & t9);
t12 = (t11 != 0);
if (t12 > 0)
goto LAB7;
LAB8: t2 = (t0 + 4924);
t3 = (t2 + 32U);
t4 = *((char **)t3);
t5 = ((char*)((ng0)));
memset(t7, 0, 8);
xsi_vlog_signed_equal(t7, 32, t4, 32, t5, 32);
t6 = (t7 + 4U);
t8 = *((unsigned int *)t6);
t9 = (~(t8));
t10 = *((unsigned int *)t7);
t11 = (t10 & t9);
t12 = (t11 != 0);
if (t12 > 0)
goto LAB39;
LAB40: t2 = (t0 + 3008U);
t3 = *((char **)t2);
t2 = (t0 + 2988U);
t4 = (t2 + 40U);
t5 = *((char **)t4);
t6 = (t0 + 4740);
t13 = (t6 + 32U);
t14 = *((char **)t13);
t16 = ((char*)((ng0)));
memset(t15, 0, 8);
xsi_vlog_signed_minus(t15, 32, t14, 32, t16, 32);
xsi_vlog_generic_get_index_select_value(t7, 1, t3, t5, 2, t15, 32, 1);
t17 = (t0 + 4464);
xsi_vlogvar_generic_wait_assign_value(t17, t7, 2, 0, 0, 1, 0LL);
LAB41: goto LAB1;
LAB7:
LAB9: t13 = (t0 + 3096U);
t14 = *((char **)t13);
t13 = (t0 + 3076U);
t16 = (t13 + 40U);
t17 = *((char **)t16);
t18 = (t0 + 4648);
t19 = (t18 + 32U);
t20 = *((char **)t19);
xsi_vlog_generic_get_index_select_value(t15, 32, t14, t17, 2, t20, 32, 1);
t21 = ((char*)((ng0)));
memset(t22, 0, 8);
t23 = (t15 + 4U);
t24 = (t21 + 4U);
if (*((unsigned int *)t15) != *((unsigned int *)t21))
goto LAB12;
LAB10: if (*((unsigned int *)t23) != *((unsigned int *)t24))
goto LAB12;
LAB11: *((unsigned int *)t22) = 1;
LAB12: t25 = (t22 + 4U);
t26 = *((unsigned int *)t25);
t27 = (~(t26));
t28 = *((unsigned int *)t22);
t29 = (t28 & t27);
t30 = (t29 != 0);
if (t30 > 0)
goto LAB13;
LAB14: t2 = (t0 + 3096U);
t3 = *((char **)t2);
t2 = (t0 + 3076U);
t4 = (t2 + 40U);
t5 = *((char **)t4);
t6 = (t0 + 4648);
t13 = (t6 + 32U);
t14 = *((char **)t13);
xsi_vlog_generic_get_index_select_value(t7, 1, t3, t5, 2, t14, 32, 1);
t16 = ((char*)((ng3)));
memset(t15, 0, 8);
t17 = (t7 + 4U);
t18 = (t16 + 4U);
if (*((unsigned int *)t7) != *((unsigned int *)t16))
goto LAB18;
LAB16: if (*((unsigned int *)t17) != *((unsigned int *)t18))
goto LAB18;
LAB17: *((unsigned int *)t15) = 1;
LAB18: memset(t22, 0, 8);
t19 = (t22 + 4U);
t20 = (t15 + 4U);
t8 = *((unsigned int *)t20);
t9 = (~(t8));
t10 = *((unsigned int *)t15);
t11 = (t10 & t9);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -