I guess python script calls this create(). Did you use GDB check call stack of 
this function?

----
        '              Huang He (Henry)
       /-\\            CPU Design and Verification
      /---\'\          Advanced Micro Devices, Inc
     /-----\'`\        AMD Technology Development (Beijing) Co., Ltd.
    /-------\'`,\      Beijing, China
   /---------\' ,`7    O: +(86) 10 62801421  M: +(86) 18616862712
  /-----------\' /
 /-------------\/      [cid:[email protected]]   Visit us at: 
Facebook<https://www.facebook.com/AMD> | amd.com<http://www.amd.com/>

From: [email protected] [mailto:[email protected]] On 
Behalf Of Lu Hang
Sent: Friday, August 23, 2013 9:51 AM
To: gem5-users
Subject: [gem5-users] question about RubySystem Creation
Importance: High

Dear all,
A quick question: who creates ruby system defined in mem\ruby\system\system.hh?
There's a function:
RubySystem *
RubySystemParams::create()
{
    return new RubySystem(this);
}
in system.cc, but I searched the whole src folder and didn't find who calls 
this function. Then, how the rubysystem be created and init?

Thanks and BR.
-----------------------------------------------------------------------------------------
Lu Hang
Phd Candidate
State Key Laboratory of Computer System and Architecture
Institute of Computing Technology,Chinese Academy of Sciences
Beijing 100190, China

<<inline: image001.jpg>>

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

Reply via email to