Quartus ii generated Memory Initialization File (.mif) 编写方法
来源:互联网 发布:二阶互补滤波算法 编辑:程序博客网 时间:2024/06/06 19:05
An ASCII text file (with the extension .mif) that specifies the initial content of a memory block (CAM, RAM, or ROM), that is, the initial values for each address. This file is used during project compilation and/or simulation. You can create a Memory Initialization File in the Memory Editor, the In-System Memory Content Editor, or the Quartus II Text Editor.
A Memory Initialization File serves as an input file for memory initialization in the Compiler and Simulator. You can also use a Hexadecimal (Intel-Format) File (.hex) to provide memory initialization data.
A Memory Initialization File contains the initial values for each address in the memory. A separate file is required for each memory block. In a Memory Initialization File, you must specify the memory depth and width values. In addition, you can specify data radixes as binary (BIN), hexadecimal (HEX), octal (OCT), signed decimal (DEC), or unsigned decimal (UNS) to display and interpret addresses and data values. Data values must match the specified data radix.
When creating a Memory Initialization File in the Quartus II Text Editor, you must start with the DEPTH, WIDTH, ADDRESS_RADIX and DATA_RADIX keywords. You can use Tab "\t" and Space " " characters as separators, and insert multiple lines of comments with the percent "%" character, or a single comment with double dash "--" characters. Address : data pairs represent data contained inside certain memory addresses and you must place them between the CONTENT BEGIN and ENDkeywords, as shown in the following examples.
% multiple-line comment
multiple-line comment %
-- single-line comment
DEPTH = 32; -- The size of memory in words
WIDTH = 8; -- The size of data in bits
ADDRESS_RADIX = HEX; -- The radix for address values
DATA_RADIX = BIN; -- The radix for data values
CONTENT -- start of (address : data pairs)
BEGIN
00 : 00000000; -- memory address : data
01 : 00000001;
02 : 00000010;
03 : 00000011;
04 : 00000100;
05 : 00000101;
06 : 00000110;
07 : 00000111;
08 : 00001000;
09 : 00001001;
0A : 00001010;
0B : 00001011;
0C : 00001100;
END;
- Quartus ii generated Memory Initialization File (.mif) 编写方法
- 用MATLAB生成*.mif(QUARTUS II)内存初始化文件
- Quartus II Settings File (.qsf)
- Quartus II 6.0破解方法
- 用MATLAB生成Quartus II下ROM初始化文件(MIF,HEX)
- Quartus II modelsim使用与testbench编写
- quartus II工具In-System Memory Content Editor使用方法
- quartus ii 11.0 timequest 约束设置方法
- 基于Quartus II的在线调试方法
- 基于Quartus II的在线调试方法
- Quartus II 8.1 安装破解 方法
- quartus ii 11.0安装破解破解方法:
- mif文件生成方法
- quartus II工具2——In-System Memory Content Edit
- Quartus II中FPGA管脚的分配及保存方法
- Quartus II自动添加管脚分配的方法
- Quartus II中FPGA的管脚分配保存方法
- Quartus II 管脚分配的两种方法
- WIN7 32/64位安装SQL Server 2005详细步骤(图文)
- 标准C++中的string类的用法总结
- Android源码分析-Activity的启动过程
- listview的基本使用,listview的优化
- 算法:两数相加
- Quartus ii generated Memory Initialization File (.mif) 编写方法
- ObjC的Retain的属性和Copy的区别
- Jquery获取Content-type
- Viso画图之 -- 平行四边形
- Romantic
- Array.sort()内部使用的排序方法
- Windows学习心得【按钮类】
- Hadoop 2.2.0新API的WordCount例子(运行通过)
- 黑马程序员-java注解