?? makefile
字號:
################################################################### 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 + -