Gather routing assembly #
This module turns a grouped scheduler output and a complete resource bank into the fixed metadata-bearing record layout consumed by canonical gather routing. Record assembly is zero-cost wiring; the routing network returns resource values to incidence order.
Gather inputs #
Scheduler output followed by the complete resource-bank output.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Embed one scheduler bit in the gather-assembly input.
Equations
- Algebraic.MassProduction.RoutingAssembly.gatherScheduleInputIndex index = Fin.castAdd (Algebraic.MassProduction.ResourceEvaluation.resourceBitCount dimension width * groups) index
Instances For
Embed one resource-bank output bit in the gather-assembly input.
Equations
- Algebraic.MassProduction.RoutingAssembly.gatherBankInputIndex index = Fin.natAdd (Algebraic.MassProduction.RoutingAssembly.scheduleBitCount groups requestsPerGroup dimension width) index
Instances For
Scheduler view of a gather-assembly input.
Equations
Instances For
Resource-bank view of a gather-assembly input.
Equations
Instances For
Zero-cost record assembly #
Every full resource-source key is a construction-time constant.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The resource value attached to a full-key source is selected directly
from the corresponding resource-bank output. Invalid group encodings use
the same fixed group-zero convention as resourceValuesFromBank.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A gather destination uses the same scheduled matching key as the corresponding scatter source.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Destination ordering metadata is constant and its unused value field is initialized to zero.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Gather padding uses a reserved metadata marker and a zero value.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Pure wiring specification for the gather-routing input array.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Gather record assembly uses only wire selection and constants.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The exact gate count of gatherAssemblyCircuit.
Routed gather #
Complete metadata-preserving gather routing, including zero-cost record assembly.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The exact gate count of gatherRoutingCircuit.