YosysHQ / arachne-pnr

Place and route tool for FPGAs
MIT License
413 stars 72 forks source link

``make test`` is failing with traceback #53

Open benallard opened 7 years ago

benallard commented 7 years ago
cd tests/fsm && bash run-test.sh
+ arachne_pnr=../../bin/arachne-pnr
+ rm -rf temp
+ mkdir temp
+ python generate.py
Traceback (most recent call last):
  File "generate.py", line 46, in <module>
    with file('temp/uut_%05d.v' % idx, 'w') as f:
NameError: name 'file' is not defined
make: *** [Makefile:68: test] Error 1

This is using today's tip. (52e69ed207342710080d85c7c639480e74a021d7)

benallard commented 7 years ago

Running it on arch, where python actually is python3. That probably makes a difference.

daveshah1 commented 6 years ago

Fixed (finally) in #116. make test should now run on both Python2 and Python3.