金马奖黄渤:Failed to find 'glbl' in hierarchical name.

来源:百度文库 编辑:九乡新闻网 时间:2024/07/08 17:04:25
I both compile the xilinx libray e.g FDE.v  and glbl.v in work libray, but  when I do simulation,it comes out the message:  ** Error: FDE.v(37): Failed to find 'glbl' in hierarchical name.  What is the solution for it? thanks.

 

ps: when FDE.v and glbl.v in the same or different path,the error is the same.   

Hello,

 

Compiling glbl.v is not enough.  You also need to make sure you load glbl as a top level design unit.  For example

 

vsim work.my_design work.glbl

 

Make sure your scripts do the above.  This is done automatically by Project Navigator.

 

Hope this helps.

 

-Eddie