Documentation

Sparkle.IR.ZeroWidth

Total width mirror (matches Sparkle.IR.Semantics.widthOf's rules; only used to detect width-0 concat elements).

Equations
Instances For

    Drop width-0 concat elements (they contribute no bits); collapse a resulting singleton concat to its element.

    Equations
    Instances For

      Drop assignments to width-0 wires (their value is unobservable and they no longer appear anywhere after dzExpr); clean every other statement's expressions.

      Equations
      Instances For

        A module with any SYMBOLIC-width port/wire (W, W+1, …) is left untouched: buildWidthMap/bitWidth panic on non-concrete dims, and the zero-width pack tails this pass removes only ever occur in fully concrete circuit do designs anyway (the Unit/PUnit HList terminator). bitWidth? is the total, panic-free probe.

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