• 大小: 495KB
    文件类型: .7z
    金币: 1
    下载: 0 次
    发布日期: 2021-05-12
  • 语言: 其他
  • 标签: ISE  XILINX  ALU  

资源简介

用XILINX的ISE2014.4开发的32位ALU。已经过仿真调试。

资源截图

代码片段和文件信息

/**********************************************************************/
/*   ____  ____                                                       */
/*  /   /\/   /                                                       */
/* /___/  \  /                                                        */
/* \   \   \/                                                       */
/*  \   \        Copyright (c) 2003-2009 Xilinx Inc.                */
/*  /   /          All Right Reserved.                                 */
/* /---/   /\                                                         */
/* \   \  /  \                                                      */
/*  \___\/\___\                                                    */
/***********************************************************************/

/* This file is designed for use with ISim build 0x7708f090 */

#define XSI_HIDE_SYMBOL_SPEC true
#include “xsi.h“
#include 
#ifdef __GNUC__
#include 
#else
#include 
#define alloca _alloca
#endif



static void Gate_29_0(char *t0)
{
    char *t1;
    char *t2;
    char *t3;
    char *t4;
    char *t5;
    char *t6;
    char *t7;
    char *t8;
    char *t9;

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

LAB3:    goto *t2;

LAB2:    t2 = (t0 + 1208U);
    t3 = *((char **)t2);
    t2 = (t0 + 2768);
    t4 = (t2 + 56U);
    t5 = *((char **)t4);
    t6 = (t5 + 56U);
    t7 = *((char **)t6);
    xsi_vlog_notGate(t7 t3);
    t8 = (t0 + 2768);
    xsi_driver_vfirst_trans(t8 0 0);
    t9 = (t0 + 2688);
    *((int *)t9) = 1;

LAB1:    return;
}


extern void unisims_ver_m_00000000000236260522_2449448540_init()
{
static char *pe[] = {(void *)Gate_29_0};
xsi_register_didat(“unisims_ver_m_00000000000236260522_2449448540“ “isim/ALU_ALU_sch_tb_isim_beh.exe.sim/unisims_ver/m_00000000000236260522_2449448540.didat“);
xsi_register_executes(pe);
}

评论

共有 条评论