Altera_Forum
Honored Contributor
18 years agoUser Flash Memory Simulation in Quartus II
Hi all,
My device is EPM570T100C5. In Quartus II, i use UFM. All settings are below: SPI interface portocol Read/Write Base mode no .mif file 5.56MHz osc(for simulation) 500,000 ns erase time(for simulation) 1,600 ns program time(for simulation) In the Waveform file, i input 2 data. The first data is at the time of 10us and the second at 730us. For the first data, the UFM can erase, write and read correctly. But the second data can not write into the UFM, though in the Write Step, the waveform of opcode, address and data is right in simulation report. The Erase Step cost just about 10us(not 500us which i set) and the Write Step cost a long time(about 500us). When reading, the output is all 1s. It seems that after erasing, the Read Step is following. Why?Is there any requirement between two Erase Steps?Or, someting wrong during simulation?