winIDEA SDK
test_soc_ctrl_attach.py
1# This script is licensed under BSD License, see file LICENSE.txt.
2#
3# (c) TASKING Germany GmbH, 2023
4
5import isystem.connect as ic
6
7
8winidea_id = ''
9
10
11def test_soc_ctrl_attach():
12 conn_mgr = ic.ConnectionMgr()
13 conn_mgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
14
15 sess_ctrl = ic.CSessionCtrl(conn_mgr)
16 sess_ctrl.begin_reset()
17
18 soc = sess_ctrl.get_SoC('')
19
20 soc.attach()
21
22
23if __name__ == '__main__':
24 test_soc_ctrl_attach()