I can't find the code to run the binary file in the simulation


I have the Artix-7 35T FPGA and I’m following the freedom platform github.

There was a problem while Verilog simulation. ( make in freedom/rocket-chip/vsim )

How do I upload a user application(demo_gpio) in the Verilog simulation?

Despite analyzing source files and Makefile, Makefrag in /vsim folder , code to upload a binary file to memory( ex. $readmemh ) was not found.

Where is the part of the simulation that uploads user APP to SPI Flash?

Thank you!