OpenCores
no use no use 1/1 no use no use
Vmem
by mojtabaebrahimi85 on Mar 7, 2012
mojtabaebrahimi85
Posts: 11
Joined: Jan 15, 2012
Last seen: Mar 18, 2013
Is there any manual for creating vmem file on this website?

Actually, I want to compile a c program and run it on the OpenRISC processor. If my code is a single file, everything is OK, but if my code is in several files, I cannot compile them using "make rtl-test" command. So, I should create vmem file by myself and give it the OpenRISC using USER_VMEM option.

Any suggestion?

Thanks,
Mojtaba
RE: Vmem
by julius on Mar 9, 2012
julius
Posts: 363
Joined: Jul 1, 2008
Last seen: May 17, 2021
Hi

ORPSoC has a little custom tool to generate VMEM files, but you can also use the srecord tool to generate them from whatever you want.

http://srecord.sourceforge.net/

Regarding the multiple-file thing, that is a known limitation with ORPSoC's build makefiles, but you could just compile the app into a "driver" library and pass the single main file which calls the function (such as a benchmark program or whatever.)

Julius

no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.