Altera_Forum
Honored Contributor
12 years agoEasy memory latency demo using SRAM and SDRAM?
I'm teaching a course in computer architecture and I'm using the DE1 boards as a teaching aid. In previous semesters I focused more on gate-level design using VHDL but now I want to move to a higher level of abstraction. One thing I want to do is demonstrate the relative access times of SDRAM and SRAM (or on-chip memory) using simple matrix operations running on a DE1 basic computer, or a similarly simple Nios II processor. However, the simple C programs I've written show no performance difference between operations on matrices stored in SDRAM and matrices stored in on-chip memory. Should I be using tightly coupled memory to bypass the avalon switching fabric, or is there something else I'm missing?