The creation and editor of mif file is a critical link to the use of ROM based on FPGA.It is discussed in detail to provide two kinds of effective methods for FPGA designer.The simulator,in MAX+PLUS Ⅱenvironment,shows the two methods are practicable. In addition,a relative source program in m(Matlab) language is given.