nvdla / hw

RTL, Cmodel, and testbench for NVDLA
Other
1.72k stars 566 forks source link

error when execute ./tools/bin/tmake -build vmod for nv_small configuration in Master branch #154

Open xranger opened 6 years ago

xranger commented 6 years ago

I am working under the master branch for nv_small configuration implementation. However, after the environment setup(tree.make, projects:=nv_small), there is an error when I execute ./tools/bin/tmake -build vmod to generate the RTL for nv_small project. The log is below: `TMAKE: building nv_small in spec/defs \n File "../../tools/bin/defgen", line 117 write_line_list.append("PROJVAR={") if 'py' == backend else next ^ SyntaxError: invalid syntax make: *** [project.h] Error 1 Died at ./tools/bin/tmake line 254.

`

How to solve this problem? Thanks in advance.

BR, Colin

elliski commented 6 years ago

My guess is that you are modifying parameters set by default in ./spec/defs/nv_small.spec or modifying the project spec file ./spec/defs/project.spec Try running without any changes whatsoever and see if you can get it to work. If not, check your perl version.