[SOLVED!] Vivado elaborate fails - Page 1
Forum section: electronics / general

author: JohnnyMalaria
author_rank: Super Contributor
timestamp: January 23, 2021, 08:42:26 pm
content: Hi,I have an issue with Vivado failing to elaborate. This is with 2018.1, 2018.3, 2020.1 and 2020.2. But only on a specific machine.It was working okay but following uninstalling Visual Studio 2015 and 2017 Community editions and installing Visual Studio 2019 Community edition, elaboration fails every time.I have tried different versions of Vivado. I completely uninstalled it, deleted every reference on anything Xilinx on my disk drives and registry but to no avail.Upon reinstallation, I get this error:stating there was a problem installing VC++ run time libraries. These are the ones on the system:And these are the ones on another computer that had never had Vivado on it until today and, from the dates, it is clear that the 2008 binaries were installed and they do exist on the other machine that has the problem:I created a very simple project - just one source file - which Vivado seems okay with since it creates the correct schematic:But when I start a simulation (or synthesis), elaboration fails:I spent countless hours yesterday trying to track this down and it may or may not have something to do with environment labels but I couldn't find a definitive answer.Any ideas?Both systems are running the latest Windows 10 64-bit. The one that behaves is Pro, the other is Home. But it did work on the Home machine at one point

author: asmi
author_rank: Super Contributor
timestamp: January 23, 2021, 10:17:50 pm
content: It looks like something was screwed up during installation. Did you have any AV software running at the time of installation? Some of them are known to cause problems with Vivado. If so, turn it off and reinstall it again.

author: JohnnyMalaria
author_rank: Super Contributor
timestamp: January 23, 2021, 10:54:30 pm
content: I did turn off the AV

author: dtodorov
author_rank: Contributor
timestamp: January 24, 2021, 03:51:56 pm
content: Hi,I could recommend you also ask your question within Xilinx forums (https://forums.xilinx.com/). You can upload the nice screenshots and an entire archive as test case.In my experience, I had issues with Vivado 2017.x and later - the thing would just not 'see' my verilog HDL files. Hence, no top module could be selected, leading to failing flow (elaboration, synthesis, etc). Turned out it was something to do with some filescanner utility vivado used that was going crazy in some cases. Problem was resolved after I migrated from Win7 to Win10, but that's drastic I guess.Good luck!

author: JohnnyMalaria
author_rank: Super Contributor
timestamp: January 24, 2021, 07:44:12 pm
content: It was down to the VC++ runtime libraries.I eventually found an install log that showed that a call to install MSVCRT libraries failed. So I tried to run the installer directly and it refused because a later version was already installed (from the Visual Studio 2019 Community).It took a few hours, but I uninstalled Visual Studio, removed the newer MSVCRT libraries and then installed them again (otherwise Vivado installer would complain about missing local libraries). And now Vivado is working again.What a hoo-hah