Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vivado configuration fails #73

Open
poneill1001 opened this issue Aug 29, 2023 · 1 comment
Open

Vivado configuration fails #73

poneill1001 opened this issue Aug 29, 2023 · 1 comment

Comments

@poneill1001
Copy link

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,

Please report this bug at GitHub: https://github.com/VLSI-EDA/pyIPCMI/issues

@poneill1001
Copy link
Author

Sorry for the big font on two of the copy/pastes. Not sure how that happened It was not intentional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant