当前位置:网站首页>mif 文件格式记录
mif 文件格式记录
2022-07-07 09:02:00 【青柠Miya】
如下所示内容:
DEPTH=32; --Thesizeofdatainbits
WIDTH=8; --Thesizeofmemoryinwords
ADDRESS_RADIX=HEX; --Theradixforaddressvalues
DATA_RADIX=BIN; --Theradixfordatavalues
CONTENT --start of (address:datapairs)
BEGIN
00:00000000;--memoryaddress: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;
可以看到MIF文件分两部分,一部分是格式说明部分:
DEPTH就是地址深度,
WIDTH就是字宽,
ADDRESS_RADIX和 DATA_RADIX通常用 UNS,即无符号十进制数;
HEX,Hexadecimal ,十六进制。
DEC,Decimal ,十进制。
OCT,Octal ,八进制。
BIN,Binary ,二进制。
另一部分则是 begin与end中间的"00:00000000;"是一一对应的地址与数据。
因此,要得到MIF文件,只需要把begin与end中间的这段换成所需要的即可。
边栏推荐
- [untitled]
- Shardingsphere sub database and table examples (logical table, real table, binding table, broadcast table, single table)
- I plan to take part in security work. How about information security engineers and how to prepare for the soft exam?
- Différences entre les contraintes monotones et anti - monotones
- TypeScript 接口继承
- PR Lecture Notes
- Cluster task scheduling system lsf/sge/slurm/pbs based on HPC scenario
- VR development optimization
- Using tansformer to segment three-dimensional abdominal multiple organs -- actual battle of unetr
- 软考信息处理技术员有哪些备考资料与方法?
猜你喜欢
When do you usually get grades in the soft exam? Online pedaling?
[pro test feasible] error while loading shared libraries solution
SQL Server 知识汇集9 : 修改数据
uniCloud
2021-04-08
无法打开内核设备“\\.\VMCIDev\VMX”: 操作成功完成。是否在安装 VMware Workstation 后重新引导? 模块“DevicePowerOn”启动失败。 未能启动虚拟机。
Unity script visualization about layout code
2021-04-23
1323: [example 6.5] activity selection
Network engineer test questions and answers in May of the first half of 2022
随机推荐
[STM32] actual combat 3.1 - drive 42 stepper motors with STM32 and tb6600 drivers (I)
[système recommandé 01] rechub
Network engineer test questions and answers in May of the first half of 2022
Typescript interface inheritance
Deep understanding of Apache Hudi asynchronous indexing mechanism
【安装系统】U盘安装系统教程,使用UltraISO制作U盘启动盘
Deconstruction and assignment of variables
A simple example of delegate usage
软考中级电子商务师含金量高嘛?
The difference between monotonicity constraint and anti monotonicity constraint
无法打开内核设备“\\.\VMCIDev\VMX”: 操作成功完成。是否在安装 VMware Workstation 后重新引导? 模块“DevicePowerOn”启动失败。 未能启动虚拟机。
【推荐系统 02】DeepFM、YoutubeDNN、DSSM、MMOE
Use of dotween
uniapp 在onLaunch中跳转页面后,点击事件失效解决方法
A case of compiling QT file qmake compiling script
Records on the use of easyflash v3.3
What does intermediate software evaluator test
How to play video on unityui
Ping tool ICMP message learning
Online hard core tools