FLUSH
The FLUSH function ensures that any outstanding JTAG scans have been scanned through the chain before execution continues.
When XJTAG runs a SET
statement that just writes and does not read any pins, it does not wait for the JTAG scan to finish before continuing execution. In addition, consecutive such SET
statements may be queued and sent to the hardware together to maximise throughput. This means that immediately after writing some pins in XJEase, there is no guarantee that the pins in question have yet been set. FLUSH is therefore useful to ensure that all writes have completed before continuing execution.
For a more detailed discussion of when to use the FLUSH function, see Accelerating JTAG chains.
FLUSH cannot be used inside a raw JTAG block in XJTAG versions previous to v4.0.4.
FLUSH can be called without any brackets after it, but this usage is discouraged and will be deprecated in a future version.
Syntax
FLUSH()
XJTAG v4.1.100