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?
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 | 综合文章 |