VCS simulation error: Error-[XMRE] Cross-module reference resolution error

VCS simulation error: Error-[XMRE] Cross-module reference resolution error

Description:
When using the VCS simulator, this error may appear if you have not included GSR in your testbench.

Solution:
GSR_INST and PUR_INST should come from testbench so this should be included manually.

See below for example: vcs -sverilog -timescale=1ns/100ps v2k tb.v GSR.v PUR.v +libext.vp machxo3l_black_boxes-vcs.vp