Hi all,
I'm moving into using DDR and DDR2 memory so I thought I would get myself up to speed by creating the simplest DDR2 simulation I could in qsys. Pity I couldn't get it to work....
Simulation Without a Memory Model
You don't get much simpler than this. A DDR2 controller with its AMM slave exported. I ran a simulation of this successfully with the DDR2 controller attempting to initialise the memory. However, as there is no memory model, it doesn't initialise properly as expected. However, so far so good.
Simulation With a Memory Model
The next stage is to add the memory model. To do this, I used some of methods used in this tutorial:
http://www.altera.com/education/demo...line-demo.html
In particular, I asked qsys to produce a test bench by adding BFM modules to the i/o.
![]()
This process produces a new qsys model with BFM modules added. This includes DDR2 memory model connected to the DDR2 controller.
![]()
Unfortunately, when I try and compile this, it doesn't like the memory model.
Quote:
Error: sdram_my_partner: Altera DDR2 Memory Model for UniPHY does not support the QUARTUS_SYNTH fileset
Error: sdram_my_partner: An error occurred
while executing
"error "An error occurred""
(procedure "_error" line 8)
invoked from within
"_error "[get_module_property DESCRIPTION] does not support the QUARTUS_SYNTH fileset""
(procedure "generate_synth" line 2)
invoked from within
"generate_synth alt_mem_if_ddr2_mem_model_top_mem_if_dm_pins_en"
Now the DDR2 controller uses ALTMEMPHY as I'm on cyclone III and UniPHY isn't an option. However, the memory model is for UniPHY. This might be the cause of the issue.
Any other ideas?
I'm targeting the Cyclone III as I had problems simulating with the Cyclone IV. I might try Cyclone V with the UniPHY as I think this is an option. I hit the same problem with Quartus 13.0 and 13.1.