FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6316 Discussions

System-console cli mode do not load the device_initialization.tcl

Dominic2
Novice
79 Views

I have an agilex - 7 evalboard DK-SI-AGI027FC

I created a top level with 1 quad F-Tile and run the toolkit in the GUI and I am able to get the PRBS and the eye analysis working.

I copied the toolkit script from quartus install directory and run them in the GUI and it also work

#script for the system consol to run script for eye
source ../../script/ftile/device_initialization.tcl
source ../../script/ftile/fgt_nrz_ber_eye_test.tcl
source ../../script/ftile/unload_toolkit.tcl
 
These 3 scripts run fine from the TCL console in the system-console GUI.
My goal is to run them from the command line version of the system-console --cli 
from my compiled directory i want to run something like that:
path/to/quartus/24.3_pro/syscon/bin/system-console  --debug --cli --script=../../script/ftile/device_initialization.tcl --project_dir=.
 

I got tcl package error and the script crash at the end of the device_initialization.tcl

I ran it in debug mode:

FINE: Starting event queue: Toolkit Tcl Callbacks Intel F-Tile Transceiver Toolkit: ftile_transceiver_toolkit1741628077308 - path/to/quartus/24.3_pro/ip/altera/toolkits/ftile/ttk/tcl/intel_ftile_transceiver_toolkit.tcl
FINE: ### ftile_utility_pkg.tcl ###
FINE: ### ftile_utility_pkg.tcl ###
FINE: ### ftile_ip_plugin.tcl ###
FINE: ### ftile_driver_constants_pkg.tcl ###
error reading package index file path/to/quartus/24.3_pro/quartus/../syscon/legacy/lib/eli_lib/pkgIndex.tcl: Unable to source path/to/quartus/24.3_pro/quartus/../syscon/legacy/lib/eli_lib/pkgIndex.tcl. It must be located in either the local or library "packages" location
error reading package index file path/to/quartus/24.3_pro/quartus/../syscon/legacy/lib/pkgIndex.tcl: Unable to source path/to/quartus/24.3_pro/quartus/../syscon/legacy/lib/pkgIndex.tcl. It must be located in either the local or library "packages" location
FINE: ### ftile_pysv_driver_pkg.tcl ###
FINE: 1. platform is currently platform unix
FINE: 2. platform is currently 0

And then at the end of the execution i got this message:

 

############## Providing PySV Server with System Console Server Mode Port ###############
INFO: calling set_servermode_port function
Mar. 10, 2025 1:34:39 P.M. com.altera.systemconsole.scripting.TCLCommand execute2
SEVERE: marker_get_info: Error: The given path is not valid - /servers/syscon
SEVERE: An error occurred while running script "ftile_callback_pkg::init_callback
": Intel F-Tile Transceiver Toolkit: ftile_transceiver_toolkit1741628077308: marker_get_info: Error: The given path is not valid - /servers/syscon
while executing
"marker_get_info /servers/syscon"
(procedure "pysv_driver::start" line 51)
invoked from within
"pysv_driver::start"
(procedure "ftile_callback_pkg::init_callback" line 20)
invoked from within
"ftile_callback_pkg::init_callback"

 

Any advise?

Thanks

Labels (1)
0 Kudos
0 Replies
Reply