中文说明:MATLAB生成正弦信号的mif文件的函数,适用于Quartus环境和Altera的IP核,给定量化分辨率(数据位数)和储存深度(数据点数),可以生成mif文件。mif在Quartus内打开并另存为,即可保存为hex文件,这样就可以给modelSIM仿真使用啦。这里提供了整个周期、半个周期和1/4周期正弦信号的存储。
English Description:
Matlab generated sine signal MIF file function, suitable for quartus environment and Altera IP core, given the quantitative resolution (data bits) and storage depth (data points), can generate MIF file. If MIF is opened in quartus and saved as, it can be saved as hex file, so that it can be used for Modelsim simulation. The storage of whole period, half period and quarter period sine signal is provided here.