Hello,

I am trying to setup an asymmetric multiprocessor using two different types
of Alpha cores, one O3 and the other TimingSimple. I modified the fs.py
configure script by simply appending one more core to the cpu list of the
test_sys as follows:

test_sys.cpu = [TestCPUClass(cpu_id=i) for i in xrange(np - 1)]
test_sys.cpu.append(DerivO3CPU(cpu_id=np - 1))

This doesn't work however and gives me the following error:

command line: ./build/ALPHA_FS/m5.opt configs/myconfigs/fs.py -n 3 --caches
-t
Global frequency set at 1000000000000 ticks per second
Error in unproxying param 'system' of (orphan)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/tony/m5/src/python/m5/main.py", line 359, in main
    exec filecode in scope
  File "configs/myconfigs/fs.py", line 207, in <module>
    Simulation.run(options, root, test_sys, FutureClass)
  File "/home/tony/m5/configs/common/Simulation.py", line 235, in run
    m5.instantiate(checkpoint_dir)
  File "/home/tony/m5/src/python/m5/simulate.py", line 64, in instantiate
    for obj in root.descendants(): obj.unproxyParams()
  File "/home/tony/m5/src/python/m5/SimObject.py", line 737, in
unproxyParams
    value = value.unproxy(self)
  File "/home/tony/m5/src/python/m5/proxy.py", line 94, in unproxy
    (self.path(), self._pdesc.ptype_str, base.path())
AttributeError: Can't resolve proxy 'any' of type 'System' from '(orphan)'

When I do it this way it works fine and boots the kernel:

test_sys.cpu = [TestCPUClass(cpu_id=0), TestCPUClass(cpu_id=1),
DerivO3CPU(cpu_id=2)]

The problem is I want this to be configurable. Is there a way to do this
without hard coding the cpu list? Or should I take a different approach
altogether?

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

Reply via email to