Comments (11)
Dupe of #69
Try https://github.com/smunaut/nextpnr/tree/ice40_work for a fix.
from nextpnr.
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:
Info: at iteration #125: temp = 8.185582, cost = 4579, est tns = -162.50ns
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.
from nextpnr.
Yes, that sounds like a distinct issue.
If you have a test case (or even just the source .json / .pcf) to reproduce, feel free to post that.
from nextpnr.
I haven't narrowed it down to a specific test case yet. Here's the json+pcf:
stuck.tar.gz
$ nextpnr-ice40 --package sg48 --up5k --pcf top.pcf --asc top.asc --json top.json
from nextpnr.
Yeah it gets stuck in an infinite loop in random_bel_for_cell()
.
I would suggest opening another issue for this.
from nextpnr.
Although ... wait ... might actually be somewhat related since the cell it's trying to place is a SB_GB.
from nextpnr.
in ice40/pack.cc
in function bool Arch::pack()
, you can try commenting out promote_globals()
This works around it for now.
from nextpnr.
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.
from nextpnr.
Yeah, I would open a different issue. This random_bel_for_cell
seems pretty bad for resources that are "rare" in the FPGA. (i.e. when there is only a few of them)
from nextpnr.
I think this should all be fixed now too.
from nextpnr.
Confirmed -- tip of tree Yosys + NextPNR is working fine for both the small test case and some larger projects.
from nextpnr.
Related Issues (20)
- generic: The router enters an infinite loop
- typo in code
- Specifying constraints for nextpnr-gowin
- Segfault/exception on combinatorial looping design HOT 16
- `std::out_of_range` exception thrown while packing LRAM HOT 12
- Suggested command `nextpnr-himbaechel --uarch gowin --chipdb .../himbaechel/uarch/gowin/chipdb/chipdb-GW1N-1.bin --vopt partno=GW1NR-LV9QN88PC6/I5` fails HOT 13
- "ERROR: INTERNAL CHECK FAILED" with newer oss-cad-suite-build releases HOT 3
- nextpnr-gowin crashes HOT 5
- ERROR: clearing already set config bit NegClk HOT 1
- Hang in nextpnr-ice40 sa placer for SmolDVI design HOT 2
- Trellis ECP5 python module issue HOT 4
- Import Error ECP5, But ICE40 is ok. Can you give me some advice? HOT 1
- Histogram showing negative slack and yet timing passes HOT 4
- Build Issues on Windows HOT 3
- arachne-pnr or nextpnr for ICE40 devices HOT 2
- Routing failure on MachXO3 HOT 4
- Allowing family aliases for gowin HOT 18
- Building himbaechel requires python 3.9+ but readme says 3.5 HOT 1
- Oassing constraints to nextpnr-himbaechel HOT 4
- No option named X for enum EBR3.PDPSC16K_MODE.DATA_WIDTH_R in tile CIB_R29C11:EBR_9 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextpnr.