Long combinational chains of logic can reach stack size limit during simulation
Open
bug
- Dominant language
- Dart
- Stars
- 489
- Forks
- 88
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 10
Description
### 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
```yaml
Reproduced on v0.4.0, Dart v2.18.4
```
### Additional: Context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.