DeadLoop Bug in GSim SplitArray on Tilelink
Maintainers usually reply within 2 days
@Wolf-Tungsten is already working on this.
Since Apr 7, 2026.
Assessment
This issue has not been assessed yet.
Description
Hi:
While running GSim on SonicBoom V3 + Chipyard, we found a bug in graph::splitArray() function.
When s.size() == 0 && partialVisited.size() != 0, what is left in partialVisited is not necessarily array components. It could also be another case shown in the diagram below:
In this case, d.ready will never be fully visited, so do d.opcode. This will cause malfunction in the following splitArray functionality.
An testing FIR is attached here in google drive
One need to slightly modifiy the chipyard config to be compatible with GSIM. If you need the detail let me know.
The GSIM cmd I am using: ./gsim/build/gsim/gsim --supernode-max-size=15 --cpp-max-size-KB=8192 --sep-mod=. --sep-aggr=. --dir ./gsim_test_output ./SimTopBoomV3.fir
Thank you
Jerry
- Dominant language
- C++
- Stars
- 93
- Forks
- 16
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 11
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenXiangShan/gsim
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
OpenXiangShan/gsim#169 ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
OpenXiangShan/gsim#168 ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
OpenXiangShan/gsim#158 ·
Maintainers usually reply within 2 days
-
Single port SRAM read -> write path causes a getSplitArray assertion failurePossibly taken @ngc7331 claimed this 30 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
OpenXiangShan/gsim#145 ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
OpenXiangShan/gsim#120 · 2 comments ·
Maintainers usually reply within 2 days
All issues in OpenXiangShan/gsim
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/DirectXShaderCompiler#9173 ·
Maintainers usually reply within 2 days
-
feature:config kind:docs os:windows toolchain:cmake triaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
arch-based bug niri
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
noctalia-dev/noctalia#5552 ·
Maintainers usually reply within 1 day