PULP Community
How to simulate the bootloader with flash S25fs256s verilog model for pulpino? - Printable Version

+- PULP Community (https://pulp-platform.org/community)
+-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1)
+--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2)
+--- Thread: How to simulate the bootloader with flash S25fs256s verilog model for pulpino? (/showthread.php?tid=101)



How to simulate the bootloader with flash S25fs256s verilog model for pulpino? - zhouqiang - 05-25-2019

Hi,
  I want to try to simluate the bootloader with flash S25fs256s,  so that I can simluate with the  flash. I have found the verilog model of S25fs256s according to https://github.com/pulp-platform/pulpissimo/tree/master/rtl/vip/spi_flash, and I have instantiated the generic pad for each signal coming from my SPI model according to https://github.com/pulp-platform/pulpino/issues/16, and in order to test boot_code, I changed MEMLOAD on https://github.com/pulp-platform/pulpino/blob/master/vsim/tcl_files/run.tcl, from PRELOAD to STANDALONE.  I instantiated the flash module in the pulpion_top file, but when I run "make testSPIMASTER.vsim" or "make helloworld.vsim" ,  but still encounter the error  "RX string: ERROR: Spansion SPI flash not found” ,can someone tell me how to deal with the error? How can make it to find the Spanison SPI flash ?