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

ERROR: Unconstrained IO #1411

Open
spth opened this issue Dec 26, 2024 · 1 comment
Open

ERROR: Unconstrained IO #1411

spth opened this issue Dec 26, 2024 · 1 comment

Comments

@spth
Copy link

spth commented Dec 26, 2024

I don't know much about synthesis or P&R tools - I'm just a user. And while I know a bit of Verilog, I have no idea about the json.

I have a design that I can synthesize with yosys without -noflatten, then route with nextpnr. But if I synthesize with yosys with -noflatten, routing with nextpnr fails. So I guess there is a problem in either yosys or nextpnr, but don't really know. Since I get the error message from nextpnr, I'm opening the ticket here. I used nextpnr from the master branch from today.

tangnano9k2_synth.json.gz

/home/philipp/nextpnr/nextpnr-himbaechel --json tests/cblink/tangnano9k2_synth.json --write tests/cblink/tangnano9k2.json --device GW1NR-LV9QN88PC6/I5 --vopt family=GW1N-9C --vopt cst=tangnano9k.cst
Info: Using uarch 'gowin' for device 'GW1NR-LV9QN88PC6/I5'

Info: Cell O_psram_ck[0] not found
Info: Cell O_psram_ck[1] not found
Info: Cell O_psram_ck_n[0] not found
Info: Cell O_psram_ck_n[1] not found
Info: Cell O_psram_cs_n[0] not found
Info: Cell O_psram_cs_n[1] not found
Info: Cell O_psram_reset_n[0] not found
Info: Cell O_psram_reset_n[1] not found
Info: Cell IO_psram_dq[0] not found
Info: Cell IO_psram_dq[1] not found
Info: Cell IO_psram_dq[2] not found
Info: Cell IO_psram_dq[3] not found
Info: Cell IO_psram_dq[4] not found
Info: Cell IO_psram_dq[5] not found
Info: Cell IO_psram_dq[6] not found
Info: Cell IO_psram_dq[7] not found
Info: Cell IO_psram_dq[8] not found
Info: Cell IO_psram_dq[9] not found
Info: Cell IO_psram_dq[10] not found
Info: Cell IO_psram_dq[11] not found
Info: Cell IO_psram_dq[12] not found
Info: Cell IO_psram_dq[13] not found
Info: Cell IO_psram_dq[14] not found
Info: Cell IO_psram_dq[15] not found
Info: Cell IO_psram_rwds[0] not found
Info: Cell IO_psram_rwds[1] not found
Info: Reading constraints...
Info: Create constant nets...
Info: Modify LUTs...
Info: Pack IOBs...
ERROR: Unconstrained IO:system.memory.write_en_odd_IBUF_I
0 warnings, 1 error

I encountered this issue on a Debian GNU/Linux testing system on amd64.

@yrabbit
Copy link
Contributor

yrabbit commented Dec 27, 2024

That's very interesting.

As I see it IBUF is in a module that is not a TOP module. Naturally it will be unconstrained because it is not connected to any pin in principle.

How does this work? It is still unclear to me.

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