UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
171 Views
Registered: ‎10-12-2018

No SIO link after re-opening a device from TCL

Hi,

Intro: I try to improove IBERT functionalities, using multiple devices, and improve optimum finder, using Vivado TCL commands.

First I create links with create_hw_sio_link command then I close and reopen the target with close_hw_target and open_hw_target. (I have copied all TCL commands from Tcl Console of the Vivado GUI)

If I run (source) my TCL script in Tcl Console of Vivado's GUI, everithing is working properly: The links visible after reopening.

If I run (source) my TCL script in Vivado's Tcl shell (vivado.bat -mode tcl) The SIO links are not visible anymore. Here is the console log of this (TCL mode) run:

 

Vivado% source linksErr.tcl
# puts "Opening hardware manager"
Opening hardware manager
# open_hw
# puts "Connect to hardware server"
Connect to hardware server
# connect_hw_server -quiet
# open_hw_target {localhost:3121/xilinx_tcf/Digilent/210203A2513BA}
INFO: [Labtoolstcl 44-466] Opening hw_target localhost:3121/xilinx_tcf/Digilent/210203A2513BA
# current_hw_device [get_hw_devices xc7vx485t_0]
# refresh_hw_device -update_hw_probes false [lindex [get_hw_devices xc7vx485t_0] 0]
INFO: [Labtools 27-2302] Device xc7vx485t (JTAG device index = 0) is programmed with a design that has 1 IBERT core(s).
# set xil_newLink [create_hw_sio_link -description {Link 4} [lindex [get_hw_sio_txs localhost:3121/xilinx_tcf/Digilent/210203A2513BA/0_1_0/IBERT/Quad_113/MGT_X1Y1/TX] 0] [lindex [get_hw_sio_rxs localhost:3121/xilinx_tcf/Digilent/210203A2513BA/0_1_0/IBERT/Quad_113/MGT_X1Y1/RX] 0] ]
# puts [get_hw_sio_links]
localhost:3121/xilinx_tcf/Digilent/210203A2513BA/0_1_0/IBERT/Quad_113/MGT_X1Y1/TX->localhost:3121/xilinx_tcf/Digilent/210203A2513BA/0_1_0/IBERT/Quad_113/MGT_X1Y1/RX
# close_hw_target {localhost:3121/xilinx_tcf/Digilent/210203A2513BA}
INFO: [Labtoolstcl 44-464] Closing hw_target localhost:3121/xilinx_tcf/Digilent/210203A2513BA
close_hw_target: Time (s): cpu = 00:00:00 ; elapsed = 00:00:10 . Memory (MB): peak = 1035.172 ; gain = 0.000
# open_hw_target {localhost:3121/xilinx_tcf/Digilent/210203A2513BA}
INFO: [Labtoolstcl 44-466] Opening hw_target localhost:3121/xilinx_tcf/Digilent/210203A2513BA
# current_hw_device [get_hw_devices xc7vx485t_0]
# refresh_hw_device -update_hw_probes false [lindex [get_hw_devices xc7vx485t_0] 0]
INFO: [Labtools 27-2302] Device xc7vx485t (JTAG device index = 0) is programmed with a design that has 1 IBERT core(s).
WARNING: [Labtoolstcl 44-158] No matching hw_sio_links were found.
# puts [get_hw_sio_links]

I have attached my script.

 

I use:

  • Win10
  • Vivado 2017.4
  • VC707 devboard

 

 

Tags (2)
0 Kudos