Skip to content

raczben/pysct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pysct

Python wrapper for Xilinx's XSCT/XSDB console

This package based on the following requiremets:

Example

win_xsct_executable = r'C:\Xilinx\SDK\2017.4\bin\xsct.bat'
xsct_server = XsctServer(win_xsct_executable, port=PORT, verbose=False)
xsct = Xsct('localhost', PORT)

print("xsct's pid: {}".format(xsct.do('pid')))
print(xsct.do('set a 5'))
print(xsct.do('set b 4'))
print("5+4={}".format(xsct.do('expr $a + $b')))

xsct.close()
xsct_server.stop_server()

Prints out:

xsct's pid: 13808
5
4
5+4=9

Releases

No releases published

Packages

No packages published