Unresolved hierarchical reference to"glbl.GSR"

Description:

I received following error when I was trying to simulate my design:

ELAB2: Fatal Error: ELAB2_0036 Unresolved hierarchical reference to "glbl.GSR" from module

How can I fix it?

Solution:

First, you have to compile the glbl.v to the working library (i.e. from C:\Xilinx\11.1\ISE\verilog\src\glbl.v). You will also need to include it as top level for simulation. For Example:

asim testbench glbl


Printed version of site: www.aldec.com/en/support/resources/documentation/faq/1172