On Mon, 25 Jul 2011, Carole-Jean Wu wrote:

Hi Nilay,


This is after applying your latest changes to gem5 source code, right?

With my current setup, timingCPU still does not work for X86+Ruby.


root@carole-software-lab-nehalem:~/gem5-stable# ./build/X86_FS/gem5.opt
configs/example/ruby_fs.py -t

gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Jul 25 2011 16:45:27
gem5 started Jul 25 2011 20:17:23
gem5 executing on carole-software-lab-nehalem
command line: ./build/X86_FS/gem5.opt configs/example/ruby_fs.py -t
warning: add_child('terminal'): child 'terminal' already has parent
Error: could not create sytem for ruby protocol MI_example
Traceback (most recent call last):
 File "<string>", line 1, in <module>
 File "/home/carole/gem5-stable/src/python/m5/main.py", line 356, in main
   exec filecode in scope
 File "configs/example/ruby_fs.py", line 123, in <module>
   system._dma_devices)
 File "/home/carole/gem5-stable/configs/ruby/Ruby.py", line 70, in
create_system
   % protocol)
 File "<string>", line 1, in <module>
 File "/home/carole/gem5-stable/configs/ruby/MI_example.py", line 151, in
create_system
   system.dma_cntrl.dma_sequencer.port = dma_device.dma
 File "/home/carole/gem5-stable/src/python/m5/SimObject.py", line 604, in
__getattr__
   % (self.__class__.__name__, attr)
AttributeError: object 'LinuxX86System' has no attribute 'dma_cntrl'


Does not seem like you have updated to the latest version. The latest changeset is 8476 (this gem5, and not gem5-stable). In particular the line 151 from configs/ruby/MI_example.py, should look
     exec("system.dma_cntrl%d.dma_sequencer.port = dma_device.test" % i)

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

Reply via email to