Trait libreda_sta::traits::cell_load_model::CellLoadModel
source · pub trait CellLoadModel<N: NetlistIds>: TimingBase + LoadBase + CellModel<N> {
// Required methods
fn input_pin_load(
&self,
input_pin: &N::PinId,
other_inputs: &impl Fn(&N::PinId) -> Option<Self::LogicValue>
) -> Self::Load;
fn zero(&self) -> Self::Load;
}Expand description
Abstraction of electrical loads created by input pins.
Required Methods§
sourcefn input_pin_load(
&self,
input_pin: &N::PinId,
other_inputs: &impl Fn(&N::PinId) -> Option<Self::LogicValue>
) -> Self::Load
fn input_pin_load( &self, input_pin: &N::PinId, other_inputs: &impl Fn(&N::PinId) -> Option<Self::LogicValue> ) -> Self::Load
Get the load created by a pin, typically its capacitance.
Object Safety§
This trait is not object safe.