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-himbaechel core dumps on simple gowin example design #1454

Open
philtomson opened this issue Feb 12, 2025 · 2 comments
Open

nextpnr-himbaechel core dumps on simple gowin example design #1454

philtomson opened this issue Feb 12, 2025 · 2 comments

Comments

@philtomson
Copy link

I was told on IRC that nextpnr-gowin in deprecated and to use nextpnr-himbaechel. I ran the following commandline:

$ nextpnr-himbaechel --json counter.json --write counter_pnr.json --freq 27 --device GW1NR-LV9QN88PC6/I5 --vopt family=GW1N-9C --vopt cst=tangnano9k.cst

With this result:
Info: Using uarch 'gowin' for device 'GW1NR-LV9QN88PC6/I5'
terminate called after throwing an instance of 'nextpnr_himbaechel::assertion_failure'
what(): Assertion failure: int(ctx->idstring_idx_to_str->size()) == idx (/work/_builds/linux-x64/nextpnr-himbaechel/nextpnr/common/kernel/idstring.cc:46)
Aborted (core dumped)

This was the nextpnr-himbaechel from the 2025_02_11 oss-cad-suite release build (today's). I happened to have an older version of oss-cad-suite (2024_2_16) and tried running the exact same command line and it works (does not core dump, successfully creates a counter_pnr.json file)

For the design files see: https://github.com/lushaylabs/tangnano9k-series-examples/tree/master/counter (counter.v tangnano9k.cst)

@whitequark
Copy link
Member

cc @yrabbit

@yrabbit
Copy link
Contributor

yrabbit commented Feb 12, 2025

Same thing? #1452

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

3 participants