Lattice LSE: Why does LSE fail when VHDL files are compiled into a library directory name other than "work"?
To workaround this issue, it is required that the top-level VHDL file must be compiled into a library called 'work'. The Lower-level VHDL files can be compiled into other library naming.