Structs§
- Sram
Program Info - Information about the loaded SRAM program
- Sram
Program Params - Command-line parameters.
Enums§
- Execution
Error - Detail of execution error of a SRAM program.
- Execution
Mode - Execution mode for a SRAM program.
- Execution
Result - Result of execution of a SRAM program.
- Load
Sram Program Error - Errors related to loading an SRAM program.
- Sram
Program File - Describe a file to load to SRAM.
Functions§
- execute_
sram_ program - Execute an already loaded SRAM program. It takes care of setting up the ePMP.
- load_
and_ execute_ sram_ program - Loads and execute a SRAM program. It takes care of setting up the ePMP.
- load_
elf_ sram_ program - Load a program into SRAM using JTAG (ELF files).
- load_
sram_ program - Load a program into SRAM using JTAG. Returns the address of the entry point.
- load_
vmem_ sram_ program - Load a program into SRAM using JTAG (VMEM files).
- prepare_
epmp - Set up the ePMP to enable read/write/execute from SRAM and read/write access to the full MMIO region. Specifically, this function will:
- prepare_
sram_ ctrl - Set up the sram_ctrl to execute code.