03-02-2021 10:53 PM
I'm trying to automate resetting FPGA using python through TCL commands. Started vivado in TCL mode and gave tcl file as source to load bit file. After loading bit file again I want to run tcl file which has commands to reset FPGA. Please address how to do this.
python code snippet:
os.system('vivado -mode tcl tcl_file.tcl')
Here I used tkinter module to use tcl shell in python, but this is not working the way it is expected.
03-03-2021 06:26 AM
You need to make sure to specify -source when you call the TCL script. Without '-source' Vivado is launching in TCL mode but expecting a project with an .xpr file extension.