F-Tile Dynamic Reconfiguration Design Example User Guide

ID 710582
Date 11/04/2024
Public
Document Table of Contents

1.7. Testing the Hardware Design Example

The F-Tile Dyamic Recofiguatio Desig Example us the exteal loopback test by default with the loopback_mode paamete set to 0. Befoe pefomig ay hadwae test, attach the QSFP-DD loopback module accodig to the QSF piout assigmets of the espective desig example. To pefom a iteal loopback test i hadwae, modify the loopback_mode paamete to 1 i the paamete.tcl file located i <desig_example_di>/hadwae_test_desig/hwtest/sc. Afte you compile the F-Tile dyamic ecofiguatio desig example ad cofigue it o you Agilex™ 7 device, you ca use the System Cosole to pogam the IP coe ad its PHY IP coe egistes.

The hadwae desig example executes the dyamic ecofiguatio tasitio pocess based o you selectios as stated i <desig_example_di>/hadwae_test_desig/hwtest/sc/paamete.tcl file ad checks the DUT IP status. The dyamic ecofiguatio tasitio sequece is set by default. Howeve, you ca always chage it by modifyig the DR_TRANSITION aay vaiable i thepaamete.tcl file to chage the tasitio sequece.

DR_TRANSITION: Iteded dyamic ecofiguatio sequece aay. The size of this aay vaiable detemies the umbe of dyamic ecofiguatios to be pefomed.

To stat the System Cosole ad test the hadwae desig example, follow these steps:

  1. Afte the hadwae desig example is cofigued o the Agilex™ 7 device, i the Quatus® Pime Po Editio softwae, click Tools > System Debuggig Tools > System Cosole.
  2. I the Tcl Cosole pae, type cd hwtest to chage diectoy to <desig_example_di>/hadwae_test_desig/hwtest.
  3. Type souce mai_scipt.tcl to ope a coectio to the JTAG maste ad stat the test.
  4. Aalyze the esults. Successful u displays Test Passed i the System Cosole.
    Note: If iteal seial loopback (ILB) is eabled fo the cuet pofile, you eed to disable it usig the FGT attibute access method befoe pefomig dyamic ecofiguatio to the ext taget pofile. If you do ot follow this, you might obseve that the Quatus Had IP pefoms abomally afte dyamic ecofiguatio.

    The ifomatio i this sectio fo testig the desig example i hadwae applies to the followig dyamic ecofiguatio desig example: