📄 m_00000000002840574038_2067579584.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 const char *ng0 = "E:/01. ISE9.1/apgy3/bingchuan2/bingchuan.v";
static unsigned int ng1[] = {0U, 0U};
static unsigned int ng2[] = {2U, 0U};
static unsigned int ng3[] = {3U, 0U};
static unsigned int ng4[] = {1U, 0U};
static int ng5[] = {0, 0};
static int ng6[] = {1, 0};
static void A31_0(char *t0)
{
char t12[8];
char *t1;
char *t2;
char *t3;
char *t4;
unsigned int t5;
unsigned int t6;
unsigned int t7;
unsigned int t8;
unsigned int t9;
char *t10;
char *t11;
int t13;
LAB0: t1 = (t0 + 1712U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: xsi_set_current_line(31, ng0);
t2 = (t0 + 2020);
*((int *)t2) = 1;
*((char **)t1) = &&LAB4;
LAB1: return;
LAB4: xsi_set_current_line(32, ng0);
t3 = (t0 + 652U);
t4 = *((char **)t3);
t3 = (t4 + 4U);
t5 = *((unsigned int *)t3);
t6 = (~(t5));
t7 = *((unsigned int *)t4);
t8 = (t7 & t6);
t9 = (t8 != 0);
if (t9 > 0)
goto LAB5;
LAB6: xsi_set_current_line(35, ng0);
t2 = (t0 + 828U);
t3 = *((char **)t2);
t2 = (t0 + 740U);
t4 = *((char **)t2);
xsi_vlogtype_concat(t12, 2, 2, 2U, t4, 1, t3, 1);
LAB8: t2 = ((char*)((ng1)));
t13 = xsi_vlog_unsigned_case_compare(t12, 2, t2, 2);
if (t13 == 1)
goto LAB9;
LAB10: t2 = ((char*)((ng2)));
t13 = xsi_vlog_unsigned_case_compare(t12, 2, t2, 2);
if (t13 == 1)
goto LAB11;
LAB12: t2 = ((char*)((ng3)));
t13 = xsi_vlog_unsigned_case_compare(t12, 2, t2, 2);
if (t13 == 1)
goto LAB13;
LAB14: t2 = ((char*)((ng4)));
t13 = xsi_vlog_unsigned_case_compare(t12, 2, t2, 2);
if (t13 == 1)
goto LAB15;
LAB16:
LAB17:
LAB7: goto LAB2;
LAB5: xsi_set_current_line(33, ng0);
t10 = ((char*)((ng1)));
t11 = (t0 + 1144);
xsi_vlogvar_generic_wait_assign_value(t11, t10, 2, 0, 0, 2, 0LL);
goto LAB7;
LAB9: xsi_set_current_line(36, ng0);
t10 = ((char*)((ng1)));
t11 = (t0 + 1144);
xsi_vlogvar_generic_wait_assign_value(t11, t10, 2, 0, 0, 2, 0LL);
goto LAB17;
LAB11: xsi_set_current_line(37, ng0);
t3 = ((char*)((ng2)));
t4 = (t0 + 1144);
xsi_vlogvar_generic_wait_assign_value(t4, t3, 2, 0, 0, 2, 0LL);
goto LAB17;
LAB13: xsi_set_current_line(38, ng0);
t3 = ((char*)((ng3)));
t4 = (t0 + 1144);
xsi_vlogvar_generic_wait_assign_value(t4, t3, 2, 0, 0, 2, 0LL);
goto LAB17;
LAB15: xsi_set_current_line(39, ng0);
t3 = ((char*)((ng4)));
t4 = (t0 + 1144);
xsi_vlogvar_generic_wait_assign_value(t4, t3, 2, 0, 0, 2, 0LL);
goto LAB17;
}
static void A42_1(char *t0)
{
char t12[8];
char t31[8];
char *t1;
char *t2;
char *t3;
char *t4;
unsigned int t5;
unsigned int t6;
unsigned int t7;
unsigned int t8;
unsigned int t9;
char *t10;
char *t11;
char *t13;
char *t14;
unsigned int t15;
unsigned int t16;
unsigned int t17;
unsigned int t18;
unsigned int t19;
unsigned int t20;
unsigned int t21;
char *t22;
unsigned int t23;
unsigned int t24;
unsigned int t25;
unsigned int t26;
unsigned int t27;
char *t28;
char *t29;
char *t30;
char *t32;
char *t33;
unsigned int t34;
unsigned int t35;
unsigned int t36;
unsigned int t37;
unsigned int t38;
unsigned int t39;
char *t40;
LAB0: t1 = (t0 + 1840U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: xsi_set_current_line(42, ng0);
t2 = (t0 + 2028);
*((int *)t2) = 1;
*((char **)t1) = &&LAB4;
LAB1: return;
LAB4: xsi_set_current_line(43, ng0);
t3 = (t0 + 652U);
t4 = *((char **)t3);
t3 = (t4 + 4U);
t5 = *((unsigned int *)t3);
t6 = (~(t5));
t7 = *((unsigned int *)t4);
t8 = (t7 & t6);
t9 = (t8 != 0);
if (t9 > 0)
goto LAB5;
LAB6: xsi_set_current_line(48, ng0);
t2 = (t0 + 1236);
t3 = (t2 + 32U);
t4 = *((char **)t3);
t10 = ((char*)((ng5)));
memset(t12, 0, 8);
t11 = (t12 + 4U);
t13 = (t4 + 4U);
t14 = (t10 + 4U);
t5 = *((unsigned int *)t4);
t6 = *((unsigned int *)t10);
t7 = (t5 ^ t6);
t8 = *((unsigned int *)t13);
t9 = *((unsigned int *)t14);
t15 = (t8 ^ t9);
t16 = (t7 | t15);
t17 = *((unsigned int *)t13);
t18 = *((unsigned int *)t14);
t19 = (t17 | t18);
t20 = (~(t19));
t21 = (t16 & t20);
if (t21 != 0)
goto LAB12;
LAB9: if (t19 != 0)
goto LAB11;
LAB10: *((unsigned int *)t12) = 1;
LAB12: t22 = (t12 + 4U);
t23 = *((unsigned int *)t22);
t24 = (~(t23));
t25 = *((unsigned int *)t12);
t26 = (t25 & t24);
t27 = (t26 != 0);
if (t27 > 0)
goto LAB13;
LAB14: xsi_set_current_line(50, ng0);
t2 = (t0 + 1236);
t3 = (t2 + 32U);
t4 = *((char **)t3);
t10 = ((char*)((ng6)));
memset(t12, 0, 8);
t11 = (t12 + 4U);
t13 = (t4 + 4U);
t14 = (t10 + 4U);
t5 = *((unsigned int *)t4);
t6 = *((unsigned int *)t10);
t7 = (t5 ^ t6);
t8 = *((unsigned int *)t13);
t9 = *((unsigned int *)t14);
t15 = (t8 ^ t9);
t16 = (t7 | t15);
t17 = *((unsigned int *)t13);
t18 = *((unsigned int *)t14);
t19 = (t17 | t18);
t20 = (~(t19));
t21 = (t16 & t20);
if (t21 != 0)
goto LAB20;
LAB17: if (t19 != 0)
goto LAB19;
LAB18: *((unsigned int *)t12) = 1;
LAB20: t22 = (t12 + 4U);
t23 = *((unsigned int *)t22);
t24 = (~(t23));
t25 = *((unsigned int *)t12);
t26 = (t25 & t24);
t27 = (t26 != 0);
if (t27 > 0)
goto LAB21;
LAB22: xsi_set_current_line(51, ng0);
t2 = ((char*)((ng5)));
t3 = (t0 + 1236);
xsi_vlogvar_generic_wait_assign_value(t3, t2, 1, 0, 0, 2, 0LL);
LAB23:
LAB15:
LAB7: goto LAB2;
LAB5: xsi_set_current_line(44, ng0);
LAB8: xsi_set_current_line(45, ng0);
t10 = ((char*)((ng5)));
t11 = (t0 + 1236);
xsi_vlogvar_generic_wait_assign_value(t11, t10, 1, 0, 0, 2, 0LL);
xsi_set_current_line(46, ng0);
t2 = ((char*)((ng5)));
t3 = (t0 + 1052);
xsi_vlogvar_generic_wait_assign_value(t3, t2, 1, 0, 0, 1, 0LL);
goto LAB7;
LAB11: *((unsigned int *)t12) = 1;
*((unsigned int *)t11) = 1;
goto LAB12;
LAB13: xsi_set_current_line(49, ng0);
LAB16: xsi_set_current_line(49, ng0);
t28 = (t0 + 1144);
t29 = (t28 + 32U);
t30 = *((char **)t29);
memset(t31, 0, 8);
t32 = (t31 + 4U);
t33 = (t30 + 4U);
t34 = *((unsigned int *)t30);
t35 = (t34 >> 1);
t36 = (t35 & 1);
*((unsigned int *)t31) = t36;
t37 = *((unsigned int *)t33);
t38 = (t37 >> 1);
t39 = (t38 & 1);
*((unsigned int *)t32) = t39;
t40 = (t0 + 1052);
xsi_vlogvar_generic_wait_assign_value(t40, t31, 2, 0, 0, 1, 0LL);
xsi_set_current_line(49, ng0);
t2 = (t0 + 1236);
t3 = (t2 + 32U);
t4 = *((char **)t3);
t10 = ((char*)((ng6)));
memset(t12, 0, 8);
xsi_vlog_unsigned_add(t12, 32, t4, 2, t10, 32);
t11 = (t0 + 1236);
xsi_vlogvar_generic_wait_assign_value(t11, t12, 2, 0, 0, 2, 0LL);
goto LAB15;
LAB19: *((unsigned int *)t12) = 1;
*((unsigned int *)t11) = 1;
goto LAB20;
LAB21: xsi_set_current_line(50, ng0);
LAB24: xsi_set_current_line(50, ng0);
t28 = (t0 + 1144);
t29 = (t28 + 32U);
t30 = *((char **)t29);
memset(t31, 0, 8);
t32 = (t31 + 4U);
t33 = (t30 + 4U);
t34 = *((unsigned int *)t30);
t35 = (t34 >> 0);
t36 = (t35 & 1);
*((unsigned int *)t31) = t36;
t37 = *((unsigned int *)t33);
t38 = (t37 >> 0);
t39 = (t38 & 1);
*((unsigned int *)t32) = t39;
t40 = (t0 + 1052);
xsi_vlogvar_generic_wait_assign_value(t40, t31, 2, 0, 0, 1, 0LL);
xsi_set_current_line(50, ng0);
t2 = ((char*)((ng5)));
t3 = (t0 + 1236);
xsi_vlogvar_generic_wait_assign_value(t3, t2, 1, 0, 0, 2, 0LL);
goto LAB23;
}
extern void work_m_00000000002840574038_2067579584_init()
{
static char *pe[] = {(void *)A31_0,(void *)A42_1};
xsi_register_didat("work_m_00000000002840574038_2067579584", "isim/_tmp/work/m_00000000002840574038_2067579584.didat");
xsi_register_executes(pe);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -