Altera_Forum
Honored Contributor
15 years agoNeed help designing zero-wait-state memory.
Hi, I have an "economy" Nios2 core interfacing relatively slow external RAM chip.
I want to help with interrupt processing performance little bit by placing exception handling code in zero-wait-state on chip memory. So far I am experiencing problems interfacing to the onchip ram. It seems I cannot achieve zero-wait-state mode. Processor is capturing data on the bus from the previous cycle. Looks like I have to add a wait state. Rith now I am feeding the ram block with the same system clock the cpu runs at. Should I play with generating a second clock, which is out of phase to the system clock to make it work with zero wait states? Do you know if there is an example design I can look at to learn how to do it right, with no need for any wait states? Thanks, Pszemol