Hi,

I am trying get the pointers to CPUs from RubyMemoryControl.

I tried to pass a System pointer from configs/ruby/MOESI_CMP_directory.py
to RubyMemoryControl.py similar to that in BaseCPU.py or Process.py.
But I got the following error message when running the simulator with Ruby.

warning: add_child('system'): child 'system' already has parent
Global frequency set at 1000000000000 ticks per second
Exception RuntimeError: 'maximum recursion depth exceeded in
__subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
Exception RuntimeError: 'maximum recursion depth exceeded while calling a
Python object' in <type 'exceptions.RuntimeError'> ignored
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File
"/home/wangh/fusionsim/codebase/vFINAL_000/gem5_integ/src/python/m5/main.py",
line 356, in main
    exec filecode in scope
  File
"/home/wangh/fusionsim/codebase/vFINAL_000/gem5_integ/configs/example/ruby_fs.py",
line 129, in <module>
    Simulation.run(options, root, system, FutureClass)
  File
"/home/wangh/fusionsim/codebase/vFINAL_000/gem5_integ/configs/common/Simulation.py",
line 206, in run
    m5.instantiate(checkpoint_dir)
  File
"/home/wangh/fusionsim/codebase/vFINAL_000/gem5_integ/src/python/m5/simulate.py",
line 62, in instantiate
    for obj in root.descendants(): obj.adoptOrphanParams()
  File
"/home/wangh/fusionsim/codebase/vFINAL_000/gem5_integ/src/python/m5/SimObject.py",
line 957, in descendants
    for obj in child.descendants():

Any suggestions?

Bonzi
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to