STAPL - 2023.1 English

Vitis Unified IDE and Common Command-Line Reference Manual (UG1553)

Document ID
UG1553
Release Date
2023-07-17
Version
2023.1 English
The following are the commands followed by their options (if any) and the Python method for the option (if any).

stapl config

-out <filepath>
st = self.session.stapl()
st.config(out="tests/data/pystapl.stapl", scan_chain=[{'name': 'xcvc1902'}, {'name': 'xcvm1802'}])
-handle <filehandle>
st = self.session.stapl()
handle = open("tests/data/pystapl.stapl", "w+b")
st.config(handle=handle, part=['xcvc1902', 'xcvm1802'])
-scan-chain <list-of-dicts>
st = self.session.stapl()
st.config(out="tests/data/pystapl.stapl", scan_chain=[{'name': 'xcvc1902'}, {'name': 'xcvm1802'}])
DONE
-part <device-name list>
st = self.session.stapl()
handle = open("tests/data/pystapl.stapl", "w+b")
st.config(handle=handle, part=['xcvc1902', 'xcvm1802'])

stapl start

st.start()

stapl stop

st.stop()