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

Hang in nextpnr-ice40 sa placer for SmolDVI design #1211

Open
MichaelBell opened this issue Sep 6, 2023 · 2 comments
Open

Hang in nextpnr-ice40 sa placer for SmolDVI design #1211

MichaelBell opened this issue Sep 6, 2023 · 2 comments

Comments

@MichaelBell
Copy link

Building the example design for Icebrekaer from this repo https://github.com/Wren6991/SmolDVI, but using -abc 9 -device u as options to yosys, I see nextpnr hang on maybe 20% of runs.

This is a repro case:
nextpnr-ice40 --placer sa --up5k --package sg48 --pcf smoldvi_icebreaker.pcf --json smoldvi_icebreaker.json --asc smoldvi_icebreaker.asc --pre-pack smoldvi_icebreaker_prepack.py --timing-allow-fail --quiet --log pnr.log --seed 715589835
repro.zip

@gatecat
Copy link
Member

gatecat commented Sep 7, 2023

I'll look into this, but in a meantime is removing --placer sa and using the default HeAP placer a workaround for now? There should be relatively few cases where SA is actually giving better performance now, and some of those should perhaps really be dealt with by HeAP improvements.

@MichaelBell
Copy link
Author

SA does seem to help a little, this is trying to meet timing for HDMI (and failing, but only fractionally with a good seed).

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