9.4 Design and Memory Initialization

The Configure Design Initialization Data and Memories option generates the LSRAM initialization client and adds it to sNVM, µPROM, or an external SPI Flash, based on the type of nonvolatile memory selected. In this demo, the LSRAM initialization client is stored in the sNVM.

This process requires the user application executable file (hex file) to initialize the LSRAM blocks on device power-up. The hex file (CPRI_config.hex) is available in the DesignFiles_Directory\mpf_an4949_v2022p3_df\Libero_Project folder. When the hex file is imported, a memory initialization client is generated for LSRAM blocks.

To initialize the memory, perform the following steps:
  1. On the Design Flow window, double-click Configure Design Initialization Data and Memories. The Design and Memory Initialization window opens.
    Figure 9-5. Design and Memory Initialization Window
  2. In the Fabric RAMs tab, select the LSRAM client from the list, and then click Edit.
    Figure 9-6. Fabric RAM
  3. In the Edit Fabric RAM Initialization Client dialog box, select the Content from file option, and locate the CPRI_config.hex file from DesignFiles_directory\mpf_an4949_v2022p3_df\Libero_Project folder, and then click OK.
    Figure 9-7. Edit Fabric RAM Initialization Client
  4. Click Apply.
    Figure 9-8. Design Initialization
  5. To generate design initialization data, click Generate Initialization Data on the Design Flow window. After successful generation of the Initialization data, a green tick mark appears next to Generate Initialization Data option. See Figure 9-8.