pub struct LinearDelayCalculator {
pub delay_per_unit: f64,
pub capacitance_per_unit: f64,
}Expand description
Linear delay model: delay proportional to wire length.
Fields§
§delay_per_unit: f64§capacitance_per_unit: f64Implementations§
Trait Implementations§
Source§impl DelayCalculator for LinearDelayCalculator
impl DelayCalculator for LinearDelayCalculator
fn calculate_wire_delay(&self, length: i32, _load_capacitance: f64) -> f64
fn calculate_wire_delay_per_unit(&self, _load_capacitance: f64) -> f64
fn calculate_wire_capacitance(&self, length: i32) -> f64
fn calculate_tapping_point( &self, node_left: &mut TreeNode, node_right: &mut TreeNode, distance: i32, ) -> (i32, f64)
Auto Trait Implementations§
impl Freeze for LinearDelayCalculator
impl RefUnwindSafe for LinearDelayCalculator
impl Send for LinearDelayCalculator
impl Sync for LinearDelayCalculator
impl Unpin for LinearDelayCalculator
impl UnsafeUnpin for LinearDelayCalculator
impl UnwindSafe for LinearDelayCalculator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more