1.1.3 SmartDebug Flow

SmartDebug debugs the design with respect to signal integrity related issues if the design is not working as expected. For more information on SmartDebug, see SmartDebug User Guide for PolarFire FPGAs.

For Tx, SmartDebug is used to change the settings such as amplitude, de-emphasis and driver termination settings live on the hardware. The following are the ways to debug the hardware:

  • Using existing design which sends data

  • Using in-built PRBS generator from SmartDebug

Important: Only Tx settings are discussed in this section, however, for successful debug, both Tx and Rx need to be tuned. For Rx setting, see Receiver.

The following steps describe the debugging of the design with respect to Tx:

  1. Program the bit file (.stp) to the device.

  2. Open the corresponding Libero SoC Project option.

  3. To generate array data, on the Libero SoC Software, double-click the Generate SmartDebug FPGA Array Data option. Once the array data is generated, a green tick mark appears.

    Figure 1-4. SmartDebug FPGA Array Data
  4. From the Libero SoC Design Flow, open the SmartDebug Design option.
    Important: The hardware must be connected with FlashPro programmer and turned on. If the SmartDebug is opened without turning on the hardware, it opens up in Demo mode.
  5. Connect the hardware using FlashPro programmer and open the SmartDebug Design from the Libero SoC Design Flow. The SmartDebug window opens.

    Figure 1-5.  SmartDebug Design
  6. Click Debug Transceiver menu.
  7. Go to Smart BERT tab and select the required lane to assign the pattern and transmitter attributes as shown in the following figure.

    Figure 1-6.  Smart Bert
  8. Select any data pattern or the existing design sends the data pattern.

  9. From the drop down menu, select the Tx Emphasis amplitude option. Selected option sets the device registers to provide the desired de-emphasis for the particular signal amplitude. Tx impedance is also decided based on the signal amplitude.
  10. Click Apply for new settings on the device.

  11. The inbuilt PRBS generator option sends out the data pattern. To enable PRBS generator, on the Smart Bert window, select appropriate PRBS pattern and click Start.

Figure 1-7.  Tx Emphasis Amplitude