MATLAB生成正弦信号的mif文件(内存初始化文件),适用于Quartus环境我要分享

Matlab generates MIF file (memory initialization file) of sinusoidal signal, which is suitable for q

关注次数: 326

下载次数: 0

文件大小: 1.84 kB

代码分类: 其他

开发平台: matlab

下载需要积分: 2积分

版权声明:如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

代码描述

中文说明: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.


代码预览

相关推荐