DEVICE_REF

DEVICE_REF is a read-only built-in string containing the device reference of the current test device. DEVICE_REF is defined only within a device file.

From XJTAG v3.4.1 onwards it is recommended to use UNIQUE_DEVICE_REF instead for printing device names and passing device names into built-in functions.

Example

PRINT(BOARD_NAME, ".", DEVICE_REF, ": Test failed\n");
EXIT;