Hi Xiangyu,

I think the latest few versions cannot run directly. In my case, I annotate the following codes.

        system.cpu[i].interrupts.pio = ruby_port.master
        system.cpu[i].interrupts.int_master = ruby_port.slave
        system.cpu[i].interrupts.int_slave = ruby_port.master

If you are still unable to run the simulation, please annotate "options.use_map = True" too.

Tao

On 03/29/2012 05:12 PM, Rio Xiangyu Dong wrote:

Is this feature available on latest Gem5?

I tried to run a simple simulation out of box, but got the error message:

Traceback (most recent call last):

  File "<string>", line 1, in <module>

  File "/gem5/src/python/m5/main.py", line 357, in main

    exec filecode in scope

  File "configs/example/se.py", line 181, in <module>

    system.cpu[i].interrupts.pio = ruby_port.master

  File "/gem5/src/python/m5/SimObject.py", line 758, in __setattr__

    % (self.__class__.__name__, attr)

AttributeError: Class ArmInterrupts has no parameter pio

Thank you!

Best,

Xiangyu


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

Reply via email to