Open dai-pch opened 6 years ago
It's the vcs version issue. The following show the config version of mine for your reference.
USE_DESIGNWARE := 1 DESIGNWARE_DIR := /home/tools/synopsys/syn_2011.09/dw/sim_ver CPP := /home/utils/gcc-4.8.2/bin/cpp GCC := /home/utils/gcc-4.8.2/bin/gcc CXX := /home/utils/gcc-4.8.2/bin/g++ PERL := /home/utils/perl-5.10/5.10.0-threads-64/bin/perl JAVA := /home/utils/java/jdk1.8.0_131/bin/java SYSTEMC := /home/ip/shared/inf/SystemC/1.0/20151112/systemc-2.3.0/GCC472_64_DBG PYTHON := /home/tools/continuum/Anaconda3-5.0.1/bin/python VCS_HOME := /home/tools/vcs/mx-2016.06-SP2-4 NOVAS_HOME := /home/tools/debussy/verdi3_2016.06-SP2-9 VERDI_HOME := /home/tools/debussy/verdi3_2016.06-SP2-9 VERILATOR := verilator CLANG := /home/utils/llvm-4.0.1/bin/clang
That means using a new version of vcs would be ok? I'll try it later.
I've figure out that there are two problems. First one is in file third_party_tools/uvmc-2.3.0/src/connect/sc/uvmc_convert.h. There are two nonstandard syntax at line 288 and 366 respectively. Key word "template" in the begin of these lines should be removed. (Of course these are not problems of this project.)
Second one is in file /verif/vip/reference_model/nvdla_top_scsv_adapter/sc/nvdla_top_sc_adapter.cpp, from line 40 to line 119. The error said identifiers nvdla_top_sc_inst and nvdla_top_sc_layerinst are not defined. I find they are disabled by macor "#ifndef __EDG_\" in nvdla_top_sc_adapter.h and nvdla_top_sc_layer.h. So I disabled these lines in the same way.
When I do these changes, it can be built without error. I don't know whether it's right or not to do this. Or will this changes impact other parts. I think the second problem may be a bug. Please check that.
@dai-pch I'm using vcs 2016, no error occurs when runing ./tools/bin/tmake -only verif_trace_player . So, maybe the modification is just fixed your problem by coincidence. For reference only.
I got an error when build verif_trace_player using commands:
The output is as follows:
Error log in outdir/nv_small.verif_trace_player.log is:
I'm using gcc 4.7.2, systemc-2.3.0. My vcs version is J-2014.12-SP3. Can anyone help me?