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

nextpnr-gowin GUI crashes at startup #1145

Open
meiniKi opened this issue Apr 25, 2023 · 3 comments
Open

nextpnr-gowin GUI crashes at startup #1145

meiniKi opened this issue Apr 25, 2023 · 3 comments

Comments

@meiniKi
Copy link
Contributor

meiniKi commented Apr 25, 2023

I'm trying to use the nextpnr-gowin GUI to check the placement of my design, as --placed-svg is an open feature request (yosysHQ/apicula#130).

Unfortunately, nextpnr-gowin crashes at startup when passed the --gui argument.

Info: Series:GW1N-9 Device:GW1NR-9 Package:QFN88P Speed:C6/I5
terminate called after throwing an instance of 'std::out_of_range'
  what():  dict::at()
[1]    53875 IOT instruction (core dumped)  nextpnr-gowin --device GW1NR-LV9QN88PC6/I5 --gui

Version "nextpnr-gowin" -- Next Generation Place and Route (Version nextpnr-0.5-110-g051bdb12);
Used cmake options cmake . -DARCH=gowin -DBUILD_GUI=ON -DGOWIN_BBA_EXECUTABLE=/home/user/.local/bin/gowin_bba

I'd appreciate any help. Thanks.

@rfuest
Copy link

rfuest commented Apr 28, 2023

I did encounter the same problem. As a temporary fix I did just add a condition to skip the out of range IDs: rfuest@e4c09a1

@calperxd
Copy link

calperxd commented Aug 9, 2023

Hi @rfuest worked fine when changed the line.

@sfmth
Copy link

sfmth commented Feb 27, 2024

same here:
[nix-shell:~]# nextpnr-gowin --gui --device GW1NR-LV9QN88PC6/I5 --family GW1N-9C
Info: Series:GW1N-9C Device:GW1NR-9C Package:QFN88P Speed:C6/I5
terminate called after throwing an instance of 'std::out_of_range'
what(): dict::at()
Aborted

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

4 participants