pub struct Ddr4Timing {}Expand description
A channel clocked: every rule in whole memory clocks.
Fields§
§grade: Ddr4Grade§rl: u64§wl: u64§trcd: u64§trp: u64§tras: u64§trc: u64§trrd_s: u64§trrd_l: u64§tfaw: u64§tccd_s: u64§tccd_l: u64§twr: u64§twtr_s: u64§twtr_l: u64§trtp: u64§trfc: u64§trefi: u64Implementations§
Source§impl Ddr4Timing
impl Ddr4Timing
pub fn banks(&self) -> u32
Sourcepub fn lines(&self) -> u64
pub fn lines(&self) -> u64
Lines (bursts) the channel addresses: every bank’s rows’ columns in bursts of eight.
Sourcepub fn burst_bits(&self) -> u64
pub fn burst_bits(&self) -> u64
Bits a burst moves: eight transfers of the channel’s width.
Sourcepub fn write_to_read(&self, same_group: bool) -> u64
pub fn write_to_read(&self, same_group: bool) -> u64
WRITE to READ: WL + BL/2 + tWTR_L within a bank group, tWTR_S across.
Sourcepub fn read_to_write(&self) -> u64
pub fn read_to_write(&self) -> u64
READ to WRITE, any bank: RL + BL/2 − WL + 2.
Sourcepub fn write_to_precharge(&self) -> u64
pub fn write_to_precharge(&self) -> u64
WRITE to PRECHARGE, one bank: WL + BL/2 + tWR.
Sourcepub fn controller_ck(&self, mem_ck: u64) -> u64
pub fn controller_ck(&self, mem_ck: u64) -> u64
Controller clocks mem_ck memory clocks take, rounded up.
Sourcepub fn peak_bytes_per_s(&self, line_bytes: u64) -> f64
pub fn peak_bytes_per_s(&self, line_bytes: u64) -> f64
Bytes per second the data bus carries at full use, line_bytes of every burst being data.
Trait Implementations§
Source§impl Clone for Ddr4Timing
impl Clone for Ddr4Timing
Source§fn clone(&self) -> Ddr4Timing
fn clone(&self) -> Ddr4Timing
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Ddr4Timing
impl Debug for Ddr4Timing
Source§impl PartialEq for Ddr4Timing
impl PartialEq for Ddr4Timing
Source§impl Serialize for Ddr4Timing
impl Serialize for Ddr4Timing
impl Copy for Ddr4Timing
impl Eq for Ddr4Timing
impl StructuralPartialEq for Ddr4Timing
Auto Trait Implementations§
impl Freeze for Ddr4Timing
impl RefUnwindSafe for Ddr4Timing
impl Send for Ddr4Timing
impl Sync for Ddr4Timing
impl Unpin for Ddr4Timing
impl UnsafeUnpin for Ddr4Timing
impl UnwindSafe for Ddr4Timing
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.