Lattice iCECube2: Why do i encounter a synthesis error referring to multiple top level candidates when compiling my design?<div><br></div>

Lattice iCECube2: Why do i encounter a synthesis error referring to multiple top level candidates when compiling my design?<div><br></div>

Description:
Error is encountered during synthesis as shown below
@N:There are multiple top-level candidates. @E: CH100 : | Encountered multiple top-level candidates in design; compilation stopped.

Solution: 
This error occurs if tool detects multiple independent files (unrelated design files) in your project. Having independent files in one project causes compilation error during synthesis, VHDL entity should be instantiated under a Verilog top wrapper or Verilog entity module in a VHDL top wrapper to get it synthesized.