-
Notifications
You must be signed in to change notification settings - Fork 242
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
Regression from arachnepnr: failure to route SB_PLL40_2_PAD #126
Comments
Dupe of #69 Try https://github.com/smunaut/nextpnr/tree/ice40_work for a fix. |
Your branch does fix this specific testcase (yay) -- pnr succeeded, I verified 12M and 25M clocks at the testpoints on the board, everything's happy. However for a nontrivial project (VGA character display, soft spi peripheral to read/write video memory) the pnr now gets "stuck" around here: It's been sitting there at 100% cpu for 5 minutes now apparently making no progress. Of course this could be an unrelated bug. I'll do a bit more exploring. |
Yes, that sounds like a distinct issue. |
I haven't narrowed it down to a specific test case yet. Here's the json+pcf:
|
Yeah it gets stuck in an infinite loop in I would suggest opening another issue for this. |
Although ... wait ... might actually be somewhat related since the cell it's trying to place is a SB_GB. |
in This works around it for now. |
Can confirm that the design works correctly (same as w/ arachne-pnr and icecube2) with that workaround. Thanks! Happy to open a separate issue for this if that's useful/desirable. |
Yeah, I would open a different issue. This |
I think this should all be fixed now too. |
Confirmed -- tip of tree Yosys + NextPNR is working fine for both the small test case and some larger projects. |
Below is a test of using SB_PLL40_2_PAD which provides both the original clock and the synthesized clock via globals. This works in iceCube2 and with arachne-pnr but fails with nextpnr with:
ERROR: PLL 'pll0.pll_inst' is using multiple ports mapping to PLLOUT_A output of the PLL
pll-test.tar.gz
pll-test.sh
pll-test.pcf
pll-test.v
The text was updated successfully, but these errors were encountered: