nvdla / hw

RTL, Cmodel, and testbench for NVDLA
Other
1.67k stars 561 forks source link

nv_small tmake building ready_for_test error #349

Closed shemadolev closed 3 years ago

shemadolev commented 3 years ago

We're trying to build a simple nv_small project. We've passed the stages in Build Tree till ./tools/bin/tmake -build ready_for_test which generates the following: image

This is our logfile in outdir/nv_small/verif/testbench/trace_player/sysc.log: sysc.log We've noticed 2 things:

  1. The include path for SystemC is not as we supplied in the tree.make: image
  2. Seems like it's trying to run a sysc version of 2.3.0, and we can't understand why: The Systemc's version in the path we supplied is 2.3.1 and - when we're trying to change the SYSC_VER to 231 in the Makefile in verif/testbench/trace_player we're getting this error: image

Any help will be appreciated.

LeiWang1999 commented 3 years ago

I think you can try this docker container .~

docker pull farhanaslam/nvdla 
shemadolev commented 3 years ago

Solved:

  1. We changed the version of systemc in arguments in: hw/verif/testbench/traceplayer/Makefile
  2. We had a problem with the limit of file descriptors in our machine. Calling limit descriptors 1024 solved the 'Bad file descriptor' error.