-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gowin_pack for GW1N-LV1QN48C6/I5 not working #99
Comments
Try the master branch |
Ah i found the problem in gowin_pack.py, the version on pip does not have I thought pip install downloads the latest version from git |
ah the last 2 commits were not in the release |
This is fixed after doing a |
Had a chat with them, they're going to keep using exact version match deps, with only manually selected publication of their nightly builds. But I think I prompted them to at least consider auto publication of nightly releases where you guys to do a 0.0.+1 version bump, specifically for quick little fixes like this that shouldn't break compatibility. Anyway, they manually pushed an update for 0.3.1, so it's all good for now. |
DEVICE='GW1N-LV1QN48C6/I5'
BOARD='tangnano'
yosys -D LEDS_NR=3 -p "read_verilog blinky.v; synth_gowin -json blinky.json"
nextpnr-gowin --json blinky.json
--write pnrblinky.json
--device $DEVICE
--cst $BOARD.cst
gowin_pack -d $DEVICE -o pack.fs pnrblinky.json
When I run the example with device GW1N-LV1QN48C6/I5 I get this error:
root@DESKTOP-NSB1HR8:/mnt/d/git/apicula/examples# gowin_pack -d $DEVICE -o pack.fs pnrblinky.json Traceback (most recent call last): File "/root/.venv/python3.10/bin/gowin_pack", line 8, in <module> sys.exit(main()) File "/root/.venv/python3.10/lib/python3.10/site-packages/apycula/gowin_pack.py", line 366, in main with importlib.resources.open_binary("apycula", f"{device}.pickle") as f: File "/usr/lib/python3.10/importlib/resources.py", line 46, in open_binary return reader.open_resource(resource) File "/usr/lib/python3.10/importlib/abc.py", line 433, in open_resource return self.files().joinpath(resource).open('rb') File "/usr/lib/python3.10/pathlib.py", line 1117, in open return self._accessor.open(self, mode, buffering, encoding, errors, FileNotFoundError: [Errno 2] No such file or directory: '/root/.venv/python3.10/lib/python3.10/site-packages/apycula/GW1NNone-1.pickle'
The text was updated successfully, but these errors were encountered: