System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 7/08/2024
Public
Document Table of Contents

1.1.90. issp_read_source_data

Description

Retrieves the current value of the sources. A hex string is returned representing the source port value.

Usage

issp_read_source_data <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