Emulator a spi-flash (eg SST25VF040 ) with CPLD and SRAM.
The url of the svn repository is: https://opencores.org/websvn/listing/spi2ram/spi2ram