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# 41628

ncelab: *E,CUVHNF (./.v,|): Hierarchical name component lookup failed at 'glbl'

Description

For a Verilog design, when I specify the "-top" option for theirun command, the following error displays:

"file: top.v
module worklib.top:v
errors: 0, warnings: 0
file: glbl.v
module worklib.glbl:v
errors: 0, warnings: 0
Elaborating the design hierarchy:
Top level design units:
top
tri0 GSR = glbl.GSR;

ncelab: *E,CUVHNF (./top.v,37|22): Hierarchical name component lookup failed at 'glbl'.
irun: *E,ELBERR: Error during elaboration (status 1), exiting."

The command is "irun top.v glbl.v -top top". How can I resolve it?

Solution

For Verilog, irun can automatically detect top-level units in the design. Using -top disables the automatic calculation of top-level Verilog units, and these units will also have to be specified using -top.

In order to resolve the error, you can either apply the"-top" option for module "glbl" or remove the "-top" option,that is, use following commands instead:

"irun top.v glbl.v -top top -top glbl" or

"irun top.v glbl.v".

AR# 41628
Date Created 07/01/2011
Last Updated 01/29/2013
Status Active
Type General Article