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

Requiring a NULL tile at (0, 0) is Xilinx-specific #34

Open
gatecat opened this issue Mar 17, 2021 · 5 comments
Open

Requiring a NULL tile at (0, 0) is Xilinx-specific #34

gatecat opened this issue Mar 17, 2021 · 5 comments

Comments

@gatecat
Copy link
Contributor

gatecat commented Mar 17, 2021

https://github.com/SymbiFlow/python-fpga-interchange/blob/master/fpga_interchange/populate_chip_info.py#L1139 assumes that the tile at (0, 0) is NULL.

This works for Xilinx, and can be made to work for Nexus by renaming that tile (because it's equivalent to a NULL tile) but this should be made generic in the future.

@litghost
Copy link
Contributor

litghost commented Mar 17, 2021

I agree this should be fixed! We can probably detect the "NULL" tile by checking if it has sites or connected routing.

@gatecat
Copy link
Contributor Author

gatecat commented Mar 17, 2021

I don't think there is a guarantee that there will be a "NULL" tile - I think some iCE40 devices have something in every tile, for example.

@litghost
Copy link
Contributor

I don't think there is a guarantee that there will be a "NULL" tile - I think some iCE40 devices have something in every tile, for example.

Weird! What is in the "corner" of ice40 FPGA's?

@litghost
Copy link
Contributor

The other option here is to glom the constant source site onto a unique tile in the fabric. Does the ice40 fabric has at least 1 unique tile in the fabric?

@gatecat
Copy link
Contributor Author

gatecat commented Mar 17, 2021

Weird! What is in the "corner" of ice40 FPGA's?

the UltraPlus notionally has hard IP and SPRAM located there

The other option here is to glom the constant source site onto a unique tile in the fabric. Does the ice40 fabric has at least 1 unique tile in the fabric?

yeah, the (0, 0) corner tile is good enough for this just might not necessarily be empty

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

2 participants