JunningWu / Learning-NVDLA-Notes

NVDLA is an Open source DL/ML accelerator, which is very suitable for individuals or college students. This is the NOTES when I learn and try. Hope THIS PAGE may Helps you a bit. Contact Me:junning.wu@ia.ac.cn
221 stars 66 forks source link

Where to Set VCS #5

Closed redpanda3 closed 6 years ago

redpanda3 commented 6 years ago

Hello, I met the problem of vcs dir isn't correct. Do you know how to fix it

/home/tools/vcs/mx-2015.09-SP2-9-T0426/bin/vcs -f /usr/local/nvdla/hw/verif/dut/dut.f -Xddg=0x1 -o ./simv -cpp /home/utils/gcc-4.7.2/bin/g++ +nospecify +notimingchecks +define+VLIB_NO_UDP +warn=noTFIPC +warn=noTMR -full64 -y /usr/local/nvdla/hw/verif/synth_tb -y /usr/local/nvdla/hw/verif/../outdir/nv_full/vmod/vlibs +incdir+/usr/local/nvdla/hw/verif/synth_tb +incdir+/usr/local/nvdla/hw/verif/dut +incdir+/usr/local/nvdla/hw/verif/../outdir/nv_full/vmod/vlibs +incdir+/usr/local/nvdla/hw/verif/../outdir/nv_full/vmod/include +incdir+/usr/local/nvdla/hw/verif/../outdir/nv_full/vmod/vlibs +incdir+.. +define+DESIGNWARE_NOEXIST +vcs+lic+wait -sverilog +libext+.v +libext+.sv -timescale=1ns/1ns -debug_all +define+NVTOOLS_SYNC2D_GENERIC_CELL +define+NO_PERFMON_HISTOGRAM +define+PRAND_OFF +define+NO_DUMPS /usr/local/nvdla/hw/verif/synth_tb/tb_top.v /usr/local/nvdla/hw/verif/synth_tb/csb_master.v /usr/local/nvdla/hw/verif/synth_tb/csb_master_seq.v /usr/local/nvdla/hw/verif/synth_tb/axi_slave.v /usr/local/nvdla/hw/verif/synth_tb/id_fifo.v /usr/local/nvdla/hw/verif/synth_tb/memory.v /usr/local/nvdla/hw/verif/synth_tb/memresp_fifo.v /usr/local/nvdla/hw/verif/synth_tb/raddr_fifo.v /usr/local/nvdla/hw/verif/synth_tb/slave_mem_wrap.v /usr/local/nvdla/hw/verif/synth_tb/waddr_fifo.v /usr/local/nvdla/hw/verif/synth_tb/wdata_fifo.v /usr/local/nvdla/hw/verif/synth_tb/wstrb_fifo.v /usr/local/nvdla/hw/verif/synth_tb/clk_divider.v /usr/local/nvdla/hw/verif/synth_tb/slave2mem_rd.v /usr/local/nvdla/hw/verif/synth_tb/slave2mem_wr.v /usr/local/nvdla/hw/verif/../outdir/nv_full/vmod/vlibs/NV_DW02_tree.v /usr/local/nvdla/hw/verif/../outdir/nv_full/vmod/vlibs/NV_DW_lsd.v /usr/local/nvdla/hw/verif/../outdir/nv_full/vmod/vlibs/NV_DW_minmax.v -l ./simv.compile.log -Mdir=./simvCsrc ; ./checkcompile.pl ./simv.compile.log ./simv /bin/sh: 1: /home/tools/vcs/mx-2015.09-SP2-9-T0426/bin/vcs: not found

JunningWu commented 6 years ago

one way to set the env is in the tree.make; or you can change it in your .bashrc; or in the config.sh file

redpanda3 commented 6 years ago

Thx