GET_BSDL_IR_CAPTURE
The GET_BSDL_IR_CAPTURE function returns the INSTRUCTION_CAPTURE value for a JTAG device from its BSDL file. This is the value that is captured when scanning the instruction register of the device.
Syntax
GET_BSDL_IR_CAPTURE( STRING jtagDeviceRef ) ( INT mask, INT capture )
Parameters
- jtagDeviceRef
-
A JTAG device reference in the form 'board.device' or 'board.device.core' for a multicore device. The GET_JTAG_DEVICE function can be used to get this device reference for any JTAG device in the project.
- mask
-
Returns the bit mask for the captured value, as defined in the BSDL file. This mask contains ones for those bits in capture that are significant, and zeroes for those bits that are insignificant.
- capture
- Returns the capture value for the device, as defined in its BSDL file.
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 mask, capture; GET_BSDL_IR_CAPTURE("XJDemo.IC2")(mask, capture);
XJTAG v4.1.100