JTAGSTATE

The JTAGSTATE statement makes the JTAG TAP controller go to a specific state. This statement can only be used inside a JTAG block.

Syntax

JTAGSTATE ( state )

Parameters

state

A STRING that specifies the current TAP state. The string is not case sensitive. The valid JTAG states are:

  • RESET
  • IDLE
  • IRSELECT
  • IRCAPTURE
  • IRSHIFT
  • IREXIT1
  • IRPAUSE
  • IREXIT2
  • IRUPDATE
  • DRSELECT
  • DRCAPTURE
  • DRSHIFT
  • DREXIT1
  • DRPAUSE
  • DREXIT2
  • DRUPDATE

Errors

An error can occur in the following circumstances:

  • The state is not one of the listed values (at compile-time if the string is a constant, otherwise at run-time).
  • The function is used outside a JTAG block.