# Launching the program with loading from AHBROM

**URL:** <https://discourse.grlib.community/t/launching-the-program-with-loading-from-ahbrom/323>\
**Category:** NOEL-V\
**Created:** [24 March 2023 15:16 UTC](https://discourse.grlib.community/t/launching-the-program-with-loading-from-ahbrom/323 "2023-03-24T15:16:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![michelshmv](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@michelshmv](https://discourse.grlib.community/u/michelshmv)\
**Post date:** [24 March 2023 15:16 UTC](https://discourse.grlib.community/t/launching-the-program-with-loading-from-ahbrom/323/1 "2023-03-24T15:16:24Z")

</div>

Hello  
I need to run the processor in a simulation with a program from AHBROM.  
I tried using the ahbram\_gen program from the elf file but no result: ram is empty.  
Sorry for the stupid question, but how exactly should I load the program into NOEL-V?  
I am using the riscv-gaisler-elf compiler.

---

<div class="post-metadata">

**Author:** ![JonathanJ](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@JonathanJ](https://discourse.grlib.community/u/JonathanJ)\
**Post date:** [29 March 2023 07:10 UTC](https://discourse.grlib.community/t/launching-the-program-with-loading-from-ahbrom/323/2 "2023-03-29T07:10:41Z")

</div>

Hi!  
Are you sure you want to load the program into ROM and not RAM?  
In any case, if you are in a design directory, for example noelv-generic you can call the recipes `make soft` and `make prom`. Otherwise you can compile your program on your own using the toolchain and then pass the name of the srec file to your simulator, in most cases using the argument `-gramfile="program.srec"` or similarly for the rom `-gromfile="program.srec"`

---

<div class="post-metadata">

**Author:** ![michelshmv](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@michelshmv](https://discourse.grlib.community/u/michelshmv)\
**Post date:** [29 March 2023 07:27 UTC](https://discourse.grlib.community/t/launching-the-program-with-loading-from-ahbrom/323/3 "2023-03-29T07:27:47Z")

</div>

Hi,  
Thanks for the answer! I want to use NOEL-V without modeling, so I want to generate a ROM
