Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21226 Discussions

Format of initialization file for MAX10:UFM simulation

ken_51
Beginner
608 Views

Device: MAX10 10M02SCE144
Environment Windows 11/Quartus Prime Lite 17.0/ModelSim ALTERA STARTER EDITION 10.5b

 

I am using Altera On-Chip Flash IP. I want to set the initial values for my UFM. I understand that for a real device, the initialization file should be specified as .hex or .mif. However, I do not know the detailed format of the initialization file .dat for simulation.

 

According to the flash memory user guide, the format of the .dat file is "32-bit data width file: use word address". But is this file binary or text? If text, what are the delimiters? All these details are unknown.

 

Can you please give me the details of the .dat file? A sample would be even more helpful. Thank you in advance.

Labels (1)
0 Kudos
4 Replies
Farabi
Employee
559 Views
0 Kudos
Farabi
Employee
559 Views

I am sorry i just realized you are using MAX10. Let me check and get back to you again.


regards,

Farabi


0 Kudos
ken_51
Beginner
534 Views

I was able to solve this problem on my own.

 

The file format of the .dat file for the simulation is as follows
- Text file.
- One line of data per line. Next data on a new line. 4 bytes hexadecimal.

 

Thank you very much.

0 Kudos
Farabi
Employee
406 Views

Hello,


Good to hear you solved the problem. I will return this case back to community.


regards,

Farabi


0 Kudos
Reply