21.13.1.76 write_active_probe

Description

This Tcl command sets the target probe point on the device to the specified value. The target probe point name must be specified.

write_active_probe [-deviceName device_name ] \
                    -name probe_name \
                    -value true|false \
                    -group_name group_bus_name \
                    -group_value "hex-value" | "binary-value"

Arguments

ParameterTypeDescription

deviceName

string

Parameter is optional if only one device is available in the current configuration.

name

string

Specifies the name for the target probe point. Cannot be a search pattern.

value

boolean

Specifies values to be written. True = High, False = Low.

group_name

string

Specify the group or bus name to write to complete group or bus.

group_value

string

Specify the value for the complete group or bus.

Hex-value format : "<size>'h<value>" Binary-value format: "<size>'b<value>"

Return TypeDescription
NoneNone

Error Codes

Error CodeDescription

None

Parameter 'group_value' has illegal value.

None

Active probe value must be specified.

None

Parameter 'group_name' has illegal value.​​​​

None

Parameter 'value' has illegal value.

None

Parameter 'name' has illegal value.

None

Parameter 'param_name' is not defined. Valid command formatting is'write_active_probe [-deviceName "device name"] \[-name "Probe point name"]* \[-value "TRUE | FALSE"]* \[-group_name "Group or Bus Name"]* \[-group_value "Group or Bus value"]* \[-silent "TRUE | FALSE"]'.

Supported Families

PolarFire
PolarFire SoC
SmartFusion 2
IGLOO 2
RTG4

Example

This example writes to a single probe.

write_active_probe –name out[5]:out[5]:Q –value true

This example writes to a probe in the group:

write_active_probe -name grp1.out[3]:out[3]:Q -value "low"

This example writes the value to complete group:

write_active_probe -group_name grp1 –group_value “8’hF0”

This example writes multiple probes at the same time:

write_active_probe -group_name out \
                   -group_value “8’b11110000” \
                   -name out[2]:out[2]:Q \
                   -value true

See Also

  • select_active_probe

  • read_active_probe

  • save_active_probe_list

  • load_active_probe_list