pub struct ElmoreDelayCalculator {
pub unit_resistance: f64,
pub unit_capacitance: f64,
}Expand description
Elmore delay model: considers wire resistance and capacitance.
Fields§
§unit_resistance: f64§unit_capacitance: f64Implementations§
Trait Implementations§
Source§impl DelayCalculator for ElmoreDelayCalculator
impl DelayCalculator for ElmoreDelayCalculator
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 ElmoreDelayCalculator
impl RefUnwindSafe for ElmoreDelayCalculator
impl Send for ElmoreDelayCalculator
impl Sync for ElmoreDelayCalculator
impl Unpin for ElmoreDelayCalculator
impl UnsafeUnpin for ElmoreDelayCalculator
impl UnwindSafe for ElmoreDelayCalculator
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