Test Engine FPGA IP User Guide: Agilex™ 3, Agilex™ 5, and Agilex™ 7 FPGAs
5.4. System Console library
Interact with Test Engine IP on hardware.
Contents
This library provides System Console functions to interact with Test Engine IP on hardware over a JTAG connection.
Getting Started
Setup
-
Ensure the Test Engine IP's "Configuration interface" parameter is set to "Remote access via JTAG"
Design Examples set this value by default
Ensure the design is programmed on the board
Usage in command line
system-console --script=testengine_library.tcl --sof=ed_synth.sof --update=1 --n-loops=4
Reset Test Engine
Reprogram the compiled traffic program
Run traffic
Print status after traffic completes
Repeat the above steps in a loop
Usage in interactive console
Open System Console from the Quartus(R) Prime software by clicking Tools → System Debugging Tools → System Console
-
Load the SOF file into System Console
Via GUI: Click File → Load Design → <.sof filename>
-
Via Console:
design_load <.sof filename>
-
Load the library by entering the following command in System Console:
source <path to library>/testengine_library.tcl
The library will automatically discover and claim Test Engine's JTAG node. You can access the claimed JTAG path via $claim_testengine_jamb_path. Invoke the functions provided by this library to interact with Test Engine
Disclaimers
This library is limited to designs with 64 or less Test Engine drivers.
This library does not support access to multiple Test Engine instances in the same design.