Answers Database
MODELSIM VLOG: Error: Unresolved reference to 'glbl' when trying to simulate a Verilog design with Alliance 2.1 (or later)
Record #6538
Product Family: Software
Product Line: Model Technology
Product Part: Modelsim
Product Version: 5.2
Problem Title:
MODELSIM VLOG: Error: Unresolved reference to 'glbl' when trying to simulate a Verilog
design with Alliance 2.1 (or later)
Problem Description:
Urgency: Standard
When trying to load design for Verilog simulation, the following error is
issued:
ERROR: ../<project>/<module.v>: Unresolved reference to 'glbl' in 'glbl.GSR'
Solution 1:
This error is a result of the non-usage of the glbl.v module during the
compilation and loading of the design. The glbl.v module enables the
use of the global set/reset in the design, and it is referenced by the
UNISIMS and the SIMPRIMS libraries. The glbl.v module at the following
location, $XILINX/verilog/src/glbl.v, and needs to be both compiled
and loaded in the simulation process.
Please see (Xilinx Solution 1078) on how to run simulation using
Modelsim Vlog.
For more details on the usage of the glbl.v module see
(Xilinx Solution 6537)
End of Record #6538 - Last Modified: 11/03/99 15:03 |