Standard Test and Programming Language (STAPL) Programming - 2023.2 English

Vivado Design Suite User Guide: Programming and Debugging (UG908)

Document ID
UG908
Release Date
2023-10-19
Version
2023.2 English
Note: STAPL Programming is supported on AMD UltraScale™ /AMD UltraScale+™ FPGAs and AMD Versal™ devices. STAPL Programming is not supported on AMD Zynq™ devices or 7 series FPGAs.

An alternative way to program FPGAs and configuration memory devices is using a standard test and programming language (STAPL) file. The STAPL file generated through AMD Vivado™ Design Suite and AMD Vivado™ Lab Edition contains low-level JTAG instructions and data required to program these devices. Once the file is generated, boundary scan test tools can be used independently of the Vivado IDE.

The general steps to create an STAPL file are as follows:

  1. Create a STAPL target.
  2. Add devices to the STAPL target.
  3. Add operations to the devices in the STAPL chain.
  4. Write STAPL files.
  5. Close STAPL target.
  6. (Optional) Execute STAPL.

Step 4 records the program operations sequentially and stored as a cached file. The cached file is written out to a target destination in step 5. After the file is created, it can be used by boundary scan tools or executed through Vivado Design Suite or Vivado Lab Edition tools.