FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5745 Discussions

Max10 ufm modelsim simulation

Ariel
Beginner
287 Views

Hi

I'm am trying to get a working simulation in modelsim of the ufm on a MAX10 device.

I've written a simple procedure to read and write to the flash, and it work fine on the fpga itself. But so far I have not managed to simulate it correctly in the qurtus/modelsim environment. All my write operations fail and all reads return xxxx.

Cannot find any documentation regarding the correct manner to get the ufm simulated. Can anyone point me in the right direction or provide a quick example of a working simulation workflow?

Also could not find any explanation on how to construct a .dat file to initialize simulated flash.

Thank for the help,

Ariel 

0 Kudos
2 Replies
JohnT_Intel
Employee
243 Views

Hi,


May I know if you generate the testbench for the IP? Please refer to https://www.intel.com/content/dam/altera-www/global/ja_JP/pdfs/literature/hb/max-10/ug_m10_ufm.pdf for more information


Ariel
Beginner
185 Views

Hi, I have generated the test bench, and it partially runs. For example in the simulation if I request a read I do get a response from the ufm, but the output data is always XXX.  I know it is partially working because the waitrequest signal is toggled as expected. And when the data is output the readready signal is asserted on time. My problem is that no data can be written to the ufm and any time a try to read from it (in simulation) i get XXX in the output.

This is no matter if I tried to initialize the simulated memory with my own file or used the default setting in intel ip core.

would be glad for any help I can get,

Thanks

Ariel.

Reply