STAPL - 2023.2 简体中文

Vitis 统一软件平台文档 应用加速开发 (UG1393)

Document ID
UG1393
Release Date
2023-12-13
Version
2023.2 简体中文
以下提供了各命令后接其选项(如有)和相应选项的 Python 方法(如有)。

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()