pub struct LoadMemories {
pub target_clears: Vec<TargetClear>,
pub target_writes: Vec<TargetWrite>,
pub check_memory_hash: Vec<String>,
}Fields§
§target_clears: Vec<TargetClear>Memories to be cleared / zeroed. All clears apply before writes.
target_writes: Vec<TargetWrite>Memories to be written, mapping VMEM files to FPGA target memories.
check_memory_hash: Vec<String>Targets (matching a name given to --load-memory) for which the memory file’s hash is
checked against the target’s HASH_LAST_LOADED register before writing, skipping the
preload if it’s unchanged since the last time this target was written. Only targets
named here are checked; any other --load-memory target is always preloaded
unconditionally.
Implementations§
Source§impl LoadMemories
impl LoadMemories
pub fn init( &self, transport: &TransportWrapper, jtag_params: &JtagParams, ) -> Result<()>
Trait Implementations§
Source§impl Args for LoadMemories
impl Args for LoadMemories
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl Debug for LoadMemories
impl Debug for LoadMemories
Source§impl FromArgMatches for LoadMemories
impl FromArgMatches for LoadMemories
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for LoadMemories
impl RefUnwindSafe for LoadMemories
impl Send for LoadMemories
impl Sync for LoadMemories
impl Unpin for LoadMemories
impl UnwindSafe for LoadMemories
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