📄 m_00000000002780371255_0889857410.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/tb_uart_monitor.v";
static unsigned int ng1[] = {1U, 0U};
static unsigned int ng2[] = {0U, 0U};
static int ng3[] = {0, 0};
static int ng4[] = {7, 0};
static int ng5[] = {1, 0};
static const char *ng6 = "%t ERROR Framing error detected in %m";
static int sp_start(char *t1, char *t2)
{
int t0;
char *t3;
char *t4;
char *t5;
char *t6;
LAB0: t0 = 1;
t3 = (t2 + 48U);
t4 = *((char **)t3);
if (t4 == 0)
goto LAB2;
LAB3: goto *t4;
LAB2: t4 = (t1 + 1120);
xsi_vlog_subprogram_setdisablestate(t4, &&LAB4);
xsi_set_current_line(63, ng0);
LAB5: xsi_set_current_line(64, ng0);
t5 = ((char*)((ng1)));
t6 = (t1 + 2472);
xsi_vlogvar_assign_value(t6, t5, 0, 0, 1);
LAB4: xsi_vlog_dispose_subprogram_invocation(t2);
t4 = (t2 + 48U);
*((char **)t4) = &&LAB2;
t0 = 0;
LAB1: return t0;
}
static void Initial_71_0(char *t0)
{
char *t1;
char *t2;
LAB0: xsi_set_current_line(72, ng0);
t1 = ((char*)((ng2)));
t2 = (t0 + 2312);
xsi_vlogvar_assign_value(t2, t1, 0, 0, 1);
LAB1: return;
}
static void Always_74_1(char *t0)
{
char t14[8];
char t15[8];
char *t1;
char *t2;
char *t3;
char *t4;
char *t5;
char *t6;
char *t7;
unsigned int t8;
unsigned int t9;
unsigned int t10;
unsigned int t11;
unsigned int t12;
char *t13;
char *t16;
char *t17;
char *t18;
char *t19;
char *t20;
char *t21;
char *t22;
unsigned int t23;
int t24;
double t25;
LAB0: t1 = (t0 + 3800U);
t2 = *((char **)t1);
if (t2 == 0)
goto LAB2;
LAB3: goto *t2;
LAB2: xsi_set_current_line(74, ng0);
t2 = (t0 + 4120);
*((int *)t2) = 1;
t3 = (t0 + 3832);
*((char **)t3) = t2;
*((char **)t1) = &&LAB4;
LAB1: return;
LAB4: xsi_set_current_line(75, ng0);
LAB5: xsi_set_current_line(76, ng0);
t4 = (t0 + 2472);
t5 = (t4 + 56U);
t6 = *((char **)t5);
t7 = (t6 + 4);
t8 = *((unsigned int *)t7);
t9 = (~(t8));
t10 = *((unsigned int *)t6);
t11 = (t10 & t9);
t12 = (t11 != 0);
if (t12 > 0)
goto LAB6;
LAB7:
LAB8: goto LAB2;
LAB6: xsi_set_current_line(77, ng0);
LAB9: xsi_set_current_line(79, ng0);
t13 = (t0 + 3608);
xsi_process_wait(t13, 13020833LL);
*((char **)t1) = &&LAB10;
goto LAB1;
LAB10: xsi_set_current_line(80, ng0);
xsi_set_current_line(80, ng0);
t2 = ((char*)((ng3)));
t3 = (t0 + 2632);
xsi_vlogvar_assign_value(t3, t2, 0, 0, 32);
LAB11: t2 = (t0 + 2632);
t3 = (t2 + 56U);
t4 = *((char **)t3);
t5 = ((char*)((ng4)));
memset(t14, 0, 8);
xsi_vlog_signed_leq(t14, 32, t4, 32, t5, 32);
t6 = (t14 + 4);
t8 = *((unsigned int *)t6);
t9 = (~(t8));
t10 = *((unsigned int *)t14);
t11 = (t10 & t9);
t12 = (t11 != 0);
if (t12 > 0)
goto LAB12;
LAB13: xsi_set_current_line(88, ng0);
t2 = (t0 + 1752U);
t3 = *((char **)t2);
t2 = ((char*)((ng1)));
memset(t14, 0, 8);
if (*((unsigned int *)t3) != *((unsigned int *)t2))
goto LAB19;
LAB18: t4 = (t3 + 4);
t5 = (t2 + 4);
if (*((unsigned int *)t4) != *((unsigned int *)t5))
goto LAB19;
LAB20: t6 = (t14 + 4);
t8 = *((unsigned int *)t6);
t9 = (~(t8));
t10 = *((unsigned int *)t14);
t11 = (t10 & t9);
t12 = (t11 != 0);
if (t12 > 0)
goto LAB21;
LAB22:
LAB23: xsi_set_current_line(93, ng0);
t2 = ((char*)((ng1)));
t3 = (t0 + 2312);
xsi_vlogvar_assign_value(t3, t2, 0, 0, 1);
xsi_set_current_line(94, ng0);
t2 = ((char*)((ng2)));
t3 = (t0 + 2312);
xsi_vlogvar_wait_assign_value(t3, t2, 0, 0, 1, 1000LL);
goto LAB8;
LAB12: xsi_set_current_line(81, ng0);
LAB14: xsi_set_current_line(83, ng0);
t7 = (t0 + 1752U);
t13 = *((char **)t7);
t7 = (t0 + 2152);
t16 = (t0 + 2152);
t17 = (t16 + 72U);
t18 = *((char **)t17);
t19 = (t0 + 2632);
t20 = (t19 + 56U);
t21 = *((char **)t20);
xsi_vlog_generic_convert_bit_index(t15, t18, 2, t21, 32, 1);
t22 = (t15 + 4);
t23 = *((unsigned int *)t22);
t24 = (!(t23));
if (t24 == 1)
goto LAB15;
LAB16: xsi_set_current_line(85, ng0);
t2 = (t0 + 3608);
xsi_process_wait(t2, 8680556LL);
*((char **)t1) = &&LAB17;
goto LAB1;
LAB15: xsi_vlogvar_assign_value(t7, t13, 0, *((unsigned int *)t15), 1);
goto LAB16;
LAB17: xsi_set_current_line(80, ng0);
t2 = (t0 + 2632);
t3 = (t2 + 56U);
t4 = *((char **)t3);
t5 = ((char*)((ng5)));
memset(t14, 0, 8);
xsi_vlog_signed_add(t14, 32, t4, 32, t5, 32);
t6 = (t0 + 2632);
xsi_vlogvar_assign_value(t6, t14, 0, 0, 32);
goto LAB11;
LAB19: *((unsigned int *)t14) = 1;
goto LAB20;
LAB21: xsi_set_current_line(89, ng0);
LAB24: xsi_set_current_line(90, ng0);
t25 = xsi_vlog_realtime(1000.0000000000000, 1000.0000000000000);
*((double *)t15) = t25;
xsi_vlogfile_write(1, 0, 0, ng6, 2, t0, (char)114, t15, 64);
goto LAB23;
}
extern void work_m_00000000002780371255_0889857410_init()
{
static char *pe[] = {(void *)Initial_71_0,(void *)Always_74_1};
static char *se[] = {(void *)sp_start};
xsi_register_didat("work_m_00000000002780371255_0889857410", "isim/test_wave_gen_isim_beh.exe.sim/work/m_00000000002780371255_0889857410.didat");
xsi_register_executes(pe);
xsi_register_subprogram_executes(se);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -