hex generating

25 views
Skip to first unread message

Zied Omri

unread,
Jun 2, 2021, 11:02:38 AM6/2/21
to OpenPiton Discussion
Hi all, 
how can i generate a compatible hex file from a c code to execute it later ?
thanks, 
Zied

Jonathan Balkind

unread,
Jun 15, 2021, 1:31:00 PM6/15/21
to OpenPiton Discussion
Hi Zied,

I'm not entirely sure what you mean by a hex file, but if you compiled a riscv ELF using the riscv toolchain provided through ariane, then you can use the -precompiled flag later to load the binary in simulation. The readme has some steps on doing this for riscv-tests.

Thanks,
Jon


--
You received this message because you are subscribed to the Google Groups "OpenPiton Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpiton+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpiton/57d20011-eb4f-40ea-bc35-7d355f20f8dan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages