rohd
rohd copied to clipboard
Long combinational chains of logic can reach stack size limit during simulation
Describe the bug
The long chain of Logic.put
for a very long combinational logic chain can reach the stack size limit leading to a stack overflow.
To Reproduce
This example hit the issue: https://github.com/stevenmburns/rohd_sklansky/pull/6
Expected behavior
Simulation gracefully handles very large designs
Actual behavior
Stack Overflow
Additional: Dart SDK info
No response
Additional: pubspec.yaml
Reproduced on v0.4.0, Dart v2.18.4
Additional: Context
No response