Open zhilix opened 2 years ago
It's unrecommended to do such conversion for anything that isn't a very small device (ie. testarch). I once attempted to export xczcu7ev to JSON and ran out of memory. If you have something smaller, you may try exporting it to YAML, I believe this method worked better.
What I would recommend (and I personally use) is to load the device in context of python interpreter in REPL mode. I've made a small script for myself to preload when entering REPL mode. It makes it easier to load the device and navigate it.
See: https://github.com/chipsalliance/python-fpga-interchange/pull/164
Make sure you are using 1.0.0
version of capnp
package. Newer versions have some breaking changes.
I ran this under python-fpga-interchange:
and got the error: