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: 
Adventurer
Adventurer
1,818 Views
Registered: ‎05-09-2018

Vivado 2018.3 write_bitstream hangs

When running write _bitstream from bot the tcl console and the GUI (on a Centos 7 machine).

The process starts but never ends.

This is all that gets logged.

Command: write_bitstream -force fae_test_chip2z.bit -verbose
Attempting to get a license for feature 'Implementation' and/or device 'xc7z020'
INFO: [Common 17-349] Got license for feature 'Implementation' and/or device 'xc7z020'
Running DRC as a precondition to command write_bitstream
INFO: [IP_Flow 19-234] Refreshing IP repositories
INFO: [IP_Flow 19-1704] No user IP repositories specified
INFO: [IP_Flow 19-2313] Loaded Vivado IP repository '/tools/xilinx/Vivado/2018.3/data/ip'.

 

 

 

 

0 Kudos
36 Replies
Moderator
Moderator
1,806 Views
Registered: ‎03-16-2017

Re: Vivado 2018.3 write_bitstream hangs

Hi @stfarley,

Make sure you are using supported centos version - CentOS 7.2, 7.3, 7.4, and 7.5 (64-bit) for Vivado 2018.3. 

And provide vivado.log from your project directory. Also provide any crash log present like hs_pid_xxx.

Regards,
hemangd

Don't forget to give kudos and mark it as accepted solution if your issue gets resolved.
0 Kudos
Adventurer
Adventurer
1,793 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

OK,

It's actually Centos 7.6. Hopefully that is not the problem.

centos-release-7-6.1810.2.el7.centos.x86_64

Checking to see if I can re-wind this system to 7.5.

I attached the vivado.log from a very simple test build.

There are no files in the directory of the project that are named hs*

Thanks,

Steve

 

 

0 Kudos
Moderator
Moderator
1,785 Views
Registered: ‎03-16-2017

Re: Vivado 2018.3 write_bitstream hangs

Hi @stfarley,

Provide runme.log from : /projects/tests/vivado_bitstream/project_1/project_1.runs/impl_1/runme.log

Try to run bitstream from another machine, if possible with supported Centos OS version. 

 

 

 

Regards,
hemangd

Don't forget to give kudos and mark it as accepted solution if your issue gets resolved.
0 Kudos
Adventurer
Adventurer
1,778 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

 
0 Kudos
Adventurer
Adventurer
1,762 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

I managed to get an old VM running Centos 7.4 going with the tools.

I get the same behaviour with write_bitstream.

Thanks,

Steve

0 Kudos
Moderator
Moderator
1,738 Views
Registered: ‎03-16-2017

Re: Vivado 2018.3 write_bitstream hangs

Hi @stfarley,

Can you share your archived project to regenerate this issue at my end?

 

I have sent you an ezmove ftp package through which you can provide your archived project. 

Regards,
hemangd

Don't forget to give kudos and mark it as accepted solution if your issue gets resolved.
0 Kudos
Moderator
Moderator
1,727 Views
Registered: ‎01-16-2013

Re: Vivado 2018.3 write_bitstream hangs

@stfarley

 

Check if the machine has enough memory. Is this specific to one project? Can you try a xilinx example design and check?

Also run report_methodology and report_drc and validate the warnings and critical warning.

In the vivado.log, I see the following warning: 

WARNING: [Board 49-26] cannot add Board Part digilentinc.com:genesys2:part0:1.1

 

--Syed

---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.

Did you check our new quick reference timing closure guide (UG1292)?
---------------------------------------------------------------------------------------------
0 Kudos
Highlighted
Adventurer
Adventurer
1,721 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

Thanks Syed,

The Machine has 32GB Ram. (Nothing else is running on it)

It is not specific to one project. The archive I sent is just a little test case.

I saw the digilent warnings as well. I think they come from adding the digilent board support files to the Vivado config.

I did try and load up the ZyboZ7-20 DMA Reference project and got the same result.

There are no issues reported on the test project for report_methodology and report_drc and validate the warnings and critical warning.

Steve

 

0 Kudos
Moderator
Moderator
1,719 Views
Registered: ‎01-16-2013

Re: Vivado 2018.3 write_bitstream hangs

@stfarley

 

Can you try with xilinx device or board? If it doesn't work then try reinstalling the tool.

 

--Syed

---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.

Did you check our new quick reference timing closure guide (UG1292)?
---------------------------------------------------------------------------------------------
0 Kudos
Adventurer
Adventurer
1,713 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

I tried both with the same result.

Did a full software re-install yesterday.

 

Steve

 

0 Kudos
Adventurer
Adventurer
1,589 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

So in Summary at this point I have tried

Centos 7.6 and 7.4

A full software re-install.

Targeted both the ZyboZ7 board and the device directly.

The test design is simply an AXIS FIFO with the generated wrapper.

The Machine has 32GB RAM.

DRC looks OK.

No critical warnings.

Tried both in the GUI and from the tcl shell.

