UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor garankonic
Visitor
689 Views
Registered: ‎03-13-2017

Vivado 2017.4 - heap error bug

Dear all,

 

While developing with Vivado 2017.4 (CentOS), I have noticed some bug in the code parser (also in my code, of course). 

If one defines something like this:

type type1 is (header1, header2, data);

signal signal1 : type1;

type type2 is (header1, header2, data);

signal signal2 : type2;

And then starts to use it as:

signal1 <= header1;
signal2 <= header1;

Which is wrong, I agree (!) - Vivado becomes completely mad: there are no error messages, but the file parsing fails (throws "heap error") and all the modules in the project (I have around 200) become invalid, also the top module is not able to be assigned anymore. Even more, if one has any other syntax errors in the file, the project will remain invalid even after removal of the initial cause - until all the syntax errors are solved.

 

Sure, one should not write such a crazy code, but treatment of this fail case may help other people.

Thank you a lot for your attention.

 

0 Kudos
4 Replies
Newbie misterioso
Newbie
576 Views
Registered: ‎08-16-2018

Re: Vivado 2017.4 - heap error bug

I am facing a very similar error, too. The Vivado 2017.3 was crashed when I run RTL elaborated design. Then every time when I open a project, there is no detected modules(all are non-module files, around 300 files) and vivado shows two error information:

 

  • [filemgmt 20-2001] Source scanning failed (heap error) while processing fileset "sources_1" due to unrecoverable syntax error or design hierarchy issues. Recovering last known analysis of the source files.
  • [filemgmt 20-2001] Source scanning failed (heap error) while processing fileset "sim_1" due to unrecoverable syntax error or design hierarchy issues. Recovering last known analysis of the source files.

I tried re-install but it doesn't work.

My OS is Windows 7 SP1.

 

I will be appreciate if someone could provide some solutions

 

error info.png

0 Kudos
Moderator
Moderator
554 Views
Registered: ‎09-15-2016

Re: Vivado 2017.4 - heap error bug

Hi @garankonic,

 

Can you please help us with some test-case of this issue?

 

Thanks

Prathik

-----------------------------------------------------------------------------------

Don't forget to reply, kudo, and mark the appropriate post as 'accept as solution'.

-----------------------------------------------------------------------------------

0 Kudos
Visitor gerardol
Visitor
76 Views
Registered: ‎03-02-2019

Re: Vivado 2017.4 - heap error bug

Hi,

I'm facing the same issue in 2019.1:

[filemgmt 20-2001] Source scanning failed (heap error) while processing fileset "sim_1" due to unrecoverable syntax error or design hierarchy issues. Recovering last known analysis of the source files.

Any suggestions?

0 Kudos
Visitor gerardol
Visitor
62 Views
Registered: ‎03-02-2019

Re: Vivado 2017.4 - heap error bug

Hi all,

 

FYI, after experimentation I found that the issue was due to nested includes. i.e in bob.v I have the following:

`include "bob_includes.v"


If bob_includes.v contains:

`include "module_1.v"

I get a:

"[filemgmt 20-2001] Source scanning failed (heap error) while processing fileset "sources_1" due to unrecoverable syntax error or design hierarchy issues. Recovering last known analysis of the source files."

 

Hopefully that helps someone!

0 Kudos