pub struct Options {
pub executable: String,
pub rom_images: Vec<String>,
pub flash_images: Vec<String>,
pub ctn_ram_image: String,
pub otp_image: String,
pub extra_args: Vec<String>,
pub timeout: Duration,
}
Expand description
Verilator startup options.
Fields§
§executable: String
The verilator executable.
rom_images: Vec<String>
The ROM images used to boot the CPU. Format: “file[:slot]” where file is the image path and slot is an optional slot number (defaults to 0). Example: [“rom.bin”, “rom.bin:1”, “second_rom.bin:2”]
flash_images: Vec<String>
The flash images stored in internal flash memory. Format: “file[:slot]” where file is the image path and slot is an optional slot number (defaults to 0). Example: [“app.bin”, “app.bin:1”, “data.bin:2”]
ctn_ram_image: String
The image to load into CTN RAM.
otp_image: String
The OTP settings.
extra_args: Vec<String>
Any extra arguments to verilator.
timeout: Duration
Timeout for starting verilator.
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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