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

📄 makefile

📁 SystemC可以由C语言直接开发硬件
💻
字号:
################################################################### ncsim make file (with Systemc Verification Library support)# 2003.6 created by zhuwei <zw84611@sina.com>###################################################################user can put their own elaborator and simulator optionsUSER_SIM_OPTIONS = USER_ELAB_OPTIONS = -sconlyNC_LIB_DIR = $(LDV)/tools.lnx86/systemc/lib# User should list the systemc source files on this macroSRCS = nc_main.cpp       SYSTEMC_SOURCES = $(SRCS)OBJS = $(SYSTEMC_SOURCES:.cpp=.o)EXTRA_LIBS = $(NC_LIB_DIR)/ncscpi.o $(NC_LIB_DIR)/sc_fpi_nc.o $(NC_LIB_DIR)/libsystemc.aALL_OBJS = $(OBJS) $(EXTRA_LIBS)# User should list the Verilog source files on this macroVERILOG_SOURCES =# User should list the VHDL source files on this macroVHDL_SOURCES = # User should name top level module in the hdl hierarchyDESIGN_TOP = test_top# For user to add their own -D on the compiler command line.USER_DFLAGS = # For user to add their own -I on the compiler command line.USER_IFLAGS = # For user to add their own -L on the compiler command line.USER_LFLAGS = # For user to add their own libraries to link with the simulation. USER_LIBS =all:	mkdir -p lib	ncsc -cflags "-O3" $(SYSTEMC_SOURCES)	g++ -shared -z muldefs -o all.so $(ALL_OBJS)	ncelab -messages $(USER_ELAB_OPTIONS) -loadsc all.so $(DESIGN_TOP)	ncsim -gui $(DESIGN_TOP)clean:	make -f ${SYSTEMC_MAKEFILES}/Makefile.sc SYSTEMC_MAKEFILES=${SYSTEMC_MAKEFILES} NC_ROOT=`ncroot` ARCH=`cds_plat` COMPILER=${COMPILER} cleanautomatic:

⌨️ 快捷键说明

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