winIDEA SDK
Loading...
Searching...
No Matches
test_soc_ctrl_bus_fill.py
# This script is licensed under BSD License, see file LICENSE.txt, or search for `License` in the SDK online help.
#
# (c) TASKING Germany GmbH, 2023
import isystem.connect as ic
winidea_id = ''
def test_soc_ctrl_bus_fill():
conn_mgr = ic.ConnectionMgr()
conn_mgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
vect = ic.VectorBYTE([1, 2, 3, 4])
sess_ctrl = ic.CSessionCtrl(conn_mgr)
sess_ctrl.begin_reset()
soc = sess_ctrl.get_SoC('')
soc.bus_fill(0, 0x20000000, 4, vect)
if __name__ == '__main__':
test_soc_ctrl_bus_fill()