6813 - OEM Modelsim: Error: (vsim-3033) Instantiation of 'SB_HFOSC' failed. The design unit was not found. Error: (vsim-3033) Instantiation of 'SB_IO_OD' failed. The design unit was not found.

6813 - OEM Modelsim: Error: (vsim-3033) Instantiation of 'SB_HFOSC' failed. The design unit was not found. Error: (vsim-3033) Instantiation of 'SB_IO_OD' failed. The design unit was not found.

Description:
Users encounter error as stated in the title when simulating iCECube2 design with hardened IP/Primitives in Modelsim.

Solution:
The simulation error is encountered if the design is utilizing Hardened Ips/Primitives,the libraries sb_ice_syn.v and sb_ice_ipenc_modelsim.v must be added in your simulation project, the files are located in C:\lscc\iCEcube2.2020.12_v\verilog  or <iCECube2_Directory>\verilog