rohd icon indicating copy to clipboard operation
rohd copied to clipboard

Long combinational chains of logic can reach stack size limit during simulation

Open mkorbel1 opened this issue 1 year ago • 0 comments

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

mkorbel1 avatar Nov 08 '22 02:11 mkorbel1