APIs | Inputs | Outputs |
---|---|---|
peek_mem_to_file
This reads from the OCM and prints to a file. For example: |
[1023:0] file_name: File name (max. 128 characters; Read data is written to this file). [43:0] start_addr: Start Address to read the data from. [31:0] no_of_bytes: Number of data bytes to be read. |
None |
write_mem
Back door write to the OCM memory. Based on the address specified, the data is written to OCM. Address must be 32-bit aligned. For example: |
[8191:0] data: Write data to be written to
memory. [43:0] start_addr: Start Address to write the data from. [15:0] no_of_bytes: Number of data bytes to be write (max. 128 bytes). |
None |
read_mem
Back door read from the OCM memory. Based on the address specified, the data is read from OCM. For example:
|
[43:0] start_addr: Start Address to read the
data from. [15:0] no_of_bytes: Number of data bytes to be read. |
[8191:0] data: read data from memory. |