YosysHQ / arachne-pnr

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

Version comparison is too strict #121

Open xnox opened 6 years ago

xnox commented 6 years ago
$ /usr/bin/arachne-pnr -q -d 1k -p '../test cases/fpga/1 simple/spin.pcf' spin.blif -o spin.asc
fatal error: chipdb and arachne-pnr versions do not match (chipdb: arachne-pnr 0.1+20180513git5d830dd (git sha1 5d830dd, g++ 7.3.0-25ubuntu1 -O2 -fdebug-prefix-map=/build/arachne-pnr-TdhGLh/arachne-pnr-0.1+20180513git5d830dd=. -fstack-protector-strong -O2 -DNDEBUG), arachne-pnr: arachne-pnr 0.1+20180513git5d830dd (git sha1 5d830dd, g++ 7.3.0-25ubuntu1 -O2 -fdebug-prefix-map=/build/arachne-pnr-JRiZ2o/arachne-pnr-0.1+20180513git5d830dd=. -fstack-protector-strong -O2 -DNDEBUG))

The difference is in the value of -fdebug-prefixmap which uses random temp directories and thus will always be different, preventing use of arachne-pnr.