⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 m_00000000002127586974_4222133388.c

📁 verilogHDL编写的并串转换模块
💻 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/bingchuan/deconverter.v";
static unsigned int ng1[] = {0U, 0U};
static int ng2[] = {0, 0};
static int ng3[] = {2, 0};
static int ng4[] = {1, 0};



static void A29_0(char *t0)
{
    char t12[8];
    char t13[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 *t14;
    char *t15;
    char *t16;
    unsigned int t17;
    unsigned int t18;
    unsigned int t19;
    unsigned int t20;
    unsigned int t21;
    unsigned int t22;
    unsigned int t23;
    char *t24;
    unsigned int t25;
    unsigned int t26;
    unsigned int t27;
    unsigned int t28;
    unsigned int t29;
    char *t30;
    char *t31;

LAB0:    t1 = (t0 + 1620U);
    t2 = *((char **)t1);
    if (t2 == 0)
        goto LAB2;

LAB3:    goto *t2;

LAB2:    xsi_set_current_line(29, ng0);
    t2 = (t0 + 1800);
    *((int *)t2) = 1;
    *((char **)t1) = &&LAB4;

LAB1:    return;
LAB4:    xsi_set_current_line(30, 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(36, ng0);

LAB9:    xsi_set_current_line(37, ng0);
    t2 = (t0 + 1144);
    t3 = (t2 + 32U);
    t4 = *((char **)t3);
    t10 = ((char*)((ng3)));
    memset(t12, 0, 8);
    xsi_vlog_unsigned_mod(t12, 32, t4, 1, t10, 32);
    t11 = ((char*)((ng2)));
    memset(t13, 0, 8);
    t14 = (t13 + 4U);
    t15 = (t12 + 4U);
    t16 = (t11 + 4U);
    t5 = *((unsigned int *)t12);
    t6 = *((unsigned int *)t11);
    t7 = (t5 ^ t6);
    t8 = *((unsigned int *)t15);
    t9 = *((unsigned int *)t16);
    t17 = (t8 ^ t9);
    t18 = (t7 | t17);
    t19 = *((unsigned int *)t15);
    t20 = *((unsigned int *)t16);
    t21 = (t19 | t20);
    t22 = (~(t21));
    t23 = (t18 & t22);
    if (t23 != 0)
        goto LAB13;

LAB10:    if (t21 != 0)
        goto LAB12;

LAB11:    *((unsigned int *)t13) = 1;

LAB13:    t24 = (t13 + 4U);
    t25 = *((unsigned int *)t24);
    t26 = (~(t25));
    t27 = *((unsigned int *)t13);
    t28 = (t27 & t26);
    t29 = (t28 != 0);
    if (t29 > 0)
        goto LAB14;

LAB15:    xsi_set_current_line(43, ng0);
    t2 = (t0 + 828U);
    t3 = *((char **)t2);
    t2 = (t0 + 1052);
    xsi_vlogvar_generic_wait_assign_value(t2, t3, 2, 0, 0, 1, 0LL);

LAB16:    xsi_set_current_line(44, ng0);
    t2 = (t0 + 1144);
    t3 = (t2 + 32U);
    t4 = *((char **)t3);
    t10 = ((char*)((ng4)));
    memset(t12, 0, 8);
    xsi_vlog_unsigned_add(t12, 32, t4, 1, t10, 32);
    t11 = (t0 + 1144);
    xsi_vlogvar_generic_wait_assign_value(t11, t12, 2, 0, 0, 1, 0LL);

LAB7:    goto LAB2;

LAB5:    xsi_set_current_line(31, ng0);

LAB8:    xsi_set_current_line(32, ng0);
    t10 = ((char*)((ng1)));
    t11 = (t0 + 1144);
    xsi_vlogvar_generic_wait_assign_value(t11, t10, 2, 0, 0, 1, 0LL);
    xsi_set_current_line(33, ng0);
    t2 = ((char*)((ng2)));
    t3 = (t0 + 1052);
    xsi_vlogvar_generic_wait_assign_value(t3, t2, 1, 0, 0, 1, 0LL);
    goto LAB7;

LAB12:    *((unsigned int *)t13) = 1;
    *((unsigned int *)t14) = 1;
    goto LAB13;

LAB14:    xsi_set_current_line(38, ng0);

LAB17:    xsi_set_current_line(39, ng0);
    t30 = (t0 + 740U);
    t31 = *((char **)t30);
    t30 = (t0 + 1052);
    xsi_vlogvar_generic_wait_assign_value(t30, t31, 2, 0, 0, 1, 0LL);
    xsi_set_current_line(40, ng0);
    t2 = (t0 + 1144);
    t3 = (t2 + 32U);
    t4 = *((char **)t3);
    t10 = ((char*)((ng4)));
    memset(t12, 0, 8);
    xsi_vlog_unsigned_add(t12, 32, t4, 1, t10, 32);
    t11 = (t0 + 1144);
    xsi_vlogvar_generic_wait_assign_value(t11, t12, 2, 0, 0, 1, 0LL);
    goto LAB16;

}


extern void work_m_00000000002127586974_4222133388_init()
{
	static char *pe[] = {(void *)A29_0};
	xsi_register_didat("work_m_00000000002127586974_4222133388", "isim/_tmp/work/m_00000000002127586974_4222133388.didat");
	xsi_register_executes(pe);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -