Skip to main content

resolve_synth_strategy

Function resolve_synth_strategy 

Source
pub fn resolve_synth_strategy(
    name: &str,
    asked: Option<Option<SynthStrategy>>,
) -> Result<Option<SynthStrategy>, String>
Expand description

The strategy name is synthesized under, given the one asked for (None: none asked; Some(None): OpenLane’s default). A registered block takes its registered strategy and refuses any other; an unregistered block takes what was asked.