pulp-platform / pulpino

An open-source microcontroller system based on RISC-V
http://www.pulp-platform.org
Other
899 stars 298 forks source link

Understanding how an example is loaded into Pulpino platform #362

Closed phuong2403 closed 4 years ago

phuong2403 commented 4 years ago

Hi all, I am a newbie in pulpino. I have already finished tests with examples with ri5cy toolchain on my laptop. The problem is that I want to run a simulation on Modelsim in a computer in my lab which is not support for ris5cy toolchain. So I want to understand the way an example is loaded into Pulpino to pick up necessary files and make a simulation on another computer. I am thinking of taking .elf (for example helloworld.elf) which is generated after make helloworld.vsim to put into Modelsim together with .sv source codes. But I do not know if I need to modify anything to load that file into the simulation? I really appreciate anyone who can help. Thank you so much.