当前位置:网站首页>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]
- China Southern Airlines pa3.1
- [pytorch 07] hands on deep learning chapter_ Preliminaries/ndarray exercises hands-on version
- Use load_ decathlon_ Datalist (Monai) fast loading JSON data
- Online hard core tools
- Go Slice 比较
- [actual combat] transformer architecture of the major medical segmentation challenges on the list --nnformer
- P1031 [noip2002 improvement group] average Solitaire
- 软考中级电子商务师含金量高嘛?
- I plan to take part in security work. How about information security engineers and how to prepare for the soft exam?
猜你喜欢
Transaction rolled back because it has been marked as rollback only
2021-04-23
Ping tool ICMP message learning
When do you usually get grades in the soft exam? Online pedaling?
枪出惊龙,众“锁”周之
I plan to take part in security work. How about information security engineers and how to prepare for the soft exam?
单调性约束与反单调性约束的区别 monotonicity and anti-monotonicity constraint
Mpx 插件
Différences entre les contraintes monotones et anti - monotones
1321: [example 6.3] deletion problem (noip1994)
随机推荐
Find the greatest common divisor and the least common multiple (C language)
2021-05-21
2021-04-08
P1031 [noip2002 improvement group] average Solitaire
QT document
一些线上学术报告网站与机器学习视频
[machine learning 03] Lagrange multiplier method
SQL Server knowledge collection 11: Constraints
Mendeley -- a free document management tool that automatically inserts references into papers
Cmake learning manual
shardingsphere分库分表示例(逻辑表,真实表,绑定表,广播表,单表)
Is the soft test intermediate useful??
请问申购新股哪个证券公司开户是最好最安全的
Static semantic check of clang tidy in cicd
1321: [example 6.3] deletion problem (noip1994)
Deconstruction and assignment of variables
Mendeley--免费的文献管理工具,给论文自动插入参考文献
Simple and easy to modify spring frame components
Some online academic report websites and machine learning videos
从色情直播到直播电商