​Hello,

I have started working with GEM5 and I have two questions. I hope that you
can help me.​

1. What is the relation/difference between python scripts (e.g.
configs/example/fs.py) and config.ini file?
2. I would like to use gem5 as a library, load it and control it from
outside. I am able to compile gem5 as a library. I am also able to issue
commands for gem5 SE mode to load some binary and execute it. Currently, I
am using config.ini file (CxxConfigFileBase->load(config.ini)) to setup my
configuration. However, for the FS mode, my config.ini is not well defined
and I get some errors when I try to start the gem5 from outside (I load
gem5 as a library). When I try to start gem5 in FS mode (x86), from the
command line, using configs/example/fs.py, everything works well. Is it
possible to somehow intercept startup procedure of GEM5 and load the fs.py
in the same way I load config.ini (CxxConfigFileBase->load(config.ini)).

Best regards,
Jasmin JAHIC
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to