📄 m_00000000003770891367_2157110720.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[] = {0U, 0U};
static int ng2[] = {0, 0};
static unsigned int ng3[] = {1U, 1U};
static unsigned int ng4[] = {1U, 0U};
static unsigned int ng5[] = {4095U, 4095U};
static int ng6[] = {11, 0};
static int ng7[] = {12, 0};
static unsigned int ng8[] = {4294967295U, 4294967295U};
static int ng9[] = {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 + 5136);
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 + 5228);
t4 = (t3 + 32U);
t5 = *((char **)t4);
t6 = (t1 + 4952);
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 + 5044);
t30 = (t29 + 32U);
t31 = *((char **)t30);
t32 = (t1 + 4952);
xsi_vlogvar_assign_value(t32, t31, 0, 0, 1);
goto LAB9;
}
static int sp_is_X(char *t1, char *t2)
{
char t8[8];
char t17[8];
char t25[8];
int t0;
char *t3;
char *t4;
char *t5;
char *t6;
char *t7;
unsigned int t9;
unsigned int t10;
unsigned int t11;
unsigned int t12;
unsigned int t13;
char *t14;
char *t15;
char *t16;
char *t18;
char *t19;
char *t20;
char *t21;
char *t22;
char *t23;
char *t24;
char *t26;
char *t27;
char *t28;
unsigned int t29;
unsigned int t30;
unsigned int t31;
unsigned int t32;
unsigned int t33;
char *t34;
char *t35;
LAB0: t0 = 1;
LAB2: t3 = ((char*)((ng1)));
t4 = (t1 + 5320);
xsi_vlogvar_assign_value(t4, t3, 0, 0, 1);
t3 = ((char*)((ng2)));
t4 = (t1 + 4676);
xsi_vlogvar_assign_value(t4, t3, 0, 0, 32);
LAB3: t3 = (t1 + 4676);
t4 = (t3 + 32U);
t5 = *((char **)t4);
t6 = (t1 + 1616);
t7 = *((char **)t6);
memset(t8, 0, 8);
xsi_vlog_signed_less(t8, 32, t5, 32, t7, 32);
t6 = (t8 + 4U);
t9 = *((unsigned int *)t6);
t10 = (~(t9));
t11 = *((unsigned int *)t8);
t12 = (t11 & t10);
t13 = (t12 != 0);
if (t13 > 0)
goto LAB4;
LAB5: t0 = 0;
LAB1: return t0;
LAB4:
LAB6: t14 = (t1 + 5412);
t15 = (t14 + 32U);
t16 = *((char **)t15);
t18 = (t1 + 5412);
t19 = (t18 + 40U);
t20 = *((char **)t19);
t21 = (t1 + 4676);
t22 = (t21 + 32U);
t23 = *((char **)t22);
xsi_vlog_generic_get_index_select_value(t17, 1, t16, t20, 2, t23, 32, 1);
t24 = ((char*)((ng3)));
memset(t25, 0, 8);
t26 = (t17 + 4U);
t27 = (t24 + 4U);
if (*((unsigned int *)t17) != *((unsigned int *)t24))
goto LAB9;
LAB7: if (*((unsigned int *)t26) != *((unsigned int *)t27))
goto LAB9;
LAB8: *((unsigned int *)t25) = 1;
LAB9: t28 = (t25 + 4U);
t29 = *((unsigned int *)t28);
t30 = (~(t29));
t31 = *((unsigned int *)t25);
t32 = (t31 & t30);
t33 = (t32 != 0);
if (t33 > 0)
goto LAB10;
LAB11:
LAB12: t3 = (t1 + 4676);
t4 = (t3 + 32U);
t5 = *((char **)t4);
t6 = ((char*)((ng0)));
memset(t8, 0, 8);
xsi_vlog_signed_add(t8, 32, t5, 32, t6, 32);
t7 = (t1 + 4676);
xsi_vlogvar_assign_value(t7, t8, 0, 0, 32);
goto LAB3;
LAB10: t34 = ((char*)((ng4)));
t35 = (t1 + 5320);
xsi_vlogvar_assign_value(t35, t34, 0, 0, 1);
goto LAB12;
}
static void N105_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;
unsigned int t20;
unsigned int t21;
unsigned int t22;
unsigned int t23;
char *t24;
char *t25;
char *t26;
char *t27;
char *t28;
char *t29;
unsigned int t30;
unsigned int t31;
char *t32;
unsigned int t33;
unsigned int t34;
unsigned int t35;
unsigned int t36;
unsigned int t37;
unsigned int t38;
char *t39;
LAB0: t1 = (t0 + 5888U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: t2 = (t0 + 932);
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: t20 = *((unsigned int *)t4);
t21 = (~(t20));
t22 = *((unsigned int *)t14);
t23 = (t21 || t22);
if (t23 > 0)
goto LAB10;
LAB11: if (*((unsigned int *)t14) > 0)
goto LAB12;
LAB13: if (*((unsigned int *)t4) > 0)
goto LAB14;
LAB15: memcpy(t3, t18, 8);
LAB16: t24 = (t0 + 7328);
t25 = (t24 + 32U);
t26 = *((char **)t25);
t27 = (t26 + 40U);
t28 = *((char **)t27);
t29 = (t28 + 4U);
t30 = 8191U;
t31 = t30;
t32 = (t3 + 4U);
t33 = *((unsigned int *)t3);
t30 = (t30 & t33);
t34 = *((unsigned int *)t32);
t31 = (t31 & t34);
t35 = *((unsigned int *)t28);
*((unsigned int *)t28) = (t35 & 4294959104U);
t36 = *((unsigned int *)t28);
*((unsigned int *)t28) = (t36 | t30);
t37 = *((unsigned int *)t29);
*((unsigned int *)t29) = (t37 & 4294959104U);
t38 = *((unsigned int *)t29);
*((unsigned int *)t29) = (t38 | t31);
xsi_driver_vfirst_trans(t24, 0, 12U);
t39 = (t0 + 7220);
*((int *)t39) = 1;
LAB1: return;
LAB4: *((unsigned int *)t4) = 1;
goto LAB7;
LAB6: *((unsigned int *)t4) = 1;
*((unsigned int *)t7) = 1;
goto LAB7;
LAB8: t18 = (t0 + 3808U);
t19 = *((char **)t18);
goto LAB9;
LAB10: t18 = ((char*)((ng5)));
goto LAB11;
LAB12: xsi_vlog_unsigned_bit_combine(t3, 13, t19, 13, t18, 13);
goto LAB16;
LAB14: memcpy(t3, t19, 8);
goto LAB16;
}
static void N106_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 + 6016U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: t2 = (t0 + 1008);
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 + 7364);
t27 = (t26 + 32U);
t28 = *((char **)t27);
t29 = (t28 + 40U);
t30 = *((char **)t29);
t31 = (t30 + 4U);
t32 = 8191U;
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 & 4294959104U);
t38 = *((unsigned int *)t30);
*((unsigned int *)t30) = (t38 | t32);
t39 = *((unsigned int *)t31);
*((unsigned int *)t31) = (t39 & 4294959104U);
t40 = *((unsigned int *)t31);
*((unsigned int *)t31) = (t40 | t33);
xsi_driver_vfirst_trans(t26, 0, 12U);
t41 = (t0 + 7228);
*((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 + 4032);
t19 = (t18 + 32U);
t20 = *((char **)t19);
goto LAB9;
LAB10: t25 = ((char*)((ng5)));
goto LAB11;
LAB12: xsi_vlog_unsigned_bit_combine(t3, 13, t20, 13, t25, 13);
goto LAB16;
LAB14: memcpy(t3, t20, 8);
goto LAB16;
}
static void C110_2(char *t0)
{
char t3[8];
char t4[8];
char t6[8];
char t18[8];
char t19[8];
char t22[8];
char t34[8];
char t49[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 *t20;
char *t21;
char *t23;
char *t24;
unsigned int t25;
unsigned int t26;
unsigned int t27;
unsigned int t28;
unsigned int t29;
char *t30;
unsigned int t31;
unsigned int t32;
unsigned int t33;
char *t35;
char *t36;
char *t37;
unsigned int t38;
unsigned int t39;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -