Skip to main content

classify_control_path

Function classify_control_path 

Source
pub fn classify_control_path(
    pedal: &PedalDef,
    control_pin_key: &str,
    upstream_pin_key: &str,
) -> Option<ClassifiedEdge>
Expand description

Classify the boundary along a passive PATH from out/a source node into a named control electrode, following the graph topology rather than a single component edge. This is the proof-diagnostic helper used to classify multi-hop boundaries such as LA-2A’s out -> ... -> V4.grid feedback tap or the V1.plate -> C_c1 -> Gain -> V2.grid makeup cascade: it resolves the control electrode’s node, derives its PortClass, and determines feedback vs forward by whether the control electrode is fed from the output side (see [control_sink_is_back_edge]).

control_pin_key is a "Comp.pin" net key (e.g. "V4.grid"); the upstream key may be a reserved net ("in", "out"). Returns None if a key resolves to no node.