AR# 9838

XST - "WARNING: Xst:766 - file_name (Line #). Generating a Black Box for component "


When a "black box" is instantiated, the following warning occurs: 


WARNING: Xst:766 - file_name (Line #). Generating a Black Box for component <component_name>.


A black box is any instantiated component that is not represented by HDL code, but rather by another netlist format. 

Synthesis tools will generally report some kind of warning when a black box (an instantiated component with no associated VHDL code) is detected.  


Examples of black boxes include: 

  • CORE Generator modules 
  • Instantiated EDIF files 
  • Instantiated primitives 


If you are instantiating a component that is represented by something other than HDL code, no response to the warning message is needed.

If your intent was not to instantiate a black box, check your component declaration and instantiation to ensure that the component is properly represented by HDL code. 

To avoid "black box" warning messages, add the following lines to your HDL code: 



architecture <architecture_name> 


attribute box_type : string; 

attribute box_type of <component_name> : component is "black_box"; 





 //synthesis attribute box_type <module_name> "black_box"

AR# 9838
日期 09/12/2014
状态 Active
Type 综合文章
Tools More Less