F-Tile Dynamic Reconfiguration Design Example User Guide

ID 710582
Date 9/26/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

1.7. Testing the Hardware Design Example

After you compile the F-Tile dynamic reconfiguration design example and configure it on your Intel® Agilex™ device, you can use the System Console to program the IP core and its PHY IP core registers.

To start the System Console and test the hardware design example, follow these steps:

  1. After the hardware design example is configured on the Intel® Agilex™ device, in the Intel® Quartus® Prime Pro Edition software, click Tools > System Debugging Tools > System Console.
  2. In the Tcl Console pane, type cd hwtest to change directory to <design_example_dir>/hardware_test_design/hwtest.
  3. Type source main_script.tcl to open a connection to the JTAG master and start the test.
  4. Analyze the results. Successful run displays Test Passed in the System Console.
    Sample output for CPRI Multirate design:
    Info: Number of Channels = 1
    Info: JTAG Port ID       = 1
    Info: Power Up Variant   = 24G_RSFEC
    Info: Start of ftile_dr_cpri_test
    
    Info: Basic CPRI DR test
    
    	INFO: Checking PLL lock status...
    	iopll_sclk_locked 1
    	INFO: IOPLL sclk is locked
    	INFO: Set Reconfig Reset
    	INFO: Release Reconfig Reset
    Loop 0
    	INFO: Set RT Counter
    	INFO: Channel 0: Set TX Reset
    	INFO: Channel 0 : Checking tx reset ack n status...
    	INFO: TX fully in reset state 
    	INFO: Channel 0: Set RX Reset
    	INFO: Channel 0 : Checking rx reset ack n status...
    	INFO: RX fully in reset state 
    	Info: Channel: 0 Configuring ED to CPRI 10G ....
    	Info: Wait for DR Ready....
    	Info: Trigger DR interrupt
    	Info: Wait for DR interrupt Ack....
    		Info: DR Request acknowledged
    	Info: Wait for DR Config to be done....
    		Info: DONE Reconfigure to 10G.
    	INFO: Channel 0: Configuring cpri_speed
    	Info: Channel: 0 Loop: 0 De-asserting reset to CPRI 10G ....
    	INFO: Channel 0: Release TX Reset
    	Info: Check TX Ready Attempt: 1
    	INFO: Channel 0 : Checking TX ready status...
    		Info: tx_ready = 1
    	INFO: Channel 0: Release RX Reset
    	Info: Check RX Ready Attempt: 1
    	INFO: Channel 0 : Checking RX ready status...
    		Info: rx_ready = 1
    	INFO: Channel 0 : Checking RX PCS ready status...
    		Info: rx_pcs_ready  = 1
    	Info:Info: Channel: 0 Configuring DL ....
    	Info Channel: 0 sending packets in progress, waiting for checker pass ***
    	Info Channel: 0 waiting for measure_valid to assert...
    	INFO: Channel 0 : Checking hyperframe sync status...
    	INFO: hyperframe sync asserted
    	INFO: Channel 0 : Checking RT count done status...
    	INFO: RT count done asserted
    	Channel 0 : Read Determenistic latency counts
    	Channel 0 : Get checker_pass status:
    	Checker value = 1
    	Checker status = Passed!
    
    **
    *****************************************
    
    	INFO: Channel 0: Set TX Reset
    	INFO: Channel 0 : Checking tx reset ack n status...
    	INFO: TX fully in reset state 
    	INFO: Channel 0: Set RX Reset
    	INFO: Channel 0 : Checking rx reset ack n status...
    	INFO: RX fully in reset state 
    	Info: Channel: 0 Configuring ED to CPRI 9P8G ....
    	Info: Wait for DR Ready....
    	Info: Trigger DR interrupt
    	Info: Wait for DR interrupt Ack....
    		Info: DR Request acknowledged
    	Info: Wait for DR Config to be done....
    		Info: DONE Reconfigure to 9P8G.
    	INFO: Channel 0: Configuring cpri_speed
    	Info: Channel: 0 Loop: 0 De-asserting reset to CPRI 9P8G ....
    	INFO: Channel 0: Release TX Reset
    	Info: Check TX Ready Attempt: 1
    	INFO: Channel 0 : Checking TX ready status...
    		Info: tx_ready = 1
    	INFO: Channel 0: Release RX Reset
    	Info: Check RX Ready Attempt: 1
    	INFO: Channel 0 : Checking RX ready status...
    		Info: rx_ready = 1
    	Info:Info: Channel: 0 Configuring DL ....
    	Info Channel: 0 sending packets in progress, waiting for checker pass ***
    	Info Channel: 0 waiting for measure_valid to assert...
    	INFO: Channel 0 : Checking hyperframe sync status...
    	INFO: hyperframe sync asserted
    	INFO: Channel 0 : Checking RT count done status...
    	INFO: RT count done asserted
    	Channel 0 : Read Determenistic latency counts
    	Channel 0 : Get checker_pass status:
    	Checker value = 1
    	Checker status = Passed!
    
    **
    *****************************************
    
    	INFO: Channel 0: Set TX Reset
    	INFO: Channel 0 : Checking tx reset ack n status...
    	INFO: TX fully in reset state 
    	INFO: Channel 0: Set RX Reset
    	INFO: Channel 0 : Checking rx reset ack n status...
    	INFO: RX fully in reset state 
    	Info: Channel: 0 Configuring ED to CPRI 4P9G ....
    	Info: Wait for DR Ready....
    	Info: Trigger DR interrupt
    	Info: Wait for DR interrupt Ack....
    		Info: DR Request acknowledged
    	Info: Wait for DR Config to be done....
    		Info: DONE Reconfigure to 4P9G.
    	INFO: Channel 0: Configuring cpri_speed
    	Info: Channel: 0 Loop: 0 De-asserting reset to CPRI 4P9G ....
    	INFO: Channel 0: Release TX Reset
    	Info: Check TX Ready Attempt: 1
    	INFO: Channel 0 : Checking TX ready status...
    		Info: tx_ready = 1
    	INFO: Channel 0: Release RX Reset
    	Info: Check RX Ready Attempt: 1
    	INFO: Channel 0 : Checking RX ready status...
    		Info: rx_ready = 1
    	Info:Info: Channel: 0 Configuring DL ....
    	Info Channel: 0 sending packets in progress, waiting for checker pass ***
    	Info Channel: 0 waiting for measure_valid to assert...
    	INFO: Channel 0 : Checking hyperframe sync status...
    	INFO: hyperframe sync asserted
    	INFO: Channel 0 : Checking RT count done status...
    	INFO: RT count done asserted
    	Channel 0 : Read Determenistic latency counts
    	Channel 0 : Get checker_pass status:
    	Checker value = 1
    	Checker status = Passed!
    
    **
    *****************************************
    
    	INFO: Channel 0: Set TX Reset
    	INFO: Channel 0 : Checking tx reset ack n status...
    	INFO: TX fully in reset state 
    	INFO: Channel 0: Set RX Reset
    	INFO: Channel 0 : Checking rx reset ack n status...
    	INFO: RX fully in reset state 
    	Info: Channel: 0 Configuring ED to CPRI 2P4G ....
    	Info: Wait for DR Ready....
    	Info: Trigger DR interrupt
    	Info: Wait for DR interrupt Ack....
    		Info: DR Request acknowledged
    	Info: Wait for DR Config to be done....
    		Info: DONE Reconfigure to 2P4G.
    	INFO: Channel 0: Configuring cpri_speed
    	Info: Channel: 0 Loop: 0 De-asserting reset to CPRI 2P4G ....
    	INFO: Channel 0: Release TX Reset
    	Info: Check TX Ready Attempt: 1
    	INFO: Channel 0 : Checking TX ready status...
    		Info: tx_ready = 1
    	INFO: Channel 0: Release RX Reset
    	Info: Check RX Ready Attempt: 1
    	INFO: Channel 0 : Checking RX ready status...
    		Info: rx_ready = 1
    	Info:Info: Channel: 0 Configuring DL ....
    	Info Channel: 0 sending packets in progress, waiting for checker pass ***
    	Info Channel: 0 waiting for measure_valid to assert...
    	INFO: Channel 0 : Checking hyperframe sync status...
    	INFO: hyperframe sync asserted
    	INFO: Channel 0 : Checking RT count done status...
    	INFO: RT count done asserted
    	Channel 0 : Read Determenistic latency counts
    	Channel 0 : Get checker_pass status:
    	Checker value = 1
    	Checker status = Passed!
    
    **
    *****************************************
    
    	INFO: Channel 0: Set TX Reset
    	INFO: Channel 0 : Checking tx reset ack n status...
    	INFO: TX fully in reset state 
    	INFO: Channel 0: Set RX Reset
    	INFO: Channel 0 : Checking rx reset ack n status...
    	INFO: RX fully in reset state 
    	Info: Channel: 0 Configuring ED to CPRI 24G_RSFEC ....
    	Info: Wait for DR Ready....
    	Info: Trigger DR interrupt
    	Info: Wait for DR interrupt Ack....
    		Info: DR Request acknowledged
    	Info: Wait for DR Config to be done....
    		Info: DONE Reconfigure to 24G_RSFEC.
    	INFO: Channel 0: Configuring cpri_speed
    	Info: Channel: 0 Loop: 0 De-asserting reset to CPRI 24G_RSFEC ....
    	INFO: Channel 0: Release TX Reset
    	Info: Check TX Ready Attempt: 1
    	INFO: Channel 0 : Checking TX ready status...
    		Info: tx_ready = 1
    	INFO: Channel 0: Release RX Reset
    	Info: Check RX Ready Attempt: 1
    	INFO: Channel 0 : Checking RX ready status...
    		Info: rx_ready = 1
    	INFO: Channel 0 : Checking RX PCS ready status...
    		Info: rx_pcs_ready  = 1
    	Info:Info: Channel: 0 Configuring DL ....
    	Info:Info: Channel: 0 Programing RSFEC WA into DL counter ....
    	Info:Info: Channel: 0 Starting DL ....
    	Info Channel: 0 sending packets in progress, waiting for checker pass ***
    	Info Channel: 0 waiting for measure_valid to assert...
    	INFO: Channel 0 : Checking hyperframe sync status...
    	INFO: hyperframe sync asserted
    	INFO: Channel 0 : Checking RT count done status...
    	INFO: RT count done asserted
    	Channel 0 : Read Determenistic latency counts
    	Channel 0 : Get checker_pass status:
    	Checker value = 0
    	Checker status = Passed!
    
    **
    *****************************************
    
    Info: End of ftile_cpri_dr_test
    Info: Test <ftile_cpri_dr_test> Passed