Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Could anyone suggest where I can find information about that? --- Quote End --- The two options that will yield useful information are; 1. Use Modelsim to simulate the design 2. Use SignalTap II to trace the design in hardware You would create a Qsys design with DDR + DMA + on-chip RAM + NIOS II. For control, depending on your preferences, you can use the NIOS II (simulation+synthesis) or the Avalon-MM BFM master (simulation) or the JTAG-to-Avalon bridge (synthesis). You would then decide which sequences you want to trace, eg., NIOS II read/writes, DMA read/write single/burst. You'd initially use simulation to see whether those transactions operated as you expect, and then you'd trace them in SignalTap II to confirm the transactions match simulation (they should). At that point, you might find the simulation takes too long (due to the presence of a NIOS II processor and DDR controller), and simply stick to using SignalTap II for tracing the DDR activity. Why use simulation and not just go straight to hardware? Well, in hardware you won't be able to probe the DDR bus activity (since SignalTap II probing of the DDR interfaces is not possible), but you would be able to see these signals in Modelsim (since the simulation would include a memory model). In both simulation and hardware you can see the Avalon-MM slave activity. However, since the DDR controller uses FIFOs, you'll need to send enough data to fill those FIFOs before you start seeing wait-states generated on the Avalon-MM bus. You can use the simulation to figure out what traffic is needed to swamp the DDR controller FIFOs. DDR is fast for bursts and slow for random accesses. Make sure your tests include both styles of access. If your application requires random access, and DDR is too slow, then you should look at using QDRII+ SRAM. Cheers, Dave