AR# 41628

|

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

描述

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?

解决方案

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
日期 01/29/2013
状态 Active
Type 综合文章
People Also Viewed