perlindgren / syncrim

Apache License 2.0
18 stars 5 forks source link

Fixed order of reset and evaluation in simulator reset function #83

Closed Spooky-Firefox closed 3 months ago

Spooky-Firefox commented 3 months ago

This fixes a problem with the order of operations in simulator reset.

The problem is that the the components are evaluated before reset is called, which means they still have their old internal state. This fixes this by calling reset before the components are evaluated.