byuccl / bfasst

Tools for FPGA Assurance Flows
Apache License 2.0
12 stars 4 forks source link

Xray Dependency on part database #415

Closed jgoeders closed 2 months ago

jgoeders commented 6 months ago

I ran into an interesting issue where I deleted my fasm2bels and then ran make install_fasm2bels to reinstall it. At the end of the install steps it runs a flow to regenerate the part database; however, since I had run the flow previously, I got ninja: no work to do.

The XRay tool should probably be updated to add the part database as a dependency so that ninja throws an error if the file does not exist.

yonnorc42 commented 5 months ago

@jgoeders To guarantee that you don't get ninja: no work to do. could we just add

mv build build_temp
python scripts/run.py VivadoBitToNetlist designs/basic/and3 --no_tool_checks
rm -r build
mv build_temp build

to install_fasm2bels.sh to guarantee that the flow runs and the database is generated?