You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sv_parser might not be the culprit here. I kept getting this error for the majority of the verilog designs I was trying to use.
Even some of the passing examples from the sv-test suite were failing with the same message.
I tried switching from Windows to Linux (WSL - Ubuntu 22.04) and all of my problems went away.
The problem is that expression may recursively call itself due to the SystemVerilog LRM. Therefore, the used stack size will be constantly increased when the source code uses nested expressions such as a lot of binary operations in a statement. The solution is replacing the expression with iteration-based implementation. However, it may change the look of the LRM.
Activity
mlr11 commentedon May 27, 2024
sv_parser might not be the culprit here. I kept getting this error for the majority of the verilog designs I was trying to use.
Even some of the passing examples from the sv-test suite were failing with the same message.
I tried switching from Windows to Linux (WSL - Ubuntu 22.04) and all of my problems went away.
yousifBilal commentedon Aug 14, 2024
I also ran into stack overflows on some designs
henry-hsieh commentedon Jan 27, 2026
The problem is that
expressionmay recursively call itself due to the SystemVerilog LRM. Therefore, the used stack size will be constantly increased when the source code uses nested expressions such as a lot of binary operations in a statement. The solution is replacing the expression with iteration-based implementation. However, it may change the look of the LRM.