Dear Jasmin, > Am 05.08.2016 um 13:10 schrieb Jasmin Jahic <[email protected]>: > > 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?
in the c++ setup of gem5 the config.ini is generated from the python description. > 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)). as mentioned before you can generate a config.ini for c++ gem5 from running once the normal gem5 with fs.py ... Regards Matthias
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
