The AXI slave VIP has a simple memory mode. It is an associative array of
SystemVerilog as shown in the figure below. The write transaction can write to the
memory model and the read transaction can read data from the memory (also called front
door access to differ from the backdoor access APIs). These two features are implemented
in the AXI slave VIP and AXI pass-through VIP in runtime slave mode. At the same time,
the memory model has backdoor APIs for you to access memory directly, which are
backdoor_memory_write writes data to memory and
backdoor_memory_read reads data from memory. For usage of memory model
APIs, see the AXI VIP API Documentation.
readmemh. Use the
backdoor_memory_writeto write all of the file information into the memory. Reset has no effect on memory content.