Documentation

Sparkle.Core.SimPureLean

Pure-Lean simulator state: a closure over the signal and a mutable cycle counter. t is the next cycle to read.

  • Cycle to evaluate on the next read.

  • evalAt : Natα

    Closure that, given a cycle index, returns the signal value.

Instances For

    Construct a pure-Lean simulator from a Signal value. The returned simulator is positioned at cycle 0 — call Sim.reset before reading if you've already stepped through it.

    Equations
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.