Altera_Forum
Honored Contributor
14 years agoMapping SPI flash memory span to avalon bus.
Hi All,
I have a board using an SPI serial Flash hooked on the FPGA. I would like to map the whole span of this memory on the avalon bus for making it available to the Nios (some strings in that flash that I want to be able to address directly with pointers). In other words, the goal is to abstract the serial interface. How to achieve this? I have not seen any SOPC components that does this in the available memory interfaces. From a bit of research it seems the EPCS chips are SPI-based. Would an EPCS controller do the job, or do I require to write my whole state machine + wrapper? Thanks for any help. Martin