pub enum PsramUnplaceable {
SclkTooFast {
sclk_ps: u64,
min_ps: u32,
},
ReadWindowTooShort {
half_ps: u64,
t_aclk_ps: u32,
},
ZeroDivider,
NotWords {
elem_bytes: u64,
stride_bytes: u64,
base: u64,
},
CacheShape {
index_bits: u32,
offset_bits: u32,
},
CacheWiderThanAddress {
index_bits: u32,
offset_bits: u32,
addr_bits: u32,
},
LineBurst {
line_words: u32,
max_words: u32,
},
SlowestFasterThanFastest {
slowest_ps: u32,
fastest_ps: u32,
},
NoBurstAtSlowestClock {
slowest_ps: u32,
},
}Expand description
Why an edge or a plan cannot be built for a part.
Variants§
SclkTooFast
The SCLK the system clock divides down to is faster than the part’s tCLK.
ReadWindowTooShort
Read data is taken at the rising edge half a period after the part drives it at the falling edge, so half a period must cover tACLK.
ZeroDivider
A zero half-period divider.
NotWords
Only 8-byte words are planned; a stream of any other shape is refused.
CacheShape
A cache needs at least two lines to have an index and two words a line to have an offset.
CacheWiderThanAddress
Index and offset must leave at least one tag bit of the edge’s word address.
LineBurst
A line is filled and written back as one burst, so it must be a burst the part can take.
SlowestFasterThanFastest
The slowest clock is faster than the clock the edge is timed for.
NoBurstAtSlowestClock
At the slowest clock not even a one-word burst ends inside tCEM.
Trait Implementations§
Source§impl Clone for PsramUnplaceable
impl Clone for PsramUnplaceable
Source§fn clone(&self) -> PsramUnplaceable
fn clone(&self) -> PsramUnplaceable
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 PsramUnplaceable
impl Debug for PsramUnplaceable
Source§impl PartialEq for PsramUnplaceable
impl PartialEq for PsramUnplaceable
impl Eq for PsramUnplaceable
impl StructuralPartialEq for PsramUnplaceable
Auto Trait Implementations§
impl Freeze for PsramUnplaceable
impl RefUnwindSafe for PsramUnplaceable
impl Send for PsramUnplaceable
impl Sync for PsramUnplaceable
impl Unpin for PsramUnplaceable
impl UnsafeUnpin for PsramUnplaceable
impl UnwindSafe for PsramUnplaceable
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.