System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 4/01/2024
Public

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

Document Table of Contents

1.1.88. issp_get_instance_info

Description

Returns a list of the configurations of the In-System Sources and Probes instance. The list is an ordered key value pairs, for example {instance_index 0 source_width 8 probe_width 8 instance_name foo}. The best use of such list is shown in the following two TCL commands: array set info [issp_get_instance_info $s1] puts "$info(instance_index) $info(instance_name): $info(probe_width)x$info(source_width)"

Usage

issp_get_instance_info <service-path>

ReturnType

String[]

Returns

Arguments

service-path

Example

#
# Find the ISSP instance service path
#
set service_path [lindex [get_service_paths issp] 0]

#
# Claim an exclusive access to this instance
#
set issp_path [claim_service issp $service_path "my_lib" "EXC"]

#
# Print out the configuration information
#
array set info [issp_get_instance_info $issp_path]
puts "ISSP $info(instance_index) $info(instance_name): $info(probe_width)x$info(source_width)"

#
# Read probe and source port; write to source port.
#
puts [issp_read_probe_data $issp_path]
puts [issp_read_source_data $issp_path]
issp_write_source_data $issp_path 0x1234