MemGen: can generate mif file