IS_BSDL_IR_SUPPORTED

The IS_BSDL_IR_SUPPORTED function checks whether an instruction is defined in the BSDL file for a JTAG device.

Syntax

IS_BSDL_IR_SUPPORTED( STRING jtagDeviceRef, STRING instruction )

Parameters

jtagDeviceRef

A JTAG device reference in the form 'board.device' or 'board.device.core' for a multicore device. The read-only built-in UNIQUE_DEVICE_REF contains this string for the current test device file, and the GET_JTAG_DEVICE function can be used to get a device reference for any JTAG device in the project.

instruction
The name of the instruction to check.

Return value

A boolean value indicating whether the instruction is supported or not.

Errors

If the supplied JTAG device reference is invalid, then an error occurs. If the string is constant, then the verification can be done at compile-time and an error is emitted then, otherwise the error will occur at run-time, when the function is run.

Example

INT supported := IS_BSDL_IR_SUPPORTED("XJDemo.IC2", "BYPASS");