Skip to content
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

bbaexport.py fails for xc7a35t #35

Open
ajelinski opened this issue Mar 9, 2022 · 2 comments
Open

bbaexport.py fails for xc7a35t #35

ajelinski opened this issue Mar 9, 2022 · 2 comments

Comments

@ajelinski
Copy link

The problem was introduced with the 565588a commit.
Basically, such a directory doesn't exist: external/prjxray-db/artix7/xc7a35t/tilegrid.json

See hdl/conda-eda#191 for more details.

@tmichalak
Copy link

It also seems that the prjxray-db is heavily outdated.

@jhladik
Copy link

jhladik commented Nov 6, 2022

The bbaexport.py also fails for xc7z020clg400-1:

python3 xilinx/python/bbaexport.py --device xc7z020clg400-1 --bba xilinx/xc7z020.bba Traceback (most recent call last): File "/Users/jhladik/Documents/Development/HDL/zybo-playground/tools/nextpnr-xilinx/xilinx/python/bbaexport.py", line 350, in <module> main() File "/Users/jhladik/Documents/Development/HDL/zybo-playground/tools/nextpnr-xilinx/xilinx/python/bbaexport.py", line 31, in main d = import_device(args.device, xraydb_root, metadata_root) File "/Users/jhladik/Documents/Development/HDL/zybo-playground/tools/nextpnr-xilinx/xilinx/python/xilinx_device.py", line 462, in import_device with open(prjxray_root + "/" + fabricname + "/tilegrid.json") as gf: FileNotFoundError: [Errno 2] No such file or directory: '/Users/jhladik/Documents/Development/HDL/zybo-playground/tools/nextpnr-xilinx/xilinx/python/../external/prjxray-db/zynq7/xc7z020clg400-1t/tilegrid.json'

There is no "t" in the FPGA part number so this splitting used by bbaexport.py won't work for Zynq-7000 family FPGAs/SoCs.

I had to change the fabricname = name.split('t')[0] + "t" to fabricname = name to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants