working note-2023/7/25

发布时间 2023-08-01 11:23:43作者: 青柠雨的夜晚

1. production of coe ducument

coe file primary format:

<Radix_Keyword> = Value ; Optional Comment
<Data_Keyword> = Data_Value1, Data_Value2, Data_Value3;

 Matter Need Attention:How can an abnormal situation occur that can try to re-write, there may be a problem with the input method.

coe:
memory_initialization_radix  = 16;
memory_initialization_vector =
00000,
00000,
00000,
00001,
00001;
MIF:
WIDTH=18;
DEPTH=1024;

ADDRESS_RADIX=UNS;
DATA_RADIX=HEX;

CONTENT BEGIN
0    : 00000;
1    : 00000;
2    : 00000;
3    : 00001;
4    : 00001;
END;

PS: For MIF, 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.

2. Linear && gamma

perfect introductory article: https://zhuanlan.zhihu.com/p/37800433

as shown: