Trait Component

Source
pub trait Component {
    // Required methods
    fn area(&self) -> f64;
    fn dynamic_power(&self) -> f64;
    fn leakage_power(&self) -> f64;
}
Expand description

A component.

Required Methods§

Source

fn area(&self) -> f64

Return the area (m2).

Source

fn dynamic_power(&self) -> f64

Return the dynamic power (W).

Source

fn leakage_power(&self) -> f64

Return the leakage power (W).

Implementors§

Source§

impl<'l> Component for Cache<'l>

Source§

impl<'l> Component for Core<'l>