IP Core Library - Published and maintained by the Chair for VLSI Design, Diagnostics and Architecture, Faculty of Computer Science, Technische Universität Dresden, Germany
I'm using Vivado 2023.1 and the call to the vivado batch file to see version fails. It doesn't appear that the current vivado.bat file handles the -version parameter.
Exception type: CalledProcessError
Exception message: Command '['H:\Xylinx\Vivado\2023.1\bin\vivado.bat', '-version']' returned non-zero exit status 1.
Caused in: run in file 'D:\python\Python38\lib\subprocess.py' at line 512
I was able to skip this problem by commenting out lines 126-128 in PoC\lib\pyIPCMI\pyIPCMI\ToolChain\Xilinx\Vivado.py:
#output = check_output([str(vivadoPath), "-version"], universal_newlines=True)
#if str(version) not in output:
# raise ConfigurationException("Vivado version mismatch. Expected version {0}.".format(version))
This disables the check but I just made sure the paths were correct.
OUTPUT:
================================================================================
pyIPCMI - Service Tool
No private configuration found. Generating an empty pyIPCMI configuration...
Explanation of abbreviations:
Y - yes P - pass (jump to next question)
N - no Ctrl + C - abort (no changes are saved)
Upper case or value in '[...]' means default value
Configuring installed tools
Configuring PoC
Installation directory: G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI (found in environment variable)
Configuring Git
Is Git installed on your system? [Y/n/p]: Y
Git installation directory [C:\Program Files\Git]: C:\Program Files\Git
Install Git mechanisms for pyIPCMI developers? [y/N/p]: N
Git is now configured.
Configuring Aldec
Are Aldec products installed on your system? [Y/n/p]: n
Aldec is now configured.
Configuring Altera
Are Altera products installed on your system? [Y/n/p]: n
Configuring Intel
Are Intel products installed on your system? [Y/n/p]: n
Configuring Lattice
Are Lattice products installed on your system? [Y/n/p]: n
Configuring Mentor
Are Mentor products installed on your system? [Y/n/p]: n
Configuring Xilinx
Are Xilinx products installed on your system? [Y/n/p]: Y
Xilinx installation directory [C:\Xilinx]: H:\Xylinx
Configuring Xilinx ISE
Is Xilinx ISE installed on your system? [Y/n/p]: n
Configuring Xilinx Vivado
Is Xilinx Vivado installed on your system? [Y/n/p]: Y
2016.3 version [2016.3]: 2023.1
Xilinx Vivado installation directory [H:\Xylinx\Vivado\2023.1]: H:\Xylinx\Vivado\2023.1
FATAL: An unknown or unhandled exception reached the topmost exception handler!
Exception type: CalledProcessError
Exception message: Command '['H:\Xylinx\Vivado\2023.1\bin\vivado.bat', '-version']' returned non-zero exit status 1.
Caused in: run in file 'D:\python\Python38\lib\subprocess.py' at line 512
File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\FrontEnd.py", line 88, in main
pyIPCMI.Run()
File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI__init.py", line 406, in Run
ArgParseMixin.Run(self)
File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\lib\pyAttribute\ArgParseAttributes.py", line 187, in Run
args.func(self, args)
File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\init.py", line 503, in HandleConfiguration
configurator.ConfigureAll()
File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\ToolChain\init.py", line 798, in ConfigureAll
self._ConfigureTools(self._configurators)
File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\ToolChain\init.py", line 869, in _ConfigureTools
self._ConfigurationLoop(configurator)
File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\ToolChain\init.py", line 923, in _ConfigurationLoop
elif (self._host.Platform == "Windows"): configurator.ConfigureForWindows()
File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\ToolChain\init.py", line 301, in ConfigureForWindows
self.ConfigureForAll()
File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\ToolChain\Xilinx\Vivado.py", line 111, in ConfigureForAll
self.CheckVivadoVersion(binPath, version)
File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\ToolChain\Xilinx\Vivado.py", line 126, in __CheckVivadoVersion
output = check_output([str(vivadoPath), "-version"], universal_newlines=True)
File "D:\python\Python38\lib\subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "D:\python\Python38\lib\subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
I'm using Vivado 2023.1 and the call to the vivado batch file to see version fails. It doesn't appear that the current vivado.bat file handles the -version parameter.
Exception type: CalledProcessError Exception message: Command '['H:\Xylinx\Vivado\2023.1\bin\vivado.bat', '-version']' returned non-zero exit status 1. Caused in: run in file 'D:\python\Python38\lib\subprocess.py' at line 512
I was able to skip this problem by commenting out lines 126-128 in PoC\lib\pyIPCMI\pyIPCMI\ToolChain\Xilinx\Vivado.py:
This disables the check but I just made sure the paths were correct.
OUTPUT:
================================================================================ pyIPCMI - Service Tool
No private configuration found. Generating an empty pyIPCMI configuration... Explanation of abbreviations: Y - yes P - pass (jump to next question) N - no Ctrl + C - abort (no changes are saved) Upper case or value in '[...]' means default value
Configuring installed tools
Configuring PoC Installation directory: G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI (found in environment variable) Configuring Git Is Git installed on your system? [Y/n/p]: Y Git installation directory [C:\Program Files\Git]: C:\Program Files\Git Install Git mechanisms for pyIPCMI developers? [y/N/p]: N Git is now configured. Configuring Aldec Are Aldec products installed on your system? [Y/n/p]: n Aldec is now configured. Configuring Altera Are Altera products installed on your system? [Y/n/p]: n Configuring Intel Are Intel products installed on your system? [Y/n/p]: n Configuring Lattice Are Lattice products installed on your system? [Y/n/p]: n Configuring Mentor Are Mentor products installed on your system? [Y/n/p]: n Configuring Xilinx Are Xilinx products installed on your system? [Y/n/p]: Y Xilinx installation directory [C:\Xilinx]: H:\Xylinx Configuring Xilinx ISE Is Xilinx ISE installed on your system? [Y/n/p]: n Configuring Xilinx Vivado Is Xilinx Vivado installed on your system? [Y/n/p]: Y 2016.3 version [2016.3]: 2023.1 Xilinx Vivado installation directory [H:\Xylinx\Vivado\2023.1]: H:\Xylinx\Vivado\2023.1 FATAL: An unknown or unhandled exception reached the topmost exception handler! Exception type: CalledProcessError Exception message: Command '['H:\Xylinx\Vivado\2023.1\bin\vivado.bat', '-version']' returned non-zero exit status 1. Caused in: run in file 'D:\python\Python38\lib\subprocess.py' at line 512
File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\FrontEnd.py", line 88, in main pyIPCMI.Run() File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI__init.py", line 406, in Run ArgParseMixin.Run(self) File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\lib\pyAttribute\ArgParseAttributes.py", line 187, in Run args.func(self, args) File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\init.py", line 503, in HandleConfiguration configurator.ConfigureAll() File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\ToolChain\init.py", line 798, in ConfigureAll self._ConfigureTools(self._configurators) File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\ToolChain\init.py", line 869, in _ConfigureTools self._ConfigurationLoop(configurator) File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\ToolChain\init.py", line 923, in _ConfigurationLoop elif (self._host.Platform == "Windows"): configurator.ConfigureForWindows() File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\ToolChain\init.py", line 301, in ConfigureForWindows self.ConfigureForAll() File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\ToolChain\Xilinx\Vivado.py", line 111, in ConfigureForAll self.CheckVivadoVersion(binPath, version) File "G:\FPGA-Dev\PoC\PoC\lib\pyIPCMI\pyIPCMI\ToolChain\Xilinx\Vivado.py", line 126, in __CheckVivadoVersion output = check_output([str(vivadoPath), "-version"], universal_newlines=True) File "D:\python\Python38\lib\subprocess.py", line 411, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "D:\python\Python38\lib\subprocess.py", line 512, in run raise CalledProcessError(retcode, process.args,
Please report this bug at GitHub: https://github.com/VLSI-EDA/pyIPCMI/issues