📄 m_00000000002674589034_2176504265.c
字号:
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ */
/* \ \ Copyright (c) 2003-2009 Xilinx, Inc. */
/* / / All Right Reserved. */
/* /---/ /\ */
/* \ \ / \ */
/* \___\/\___\ */
/***********************************************************************/
/* This file is designed for use with ISim build 0xa0883be4 */
#define XSI_HIDE_SYMBOL_SPEC true
#include "xsi.h"
#include <memory.h>
#ifdef __GNUC__
#include <stdlib.h>
#else
#include <malloc.h>
#define alloca _alloca
#endif
static const char *ng0 = "E:/kechengsheji/ha1/wave_gen_ver_s6/to_bcd.v";
static unsigned int ng1[] = {60000U, 0U};
static unsigned int ng2[] = {6U, 0U};
static unsigned int ng3[] = {50000U, 0U};
static unsigned int ng4[] = {5U, 0U};
static unsigned int ng5[] = {40000U, 0U};
static unsigned int ng6[] = {4U, 0U};
static unsigned int ng7[] = {30000U, 0U};
static unsigned int ng8[] = {3U, 0U};
static unsigned int ng9[] = {20000U, 0U};
static unsigned int ng10[] = {2U, 0U};
static unsigned int ng11[] = {10000U, 0U};
static unsigned int ng12[] = {1U, 0U};
static unsigned int ng13[] = {0U, 0U};
static unsigned int ng14[] = {9000U, 0U};
static unsigned int ng15[] = {9U, 0U};
static unsigned int ng16[] = {8000U, 0U};
static unsigned int ng17[] = {8U, 0U};
static unsigned int ng18[] = {7000U, 0U};
static unsigned int ng19[] = {7U, 0U};
static unsigned int ng20[] = {6000U, 0U};
static unsigned int ng21[] = {5000U, 0U};
static unsigned int ng22[] = {4000U, 0U};
static unsigned int ng23[] = {3000U, 0U};
static unsigned int ng24[] = {2000U, 0U};
static unsigned int ng25[] = {1000U, 0U};
static unsigned int ng26[] = {900U, 0U};
static unsigned int ng27[] = {800U, 0U};
static unsigned int ng28[] = {700U, 0U};
static unsigned int ng29[] = {600U, 0U};
static unsigned int ng30[] = {500U, 0U};
static unsigned int ng31[] = {400U, 0U};
static unsigned int ng32[] = {300U, 0U};
static unsigned int ng33[] = {200U, 0U};
static unsigned int ng34[] = {100U, 0U};
static unsigned int ng35[] = {90U, 0U};
static unsigned int ng36[] = {80U, 0U};
static unsigned int ng37[] = {70U, 0U};
static unsigned int ng38[] = {60U, 0U};
static unsigned int ng39[] = {50U, 0U};
static unsigned int ng40[] = {40U, 0U};
static unsigned int ng41[] = {30U, 0U};
static unsigned int ng42[] = {20U, 0U};
static unsigned int ng43[] = {10U, 0U};
static void Always_60_0(char *t0)
{
char t6[8];
char *t1;
char *t2;
char *t3;
char *t4;
char *t5;
char *t7;
char *t8;
char *t9;
char *t10;
unsigned int t11;
unsigned int t12;
unsigned int t13;
unsigned int t14;
unsigned int t15;
char *t16;
char *t17;
LAB0: t1 = (t0 + 4448U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: xsi_set_current_line(60, ng0);
t2 = (t0 + 6008);
*((int *)t2) = 1;
t3 = (t0 + 4480);
*((char **)t3) = t2;
*((char **)t1) = &&LAB4;
LAB1: return;
LAB4: xsi_set_current_line(61, ng0);
LAB5: xsi_set_current_line(62, ng0);
t4 = (t0 + 1528U);
t5 = *((char **)t4);
t4 = ((char*)((ng1)));
memset(t6, 0, 8);
t7 = (t5 + 4);
if (*((unsigned int *)t7) != 0)
goto LAB7;
LAB6: t8 = (t4 + 4);
if (*((unsigned int *)t8) != 0)
goto LAB7;
LAB10: if (*((unsigned int *)t5) < *((unsigned int *)t4))
goto LAB9;
LAB8: *((unsigned int *)t6) = 1;
LAB9: t10 = (t6 + 4);
t11 = *((unsigned int *)t10);
t12 = (~(t11));
t13 = *((unsigned int *)t6);
t14 = (t13 & t12);
t15 = (t14 != 0);
if (t15 > 0)
goto LAB11;
LAB12: xsi_set_current_line(64, ng0);
t2 = (t0 + 1528U);
t3 = *((char **)t2);
t2 = ((char*)((ng3)));
memset(t6, 0, 8);
t4 = (t3 + 4);
if (*((unsigned int *)t4) != 0)
goto LAB16;
LAB15: t5 = (t2 + 4);
if (*((unsigned int *)t5) != 0)
goto LAB16;
LAB19: if (*((unsigned int *)t3) < *((unsigned int *)t2))
goto LAB18;
LAB17: *((unsigned int *)t6) = 1;
LAB18: t8 = (t6 + 4);
t11 = *((unsigned int *)t8);
t12 = (~(t11));
t13 = *((unsigned int *)t6);
t14 = (t13 & t12);
t15 = (t14 != 0);
if (t15 > 0)
goto LAB20;
LAB21: xsi_set_current_line(66, ng0);
t2 = (t0 + 1528U);
t3 = *((char **)t2);
t2 = ((char*)((ng5)));
memset(t6, 0, 8);
t4 = (t3 + 4);
if (*((unsigned int *)t4) != 0)
goto LAB25;
LAB24: t5 = (t2 + 4);
if (*((unsigned int *)t5) != 0)
goto LAB25;
LAB28: if (*((unsigned int *)t3) < *((unsigned int *)t2))
goto LAB27;
LAB26: *((unsigned int *)t6) = 1;
LAB27: t8 = (t6 + 4);
t11 = *((unsigned int *)t8);
t12 = (~(t11));
t13 = *((unsigned int *)t6);
t14 = (t13 & t12);
t15 = (t14 != 0);
if (t15 > 0)
goto LAB29;
LAB30: xsi_set_current_line(68, ng0);
t2 = (t0 + 1528U);
t3 = *((char **)t2);
t2 = ((char*)((ng7)));
memset(t6, 0, 8);
t4 = (t3 + 4);
if (*((unsigned int *)t4) != 0)
goto LAB34;
LAB33: t5 = (t2 + 4);
if (*((unsigned int *)t5) != 0)
goto LAB34;
LAB37: if (*((unsigned int *)t3) < *((unsigned int *)t2))
goto LAB36;
LAB35: *((unsigned int *)t6) = 1;
LAB36: t8 = (t6 + 4);
t11 = *((unsigned int *)t8);
t12 = (~(t11));
t13 = *((unsigned int *)t6);
t14 = (t13 & t12);
t15 = (t14 != 0);
if (t15 > 0)
goto LAB38;
LAB39: xsi_set_current_line(70, ng0);
t2 = (t0 + 1528U);
t3 = *((char **)t2);
t2 = ((char*)((ng9)));
memset(t6, 0, 8);
t4 = (t3 + 4);
if (*((unsigned int *)t4) != 0)
goto LAB43;
LAB42: t5 = (t2 + 4);
if (*((unsigned int *)t5) != 0)
goto LAB43;
LAB46: if (*((unsigned int *)t3) < *((unsigned int *)t2))
goto LAB45;
LAB44: *((unsigned int *)t6) = 1;
LAB45: t8 = (t6 + 4);
t11 = *((unsigned int *)t8);
t12 = (~(t11));
t13 = *((unsigned int *)t6);
t14 = (t13 & t12);
t15 = (t14 != 0);
if (t15 > 0)
goto LAB47;
LAB48: xsi_set_current_line(72, ng0);
t2 = (t0 + 1528U);
t3 = *((char **)t2);
t2 = ((char*)((ng11)));
memset(t6, 0, 8);
t4 = (t3 + 4);
if (*((unsigned int *)t4) != 0)
goto LAB52;
LAB51: t5 = (t2 + 4);
if (*((unsigned int *)t5) != 0)
goto LAB52;
LAB55: if (*((unsigned int *)t3) < *((unsigned int *)t2))
goto LAB54;
LAB53: *((unsigned int *)t6) = 1;
LAB54: t8 = (t6 + 4);
t11 = *((unsigned int *)t8);
t12 = (~(t11));
t13 = *((unsigned int *)t6);
t14 = (t13 & t12);
t15 = (t14 != 0);
if (t15 > 0)
goto LAB56;
LAB57: xsi_set_current_line(74, ng0);
LAB60: xsi_set_current_line(75, ng0);
t2 = ((char*)((ng13)));
t3 = (t0 + 2408);
xsi_vlogvar_assign_value(t3, t2, 0, 0, 3);
xsi_set_current_line(75, ng0);
t2 = (t0 + 1528U);
t3 = *((char **)t2);
t2 = (t0 + 3208);
xsi_vlogvar_assign_value(t2, t3, 0, 0, 14);
LAB58:
LAB49:
LAB40:
LAB31:
LAB22:
LAB13: goto LAB2;
LAB7: t9 = (t6 + 4);
*((unsigned int *)t6) = 1;
*((unsigned int *)t9) = 1;
goto LAB9;
LAB11: xsi_set_current_line(62, ng0);
LAB14: xsi_set_current_line(63, ng0);
t16 = ((char*)((ng2)));
t17 = (t0 + 2408);
xsi_vlogvar_assign_value(t17, t16, 0, 0, 3);
xsi_set_current_line(63, ng0);
t2 = (t0 + 1528U);
t3 = *((char **)t2);
t2 = ((char*)((ng1)));
memset(t6, 0, 8);
xsi_vlog_unsigned_minus(t6, 16, t3, 16, t2, 16);
t4 = (t0 + 3208);
xsi_vlogvar_assign_value(t4, t6, 0, 0, 14);
goto LAB13;
LAB16: t7 = (t6 + 4);
*((unsigned int *)t6) = 1;
*((unsigned int *)t7) = 1;
goto LAB18;
LAB20: xsi_set_current_line(64, ng0);
LAB23: xsi_set_current_line(65, ng0);
t9 = ((char*)((ng4)));
t10 = (t0 + 2408);
xsi_vlogvar_assign_value(t10, t9, 0, 0, 3);
xsi_set_current_line(65, ng0);
t2 = (t0 + 1528U);
t3 = *((char **)t2);
t2 = ((char*)((ng3)));
memset(t6, 0, 8);
xsi_vlog_unsigned_minus(t6, 16, t3, 16, t2, 16);
t4 = (t0 + 3208);
xsi_vlogvar_assign_value(t4, t6, 0, 0, 14);
goto LAB22;
LAB25: t7 = (t6 + 4);
*((unsigned int *)t6) = 1;
*((unsigned int *)t7) = 1;
goto LAB27;
LAB29: xsi_set_current_line(66, ng0);
LAB32: xsi_set_current_line(67, ng0);
t9 = ((char*)((ng6)));
t10 = (t0 + 2408);
xsi_vlogvar_assign_value(t10, t9, 0, 0, 3);
xsi_set_current_line(67, ng0);
t2 = (t0 + 1528U);
t3 = *((char **)t2);
t2 = ((char*)((ng5)));
memset(t6, 0, 8);
xsi_vlog_unsigned_minus(t6, 16, t3, 16, t2, 16);
t4 = (t0 + 3208);
xsi_vlogvar_assign_value(t4, t6, 0, 0, 14);
goto LAB31;
LAB34: t7 = (t6 + 4);
*((unsigned int *)t6) = 1;
*((unsigned int *)t7) = 1;
goto LAB36;
LAB38: xsi_set_current_line(68, ng0);
LAB41: xsi_set_current_line(69, ng0);
t9 = ((char*)((ng8)));
t10 = (t0 + 2408);
xsi_vlogvar_assign_value(t10, t9, 0, 0, 3);
xsi_set_current_line(69, ng0);
t2 = (t0 + 1528U);
t3 = *((char **)t2);
t2 = ((char*)((ng7)));
memset(t6, 0, 8);
xsi_vlog_unsigned_minus(t6, 16, t3, 16, t2, 16);
t4 = (t0 + 3208);
xsi_vlogvar_assign_value(t4, t6, 0, 0, 14);
goto LAB40;
LAB43: t7 = (t6 + 4);
*((unsigned int *)t6) = 1;
*((unsigned int *)t7) = 1;
goto LAB45;
LAB47: xsi_set_current_line(70, ng0);
LAB50: xsi_set_current_line(71, ng0);
t9 = ((char*)((ng10)));
t10 = (t0 + 2408);
xsi_vlogvar_assign_value(t10, t9, 0, 0, 3);
xsi_set_current_line(71, ng0);
t2 = (t0 + 1528U);
t3 = *((char **)t2);
t2 = ((char*)((ng9)));
memset(t6, 0, 8);
xsi_vlog_unsigned_minus(t6, 16, t3, 16, t2, 16);
t4 = (t0 + 3208);
xsi_vlogvar_assign_value(t4, t6, 0, 0, 14);
goto LAB49;
LAB52: t7 = (t6 + 4);
*((unsigned int *)t6) = 1;
*((unsigned int *)t7) = 1;
goto LAB54;
LAB56: xsi_set_current_line(72, ng0);
LAB59: xsi_set_current_line(73, ng0);
t9 = ((char*)((ng12)));
t10 = (t0 + 2408);
xsi_vlogvar_assign_value(t10, t9, 0, 0, 3);
xsi_set_current_line(73, ng0);
t2 = (t0 + 1528U);
t3 = *((char **)t2);
t2 = ((char*)((ng11)));
memset(t6, 0, 8);
xsi_vlog_unsigned_minus(t6, 16, t3, 16, t2, 16);
t4 = (t0 + 3208);
xsi_vlogvar_assign_value(t4, t6, 0, 0, 14);
goto LAB58;
}
static void Always_80_1(char *t0)
{
char t8[8];
char *t1;
char *t2;
char *t3;
char *t4;
char *t5;
char *t6;
char *t7;
char *t9;
char *t10;
char *t11;
char *t12;
unsigned int t13;
unsigned int t14;
unsigned int t15;
unsigned int t16;
unsigned int t17;
char *t18;
char *t19;
LAB0: t1 = (t0 + 4696U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: xsi_set_current_line(80, ng0);
t2 = (t0 + 6024);
*((int *)t2) = 1;
t3 = (t0 + 4728);
*((char **)t3) = t2;
*((char **)t1) = &&LAB4;
LAB1: return;
LAB4: xsi_set_current_line(81, ng0);
LAB5: xsi_set_current_line(82, ng0);
t4 = (t0 + 3208);
t5 = (t4 + 56U);
t6 = *((char **)t5);
t7 = ((char*)((ng14)));
memset(t8, 0, 8);
t9 = (t6 + 4);
if (*((unsigned int *)t9) != 0)
goto LAB7;
LAB6: t10 = (t7 + 4);
if (*((unsigned int *)t10) != 0)
goto LAB7;
LAB10: if (*((unsigned int *)t6) < *((unsigned int *)t7))
goto LAB9;
LAB8: *((unsigned int *)t8) = 1;
LAB9: t12 = (t8 + 4);
t13 = *((unsigned int *)t12);
t14 = (~(t13));
t15 = *((unsigned int *)t8);
t16 = (t15 & t14);
t17 = (t16 != 0);
if (t17 > 0)
goto LAB11;
LAB12: xsi_set_current_line(84, ng0);
t2 = (t0 + 3208);
t3 = (t2 + 56U);
t4 = *((char **)t3);
t5 = ((char*)((ng16)));
memset(t8, 0, 8);
t6 = (t4 + 4);
if (*((unsigned int *)t6) != 0)
goto LAB16;
LAB15: t7 = (t5 + 4);
if (*((unsigned int *)t7) != 0)
goto LAB16;
LAB19: if (*((unsigned int *)t4) < *((unsigned int *)t5))
goto LAB18;
LAB17: *((unsigned int *)t8) = 1;
LAB18: t10 = (t8 + 4);
t13 = *((unsigned int *)t10);
t14 = (~(t13));
t15 = *((unsigned int *)t8);
t16 = (t15 & t14);
t17 = (t16 != 0);
if (t17 > 0)
goto LAB20;
LAB21: xsi_set_current_line(86, ng0);
t2 = (t0 + 3208);
t3 = (t2 + 56U);
t4 = *((char **)t3);
t5 = ((char*)((ng18)));
memset(t8, 0, 8);
t6 = (t4 + 4);
if (*((unsigned int *)t6) != 0)
goto LAB25;
LAB24: t7 = (t5 + 4);
if (*((unsigned int *)t7) != 0)
goto LAB25;
LAB28: if (*((unsigned int *)t4) < *((unsigned int *)t5))
goto LAB27;
LAB26: *((unsigned int *)t8) = 1;
LAB27: t10 = (t8 + 4);
t13 = *((unsigned int *)t10);
t14 = (~(t13));
t15 = *((unsigned int *)t8);
t16 = (t15 & t14);
t17 = (t16 != 0);
if (t17 > 0)
goto LAB29;
LAB30: xsi_set_current_line(88, ng0);
t2 = (t0 + 3208);
t3 = (t2 + 56U);
t4 = *((char **)t3);
t5 = ((char*)((ng20)));
memset(t8, 0, 8);
t6 = (t4 + 4);
if (*((unsigned int *)t6) != 0)
goto LAB34;
LAB33: t7 = (t5 + 4);
if (*((unsigned int *)t7) != 0)
goto LAB34;
LAB37: if (*((unsigned int *)t4) < *((unsigned int *)t5))
goto LAB36;
LAB35: *((unsigned int *)t8) = 1;
LAB36: t10 = (t8 + 4);
t13 = *((unsigned int *)t10);
t14 = (~(t13));
t15 = *((unsigned int *)t8);
t16 = (t15 & t14);
t17 = (t16 != 0);
if (t17 > 0)
goto LAB38;
LAB39: xsi_set_current_line(90, ng0);
t2 = (t0 + 3208);
t3 = (t2 + 56U);
t4 = *((char **)t3);
t5 = ((char*)((ng21)));
memset(t8, 0, 8);
t6 = (t4 + 4);
if (*((unsigned int *)t6) != 0)
goto LAB43;
LAB42: t7 = (t5 + 4);
if (*((unsigned int *)t7) != 0)
goto LAB43;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -