Forum Discussion
I hve in fact used the On-Chip Flash Intel FPGA IP Core (thru Platform Designer) to initialize the UFM with a .mif file and a .dat file for simulation.
- For Initialize flash content selected without my custom init files it says as follows. "The on-chip flash will be initialized from the ufm_onchip_flash_0.hex
ufm_onchip_flash_0.dat for simulation "
However I cannot find these files anywhere . If I could at least locate
these files I could compare the .hex to the .dat files to each other which I
could then use as an example to create my own .dat file. Why are they
not present? Right now I have my own custom .mif and .hex file but no
.dat file. Can you advise me as to their path or otherwise just send
them both to me?
The Embedded Design Handbook and the Convert Programming Tool
refer to .sof and .pof and in regards to NIOS which I am not using in my
project. I just need simply to go from .hex to .dat. I have seen hex2bin
apps available but is a .dat format required for simulation equivalent to a
binary format?
also, 2. There does exist an "INIT_FILENAME_SIM" field in the
altera_onchip_flash.v file that is initially set to "". It is supposed to be
automatically set to "MyFileName. dat" upon finishing with the
Platform Designer for the UFM but it remains at "" so it does not
seem to accept any file names for init sim that I entered into Platform
Designer so there could be an issue with the UFM IP Core Generator or
Platform Designer?
also, 3. I was advised to make changes to the Set_module_assignment
postgeneration.simulation.init paramater in the hw_tcl file. There is no
hw_tcl file present for the UFM. Hoever I can it one using Platform
but then the generated ufm_hw.tcl file does not contain the said
paramater so still I cannot affect it.