Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

Synchronous SRAM - Instruction and Data memory

Hello,

Has anyone implemented synchronous sram for Nios instruciton and data store (ie execute out of synch sram)? I'm sure it can be done, but I'm wondering about the performance hit for opening access, and non-sequential execution of instructions. The cache could play in here as far as actual performance.

The avalon bus supports a feedback pin to indicate timing on the transfer. That is for transfers which are not always the same length. For example, the synch sram might take three cycles for an opening access, and then one cycle there-after (as long as the address are sequential).

I am thinking that you will loose cycles in the "glue" that stitches the synch sram to the avalon bus, and thus make the performance not as good as the Asynchronous SRAM that is used on the Altera demo boards.

Has anyone looked in detail at this?

Thanks for any info.

Eric Tauch

11 Replies