Generate mem file through coe file.