GTS Dynamic Reconfiguration Controller IP User Guide: Agilex™ 5 FPGAs and SoCs

ID 849710
Date 10/22/2025
Public
Document Table of Contents

10.4.1. Running the Hardware Test

Follow these steps to test the hardware design example on the System Console:

  • Open Tools ➤ System Debugging Tools ➤ System Console or type the command:

    system-console &

  • In the TCL Console window, type cd hwtest to change the directory to

    <design_example_dir>/hardware_test_design/hwtest.

  • Type source main_script.tcl to open a connection to the JTAG master and start the test.
  • Verify that the output of the TCL script matches the output from a sample test run, shown below.
  • Analyze the results. A successful run displays Test Passed in the System Console.
Figure 40. TCL Console
% source main_script.tcl
JTAG Port ID       = 0
Power Up Variant   = 1GE_TSE

Start of DR test: 10/02/2025 12:03:18
Set JTAG Master Service Path

Warning: JTAG Master not found

Opened JTAG Master Service
Release DR controller reset
Wait for DR Ready....
Internal Serial Loopback not enabled.
Run test on startup profile (1GE_TSE):
BASE_ADDR=0x20000  TSE_PHY_BASE_ADDR is 131584
	 			Command Config  	 	 = 0x00000000
	 			Command Config  	 	 = 0x0000003b
	Run traffic test...
Startup test passed!
Assert tx/rx reset
Wait reset ack (assert) -----
Reset acknowledged
Setup DR reconfiguration: 1GE_TSE -> 10GE_nofec
Configuring DR Profile 10GE_nofec....
dr_ctrl_next_id_0_reg  0x80020001
Trigger DR interrupt
Wait for DR interrupt Ack....
DR Request acknowledged
Wait for DR reconfig to be done....
DR reconfig done, check for error
Deassert tx/rx reset
Wait reset ack (deassert) -----
Reset acknowledged
Run traffic test (10GE_nofec):
 RX PHY Register Access: Checking Clock Frequencies (KHz) 

      TXCLK 		:161140  (KHZ) 
      RXCLK 		:161140  (KHZ) 
Setting MR Soft CSR regster bit
	Run traffic test...
Assert tx/rx reset
Wait reset ack (assert) -----
Reset acknowledged
Setup DR reconfiguration: 10GE_nofec -> 10GE_fec
Configuring DR Profile 10GE_fec....
dr_ctrl_next_id_0_reg  0x80030002
Trigger DR interrupt
Wait for DR interrupt Ack....
DR Request acknowledged
Wait for DR reconfig to be done....
DR reconfig done, check for error
Deassert tx/rx reset
Wait reset ack (deassert) -----
Reset acknowledged
Run traffic test (10GE_fec):
 RX PHY Register Access: Checking Clock Frequencies (KHz) 

      TXCLK 		:161130  (KHZ) 
      RXCLK 		:161140  (KHZ) 
Setting MR Soft CSR regster bit
	Run traffic test...
Assert tx/rx reset
Wait reset ack (assert) -----
Reset acknowledged
Setup DR reconfiguration: 10GE_fec -> 1GE_TSE
Configuring DR Profile 1GE_TSE....
dr_ctrl_next_id_0_reg  0x80010003
Trigger DR interrupt
Wait for DR interrupt Ack....
DR Request acknowledged
Wait for DR reconfig to be done....
DR reconfig done, check for error
Deassert tx/rx reset
Wait reset ack (deassert) -----
Reset acknowledged
Run traffic test (1GE_TSE):
BASE_ADDR=0x20000  TSE_PHY_BASE_ADDR is 131584
	 			Command Config  	 	 = 0x0000003b
	 			Command Config  	 	 = 0x0000003b
	Run traffic test...
Test passed!
Closed JTAG Master Service
End of dr_test: 10/02/2025 12:04:02

DR Test Passed