4.2.2 Programming the Device Using Libero SoC

The PolarFire device is programmed using Libero® SoC. The Libero SoC project is completely built and run from Synthesis, Place and Route, Timing Verification, FPGA Array Data Generation, Design and Memory Initialization, Bitstream Generation, and FPGA Programming.

To program the PolarFire device, the Libero project must be opened in Libero SoC and the following steps must be re-run:

  • Design and Memory Initialization: In this step, the following options are selected:
    • Storage type (sNVM, µPROM, or SPI Flash) for the initialization client to initialize the designated fabric RAM block.
    • Generating the initialization client by selecting the user application file (.hex).
  • Bitstream Generation: In this step, the STAPL file is generated for the PolarFire device.
  • FPGA Programming: In this step, the PolarFire device is programmed using the STAPL file.

To program the PolarFire device using the Libero project, follow these steps:

  1. Launch Libero SoC.
  2. Open the Libero project which is generated using TCL Scripts by selecting the Libero_Project.prjx file from following location: <$Design_Files_Directory>\mpf_an5488_v2024p1_df\TCL_Scripts\Libero_Project
  3. Select the Design Initialization Data and Memories.
  4. Select the Logical RAM Instance.
  5. Select the Storage Type.
  6. Select the Import option to import user application file.
  7. Select the application file.
  8. Apply the configuration.
  9. Select the Generate Design Initialization Data option.

    The design initialization data is generated.

  10. Select the Generate Bitstream option to the generate bit stream for the PolarFire device.
  11. Select the Run PROGRAM Action to program the PolarFire device.

The PolarFire device is now programmed.