Skip to content
/ pysct Public
forked from raczben/pysct

Python wrapper for Xilinx's XSCT/XSDB console

License

Notifications You must be signed in to change notification settings

barawn/pysct

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pysct

Python wrapper for Xilinx's XSCT/XSDB console

This package based on the following requiremets:

OSU Changes

  1. Removed psutil dependency, it isn't needed. Just use Popen's methods.

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

About

Python wrapper for Xilinx's XSCT/XSDB console

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.7%
  • Tcl 5.3%