tinyfpga / TinyFPGA-BX

Other
273 stars 94 forks source link

Add simulation commands to example/picosoc #36

Open kanade-k-1228 opened 1 year ago

kanade-k-1228 commented 1 year ago

Hi,

I've added simulation to this sample code. The major changes I made are as follows:

  1. Added simulation command to Makefile.
  2. Added a simple shell script for padding the binary written to SPI Flash.
    • Is there an option of tinyprog available to output the binary written to the SPI flash as a file?
  3. Added a define in C to use single IO mode during simulation.
    • Because the spiflash module does not support dual IO mode.

simulation