pub enum MemoryType {
Ilm,
Dlm,
AxiSram0,
AxiSram1,
AhbSram,
ApbSram,
Xpi0,
Xpi1,
}
Expand description
Memory partitions.
in the final program. Note that the RuntimeBuilder
only does limited
checks on memory placements. Generally, it’s OK to place data in ILM,
and instructions in DLM; however, this isn’t recommended for optimal
performance.
Variants§
Ilm
Place the section in instruction local memory (ILM).
Dlm
Place the section in data local memory (DLM).
AxiSram0
Place the section in AXI SRAM 0
AxiSram1
Place the section in AXI SRAM 1
AhbSram
Place the section in AHB SRAM
ApbSram
Place the section in APB SRAM
Xpi0
Place the section in external flash and access via XPI0 bus.
Xpi1
Place the section in external flash and access via XPI1 bus.
Trait Implementations§
Source§impl Clone for MemoryType
impl Clone for MemoryType
Source§fn clone(&self) -> MemoryType
fn clone(&self) -> MemoryType
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 MemoryType
impl Debug for MemoryType
Source§impl Display for MemoryType
impl Display for MemoryType
Source§impl From<Instance> for MemoryType
impl From<Instance> for MemoryType
impl Copy for MemoryType
Auto Trait Implementations§
impl Freeze for MemoryType
impl RefUnwindSafe for MemoryType
impl Send for MemoryType
impl Sync for MemoryType
impl Unpin for MemoryType
impl UnwindSafe for MemoryType
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