In all cases the process just runs forever without using much in the way of CPU cycles.

0 Kudos
Moderator
Moderator
1,578 Views
Registered: ‎03-16-2017

Re: Vivado 2018.3 write_bitstream hangs

Hi @stfarley,

From the provided archived project i am not able to reproduce the bitstream hang issue. And i am facing DRC error while generating bitstream. (As shown below.)

Hence, please provide the correct project to reproduce the issue. 

drccc.JPG

 

Regards,
hemangd

Don't forget to give kudos and mark it as accepted solution if your issue gets resolved.
Voyager
Voyager
1,572 Views
Registered: ‎08-16-2018

Re: Vivado 2018.3 write_bitstream hangs

@stfarley

DRC messages disabled on your end?

0 Kudos
Adventurer
Adventurer
1,562 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

Sorry about that confusion. My original design had no critical warnings.

There were messages about unconstrained pins on the quick test design but I only see them if I don't try and run bitgen. 

I have them constrained now, but it still doesn't get through write_bitstream.

If I just run implementation this completes and I get DRC results. No critical warnings.

Select Generate Bitstream synthesis goes out of date bitstream runs forever.

Reset the step. Select run Bitstream again. The process starts from the beginning (The DRC Violations stays at "Run implementation to see DRC results" and write_bitstream runs forever. I can upload a new archive.

I can upload the 

0 Kudos
Adventurer
Adventurer
1,559 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

DRC is enabled.

Thanks

0 Kudos
Voyager
Voyager
1,549 Views
Registered: ‎08-16-2018

Re: Vivado 2018.3 write_bitstream hangs

I have sometimes run into weird situations where I could get out only by starting a fresh project and dropping in the source files. Have you been doing major changes in your project? Vivado seems to be sensitive to that.

0 Kudos
Adventurer
Adventurer
1,545 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

My build flow does that actually for every build. I am using HDLMAKE to run the builds. This grates a new project every time you run make.

My simple Test case (just using Vivado) is nothing more than opening Vivado and instantating an AXIS FIFO. Making all ports external and building it. (I did have to fiddle around to get the I/Os all constrained).

 

 

0 Kudos
Xilinx Employee
Xilinx Employee
1,516 Views
Registered: ‎05-08-2012

Re: Vivado 2018.3 write_bitstream hangs

Hi @stfarley.

A couple of attempts with the updated archive did not reproduce using CentOS 7.4 and 2018.3. Do you see the problem without a Make file?


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

---------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------
0 Kudos
Adventurer
Adventurer
1,510 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

Thanks for trying this Marc

I am not using a make file for the small test case that I uploaded, Just running it directly in Vivado.

I just tried it again here, Both machines do the same thing. CPU usage goes to near 0 and write_bitstream runs forever.

I take you got a bitstream out?

 

 

 

0 Kudos
Xilinx Employee
Xilinx Employee
1,490 Views
Registered: ‎05-08-2012

Re: Vivado 2018.3 write_bitstream hangs

Hi @stfarley.

 

Sure. I can upload the completed bitstream.

Marc

---------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------
Adventurer
Adventurer
1,474 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

Thanks Marc,

Looking more like either a Vivado install script issue or a system package issue. It's frustrating that it just spins with no indication of what might be wrong. 

0 Kudos
Adventurer
Adventurer
1,453 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

I tried running write_bitstream as root. It still just ran forever. So this should not be a file permissions issue.

Also tried it on a fresh Centos 7.5 VM and got the same result.

 

 

0 Kudos
Adventurer
Adventurer
1,297 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

Is there anything else that I can do to diagnose this?

I have a DRC Error free design (No critical warnings) on a supported version of Centos (Have tried it on three different Centos installs. All other Vivado tools work without issues. There is nothing in the logs to indicate the problem it just runs forever and generates nothing.

 

Hopefully somebody has an idea.

 

Thanks

Steve

0 Kudos
Xilinx Employee
Xilinx Employee
1,283 Views
Registered: ‎05-08-2012

Re: Vivado 2018.3 write_bitstream hangs

Hu @stfarley.

If you take the posted archive, does this also reproduce? If so, can you post environment information from the "report_environment -file xinfo.rpt" command using the CentOS 7.4 VM? This can be compared with a CentOS 7.4 VM that is not reproducing to see what the difference is.


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

---------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------
Adventurer
Adventurer
1,275 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

Excellent.

Here is the report file.

Thanks

Steve

 

0 Kudos
Adventurer
Adventurer
1,274 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

Hmm,

Looks like it dropped the attachment.

Trying again

0 Kudos
Adventurer
Adventurer
1,270 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

 
0 Kudos
Adventurer
Adventurer
1,267 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

Hmm Trying it zipped.

It is pretty small, but lets try it this way.

0 Kudos
Adventurer
Adventurer
1,258 Views
Registered: ‎05-09-2018

Re: Vivado 2018.3 write_bitstream hangs

 
0 Kudos