OpenCores
Issue List
orksim_init should not require an image file #44
Closed jeremybennett opened this issue about 15 years ago
jeremybennett commented about 15 years ago

A good idea, suggested on the OpenRISC mailing list by Originally noted by Shinji Wakatsuki swaka@hdlab.co.jp

By defaut, or1ksim_init needs image_file essentially.

int or1ksim_init ( const char config_file, const char image_file, ... )

I hope or1ksim_init is allowed a following configuration. Current or1ksim occurs segmentation fault.

int or1ksim_init ( simple.cfg, NULL, ... )

In this case, or1ksim does not load image_file, just setup internal state.

I asuume a following environment. Or1kSim - TLM2.0Bus - Flash (Boot Rom) - RAM - HARDWARE Engine

Flash is responsible for loading image_file. Using above environment, image file load sequence deos not occur. Use can analysis real bus performance.

Regards, swaka

jeremybennett commented about 15 years ago

This behavior is in Or1ksim 0.3.0rc3. Note that if you don't specify a debug connection, then you will have no mechanism to load a program!

jeremybennett was assigned about 15 years ago
jeremybennett closed this about 15 years ago

Assignee
jeremybennett
Labels
Request