📄 m_00000000002853984210_3858348017.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_resetgen.v";
static const char *ng1 = "%t Asserting reset for %d clocks";
static unsigned int ng2[] = {1U, 0U};
static const char *ng3 = "%t Deasserting reset";
static unsigned int ng4[] = {0U, 0U};
static int sp_assert_reset(char *t1, char *t2)
{
char t6[8];
int t0;
char *t3;
char *t4;
double t5;
char *t7;
char *t8;
char *t9;
char *t10;
unsigned int t11;
unsigned int t12;
unsigned int t13;
int t14;
char *t15;
char *t16;
char *t17;
char *t18;
LAB0: t0 = 1;
t3 = (t2 + 48U);
t4 = *((char **)t3);
if (t4 == 0)
goto LAB2;
LAB3: goto *t4;
LAB2: t4 = (t1 + 848);
xsi_vlog_subprogram_setdisablestate(t4, &&LAB4);
xsi_set_current_line(54, ng0);
LAB5: xsi_set_current_line(55, ng0);
t5 = xsi_vlog_realtime(1000.0000000000000, 1000.0000000000000);
*((double *)t6) = t5;
t7 = (t1 + 2040);
t8 = (t7 + 56U);
t9 = *((char **)t8);
t10 = (t1 + 848);
xsi_vlogfile_write(1, 0, 0, ng1, 3, t10, (char)114, t6, 64, (char)118, t9, 32);
xsi_set_current_line(56, ng0);
t4 = ((char*)((ng2)));
t7 = (t1 + 1880);
xsi_vlogvar_assign_value(t7, t4, 0, 0, 1);
xsi_set_current_line(57, ng0);
t4 = (t1 + 2040);
t7 = (t4 + 56U);
t8 = *((char **)t7);
t9 = (t8 + 4);
t11 = *((unsigned int *)t9);
t12 = (~(t11));
t13 = *((unsigned int *)t8);
t14 = (t13 & t12);
t10 = (t1 + 4760);
*((int *)t10) = t14;
LAB6: t15 = (t1 + 4760);
if (*((int *)t15) > 0)
goto LAB7;
LAB8: xsi_set_current_line(58, ng0);
t5 = xsi_vlog_realtime(1000.0000000000000, 1000.0000000000000);
*((double *)t6) = t5;
t4 = (t1 + 848);
xsi_vlogfile_write(1, 0, 0, ng3, 2, t4, (char)114, t6, 64);
xsi_set_current_line(59, ng0);
t4 = ((char*)((ng4)));
t7 = (t1 + 1880);
xsi_vlogvar_assign_value(t7, t4, 0, 0, 1);
LAB4: xsi_vlog_dispose_subprogram_invocation(t2);
t4 = (t2 + 48U);
*((char **)t4) = &&LAB2;
t0 = 0;
LAB1: return t0;
LAB7: xsi_set_current_line(57, ng0);
t16 = (t2 + 88U);
t17 = *((char **)t16);
t18 = (t17 + 0U);
xsi_wp_set_status(t18, 1);
*((char **)t3) = &&LAB9;
goto LAB1;
LAB9: t4 = (t1 + 4760);
t14 = *((int *)t4);
*((int *)t4) = (t14 - 1);
goto LAB6;
}
static void Initial_46_0(char *t0)
{
char *t1;
char *t2;
LAB0: xsi_set_current_line(47, ng0);
LAB2: xsi_set_current_line(48, ng0);
t1 = ((char*)((ng4)));
t2 = (t0 + 1880);
xsi_vlogvar_assign_value(t2, t1, 0, 0, 1);
LAB1: return;
}
extern void work_m_00000000002853984210_3858348017_init()
{
static char *pe[] = {(void *)Initial_46_0};
static char *se[] = {(void *)sp_assert_reset};
xsi_register_didat("work_m_00000000002853984210_3858348017", "isim/test_wave_gen_isim_beh.exe.sim/work/m_00000000002853984210_3858348017.didat");
xsi_register_executes(pe);
xsi_register_subprogram_executes(se);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -