• 大小: 7.88MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-07
  • 语言: 其他
  • 标签: Xilinx  ISE  9.x  FPGA/CPLD  

资源简介

完整的《Xilinx ISE 9.x FPGA/CPLD设计指南》开发资料,若不能下载请留言

资源截图

代码片段和文件信息

static const char * HSimCopyRightNotice = “Copyright 2004-2005 Xilinx Inc. All rights reserved.“;
#ifdef __MINGW32__
#include “xsimMinGW.h“
#else
#include “xsim.h“
#endif
#include “D:/Xilinx91i/vhdl/hdp/nt/ieee/std_logic_1164/std_logic_1164.h“
#include “D:/Xilinx91i/vhdl/hdp/nt/ieee/std_logic_arith/std_logic_arith.h“


static HSim__s6* IF0(HSim__s6 *Archconst char* labelint nGenerics 
va_list vap)
{
    extern HSim__s6 * createworkMtb(const char*);
    HSim__s6 *blk = createworkMtb(label); 
    return blk;
}


static HSim__s6* IF1(HSim__s6 *Archconst char* labelint nGenerics 
va_list vap)
{
    extern HSim__s6 * createworkM_p_u_l_l_u_p2(const char*);
    HSim__s6 *blk = createworkM_p_u_l_l_u_p2(label); 
    return blk;
}


static HSim__s6* IF2(HSim__s6 *Archconst char* labelint nGenerics 
va_list vap)
{
    extern HSim__s6 * createworkM_a_t24_c02(const char*);
    HSim__s6 *blk = createworkM_a_t24_c02(label); 
    return blk;
}


static HSim__s6* IF3(HSim__s6 *Archconst char* labelint nGenerics 
va_list vap)
{
    extern HSim__s6 * createworkMglbl(const char*);
    HSim__s6 *blk = createworkMglbl(label); 
    return blk;
}


static HSim__s6* IF4(HSim__s6 *Archconst char* labelint nGenericsva_list vap)
{
    extern HSim__s6* createWork_i2c_behave(const char*);
    HSim__s6 *blk = createWork_i2c_behave(label);
    return blk;
}


static HSim__s6* IF5(HSim__s6 *Archconst char* labelint nGenericsva_list vap)
{
    extern HSim__s6* createWork_i2c_behave(const char*);
    HSim__s6 *blk = createWork_i2c_behave(label);
    return blk;
}

class _top : public HSim__s6 {
public:
    _top() : HSim__s6(false “_top“ “_top“ 0 0 HSim::VerilogModule) {}
    HSimConfigDecl * topModuleInstantiate() {
        HSimConfigDecl * cfgvh = 0;
        cfgvh = new HSimConfigDecl(“default“);
        (*cfgvh).addVlogModule(“tb“ (HSimInstFactoryPtr)IF0);
        (*cfgvh).addVlogModule(“PULLUP2“ (HSimInstFactoryPtr)IF1);
        (*cfgvh).addVlogModule(“AT24C02“ (HSimInstFactoryPtr)IF2);
        (*cfgvh).addVlogModule(“glbl“ (HSimInstFactoryPtr)IF3);
        (*cfgvh).addVlogModule(“i2c/behave“ (HSimInstFactoryPtr)IF4 true);
        (*cfgvh).addVlogModule(“i2c“ (HSimInstFactoryPtr)IF5 true);
        HSim__s5 * topvl = 0;
        extern HSim__s6 * createworkMtb(const char*);
        topvl = (HSim__s5*)createworkMtb(“tb“);
        topvl->moduleInstantiate(cfgvh);
        addChild(topvl);
        extern HSim__s6 * createworkMglbl(const char*);
        topvl = (HSim__s5*)createworkMglbl(“glbl“);
        topvl->moduleInstantiate(cfgvh);
        addChild(topvl);
        return cfgvh;
}
};

main(int argc char **argv) {
  HSimDesign::initDesign();
  globalKernel->getOptions(argcargv);
  HSim__s6 * _top_i = 0;
  try {
    IeeeStd_logic_1164=new Ieee_std_logic_1164(“std_logic_1164“);
    IeeeStd_logic_arith=new Ieee_std_logic_arith(“std_logic_arith“);
    HSimConfi

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        860  2006-12-05 15:36  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.bld

     文件        948  2006-12-05 15:40  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.cmd_log

     文件          6  2006-12-05 15:35  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.lso

     文件      18758  2006-12-05 15:40  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.ncd

     文件      20661  2006-12-05 15:36  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.ngc

     文件      31982  2006-12-05 15:36  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.ngd

     文件      10751  2006-12-05 15:36  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.ngr

     文件      26546  2006-12-05 15:40  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.pad

     文件       5571  2006-12-05 15:40  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.par

     文件        214  2006-12-05 15:38  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.pcf

     文件         53  2006-12-05 15:35  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.prj

     文件          0  2006-12-05 15:36  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.stx

     文件      16377  2006-12-05 15:36  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.syr

     文件       4183  2006-12-05 15:40  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.twr

     文件      23435  2006-12-05 15:40  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.twx

     文件        148  2006-12-05 15:40  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.unroutes

     文件         46  2006-12-05 15:40  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.xpi

     文件       1210  2006-12-05 15:35  ise_book\Example-1-1\prescale_counter_ver\prescale_counter.xst

     文件        595  2006-12-05 16:19  ise_book\Example-1-1\prescale_counter_ver\prescale_counter_fpga_editor.log

     文件      18758  2006-12-05 15:40  ise_book\Example-1-1\prescale_counter_ver\prescale_counter_guide.ncd

     文件       3645  2006-12-05 15:38  ise_book\Example-1-1\prescale_counter_ver\prescale_counter_map.map

     文件      11169  2006-12-05 15:38  ise_book\Example-1-1\prescale_counter_ver\prescale_counter_map.mrp

     文件      14022  2006-12-05 15:38  ise_book\Example-1-1\prescale_counter_ver\prescale_counter_map.ncd

     文件      57672  2006-12-05 15:37  ise_book\Example-1-1\prescale_counter_ver\prescale_counter_map.ngm

     文件      26578  2006-12-05 15:40  ise_book\Example-1-1\prescale_counter_ver\prescale_counter_pad.csv

     文件     134885  2006-12-05 15:40  ise_book\Example-1-1\prescale_counter_ver\prescale_counter_pad.txt

     文件      31982  2006-12-05 15:36  ise_book\Example-1-1\prescale_counter_ver\prescale_counter_prev_built.ngd

     文件       8063  2006-12-06 09:41  ise_book\Example-1-1\prescale_counter_ver\prescale_counter_summary.html

     文件        408  2006-12-05 15:38  ise_book\Example-1-1\prescale_counter_ver\prescale_counter_summary.xml

     文件       1991  2006-12-05 15:38  ise_book\Example-1-1\prescale_counter_ver\prescale_counter_usage.xml

............此处省略2037个文件信息

评论

共有 条评论