Closed robinsonb5 closed 1 year ago
This should be fixed now: https://github.com/kintex-chatter/nextpnr-kintex-snap/releases/tag/v0.2.1 Works for me in a 22.04 VM.
@robinsonb5 please confirm
Thanks for the update.
On Mint21 I still get the same error, but I spun up a fresh Ubuntu 22.04.1 VM and installed there, and now nextpnr-xilinx successfully compiles the blinky-qmtech demo.
I do see the following warning from fasm2frames though:
fasm2frames --part xc7k325tffg676-1 --db-root /snap/nextpnr-kintex/current/opt/n
extpnr-xilinx/external/prjxray-db/kintex7 blinky.fasm > blinky.frames
/snap/nextpnr-kintex/current/usr/lib/python3/dist-packages/fasm/parser/__init__.
py:30: RuntimeWarning: Unable to import fast Antlr4 parser implementation.
ImportError: libffi.so.7: cannot open shared object file: No such file or dire
ctory
Falling back to the much slower pure Python textX based parser
implementation.
Getting the faster antlr parser can normally be done by installing the
required dependencies and then reinstalling the fasm package with:
pip uninstall
pip install -v fasm
warn(
But it does appear to work, and I do have a .bit file at the end of the process.
Yes that warning is a known issue.
I'm attempting to build the blinky-qmtech project from the demo-projects repo, and while it works fine on my Mint 20.3 (Ubuntu 20.04 derivative), the build fails on Mint 21 (Ubuntu 22.04 derivative - and someone else had the same problem using Ubuntu 22.04 itself)
The problem seems to be python-related, and it's entirely possible I'm doing something wrong, but the error message I'm seeing is this:
Python is installed and working well enough to use litex, so I think the problem is related to the snap or its configuration.