pylinx 0.0.1.dev3

Last updated:

0 purchases

pylinx 0.0.1.dev3 Image
pylinx 0.0.1.dev3 Images
Add to Cart

Description:

pylinx 0.0.1.dev3

pylinx
Python utils for Xilinx's tools
This package based on the following requiremets:

Running-SDK-project-in-other-software
Error during control Xilinx XSCT with pexpect

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.