Skip to main content

scale_pass

Function scale_pass 

Source
pub fn scale_pass(
    netlist: &AnalogNetlist,
    ranges: &[AssumedRange],
    target: &AnalogTarget,
) -> Result<(GainSchedule, RangeCertificate), AnaLowerError>
Expand description

Run the gain-scaling pass: propagate declared ranges, choose the block scale, gate realizable ratios, and emit the schedule + certificate. ranges is one AssumedRange per plane input, in input order (the caller resolves parameter names to input indices).