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!

AR# 10010

EXEMPLAR - Generic map value on instantiated component gets attached to the instance name

Description

Keywords: unexpanded, TCL, black box, port, map, instance, leonardo, spectrum, map

Urgency: Standard

Description:
When using a generic map, Leonardo Spectrum writes out black box components
with the generic map value appended in the EDIF netlist . This causes an
unexpanded error in NGDBuild, because the black boxes are not defined in
the netlist.

This will happen if each VHDL file is read with an individual read statement.
To correct this, collect all VHDL files in one list, and read the list with one
read statement.

Solution

Example of correct TCL script:

clean_all
set part v400epq240
set process 8
set working_dir "./"
read {"./common/_package.vhd"} -work lib_packages
read {"./common/_package_body.vhd"} -work lib_packages

# List the VHDL files in one read command
read {
"./Control_rtl.vhd"
"./Block_struct.vhd"
"./Delay_rtl.vhd"
"./top.vhd"
} -work test_lib

optimize -ta xcve -hier auto
auto_write ./top.edf
AR# 10010
Date Created 08/24/2000
Last Updated 04/20/2007
Status Archive
Type General Article