Modelsim for Diamond 3.13: "Error: (vsim-3043) Unresolved reference to I2C_WAKE"

Modelsim for Diamond 3.13: "Error: (vsim-3043) Unresolved reference to I2C_WAKE"

Description:
When simulating EFB in Lattice Diamond 3.13 & earlier version Modelsim OEM, due to the default enabled optimization setting of Modelsim, the error below will occur:

"Error: (vsim-3043) Unresolved reference to I2C_WAKE"

Solution:
This is a current limitation of Diamond Modelsim. 

It is advised to uncheck the enable optimization before starting the simulation or add "vsim -novopt -suppress 12110".
 
There are currently no scheduled fixes for future versions.