AR# 52086

|

Vivado Synthesis - WARNING: [Synth 8-1824] circular dependency found for file .vhd while ordering

描述

In some cases where the VHDL entity and architecture are defined in separate files, the following warning can be observed after running Vivado Synthesis:

WARNING: [Synth 8-1824] circular dependency found for file <name>.vhd  while ordering  

However, after some of these warnings the following error can be seen:

ERROR: [Synth 8-1940] entity ... is not yet compiled

解决方案

These are correct warnings.

These warnings indicate that there are circular dependency issue in the design.

The following is an example of the circular dependency situation.

Supposing a.vhd is compiled to library a_lib. And a.vhd has the following use clause.

library b_lib; 
use b_lib.all; 

Then b.vhd is compiled to library b_lib. And b.vhd has the following use clause.

library a_lib; 
use a_lib.all; 

This makes a.vhd and b.vhd dependent on each other. And this is a circular dependency.

To resolve these warnings, do not write use clause to specify entire content of the library (like use <lib_name>.all).

Instead, use 
specific packages (use <lib_name>.<package_name>). Also, remove the unnecessary library definitions.

Here are few more possible workaround to this problem:
 
1. Merge the VHDL entity and architecture into one VHDL file.
 
2. a) Select the No Update, Manual Compile Order in the Hierarchy Update Tab either in the Hierarchy field or Compile Order field.
 
    b)  Move the Architecture file before the Entity file for those files Vivado Synthesis generated the [Synth 8-1940] error message.
 
    c)  Run Vivado Synthesis; this should allow synthesis to run successfully.
 
3. If there is only a warning and the design finishes without an Error message, the user should be able to move on to the next step.
 


AR# 52086
日期 04/16/2014
状态 Active
Type 已知问题
Tools
People Also Viewed