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?
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