SourcePoint AMD Help

Table of Contents

num_devices

Display the number of JTAG devices in the target system.

Syntax

[result ย =] num_devices

Discussion

Use the num_devices control variable to determine the number of JTAG devices in the target system. Using the control variable in an expression returns the current value.

Note: ย This control variable has been replaced by num_jtag_devices and is provided only to support legacy operation. Please use num_jtag_devices instead.

Example 1

To check the number of JTAG devices in a system with 9 devices:

Command input:

num_devices

Result:

9

Example 2

To use the control variable in an expression:

Command input:

define ord2 o2NumDev

o2NumDev=num_devices

o2NumDev

Result:

9

Related Topics

ย