Forum Discussion
JPrig
Occasional Contributor
7 years agoHow to generate a .dat file for on-chip flash for simulation?
Hi, I generated a User Flash Memory IP for a Max 10 device. In the wizard I chose to initialize the UFM from a user-defined file, which for simulation needs to be a .dat file. However, I cannot fig...
RichardT_altera
Super Contributor
7 years agoYou can use below code for your .dat file. Please try and see whether it works.
1. 00000000
2. 00000001
3. 00000002
4. 00000003
5. ...
6. ...
7. 000047FA
8. 000047FB
9. 000047FC
10. 000047FD
11. 000047FE
12. 000047FF
- JPrig7 years ago
Occasional Contributor
Hi Shyan,
thanks for the help, but unfortunately it did not work.
The tool still complains that it cannot open the file, even though the file is in the same directory and the top-level UFM auto-generated file.
Regards,
Julia