Hello guys,
Nithesh I've been trying your scripts but I got this error:

fatal: system.tol2bus has two ports with same range:
system.cpu.interrupts.pio
system.l2.cpu_side

Apparently, system.l2.cpu_side is using the same port range, but I dont
know where system.cpu.interrupts.pio is defined, I guess somewhere in the
funcion cpu.createInterruptController()? Could I change the port range of
your script so it is not the same that interrupts.pio is using?

On the other hand, I need to use your configuration in FS mode. Do you
think I can easily modify it to run it in FS mode?
I guess I will need to indicate FullSyste=True and add something like:


if options.kernel is not None:
    test_sys.kernel = binary(options.kernel)

To tell the script where to find the Kernel. Do you think I should modify
anything else?

Thanks a lot,
Alberto


2014-05-20 20:05 GMT+02:00 Alberto Martinez <alber...@gmail.com>:

> Thanks a lot to you all!
> Nithesh I will try your scripts as soon as I get to my faculty!
> Again thanks a lot, you made my day a better one! ;)
>
> Alberto
>
>
> 2014-05-20 20:02 GMT+02:00 Nithesh Kurella <nithes...@gmail.com>:
>
> Hi Mitch,
>>
>> Your scripts were of great help and saved us a lot of time.
>>
>> Hi Alberto,
>>
>> I have added fixes to the scripts which should allow it to work fine with
>> latest gem5. You can find them here
>> https://sites.google.com/site/nitheshkurella/scipts
>>
>> Regards
>> Nithesh
>>
>>
>>
>>
>> On Tue, May 20, 2014 at 12:55 PM, Alberto Martinez via gem5-users <
>> gem5-users@gem5.org> wrote:
>>
>>> Hello,
>>> I am trying to use a Nehalem configuration that I found in this email
>>> list right here:
>>>
>>> http://comments.gmane.org/gmane.comp.emulators.m5.users/14015
>>>
>>> But I am having some erros.
>>> I moved to config/alberto the files included in the .tar that you can
>>> see in the link I wrote (Nehalem.py, Nahalem.cfg y se2.py). And I run:
>>>
>>>  ./build/X86_FS/gem5.opt configs/alberto/se2.py
>>> --cfg=configs/alberto/nehalem.cfg
>>> --cmd=./tests/test-progs/hello/bin/alpha/linux/hello
>>>
>>> I found 2 errors complaining about 2 attributes in the BranchPredictor,
>>> and I deleted them (cause there were not important for what I need to do),
>>> but I still have some erros I cannot solve.
>>>
>>> First I have:
>>>
>>> Traceback (most recent call last):
>>>   File "<string>", line 1, in <module>
>>>   File "/home/amartinez/gem5/src/python/m5/main.py", line 387, in main
>>>     exec filecode in scope
>>>   File "configs/alberto/se2.py", line 96, in <module>
>>>     detailed_cpu = Nehalem(cpu_id = 0,
>>> switched_out=detailed_switched_out, **cpu_options)
>>>   File "/home/amartinez/gem5/src/python/m5/SimObject.py", line 672, in
>>> __init__
>>>     setattr(self, key, val)
>>>   File "/home/amartinez/gem5/src/python/m5/SimObject.py", line 767, in
>>> __setattr__
>>>     % (self.__class__.__name__, attr)
>>> AttributeError: Class Nehalem has no parameter clock
>>>
>>>
>>> But "clock" attribute is defined in Nehalem.cfg like that:
>>>
>>> [cpu]
>>> type = nehalem
>>> clock = 2GHz
>>>
>>> I tried deleting it from there, and adding it in Nehalem.py like:
>>>
>>> class Nehalem(DerivO3CPU):
>>>     clock = 2
>>>     LQEntries = 48
>>>     SQEntries = 32
>>>     LSQDepCheckShift = 0
>>>     LFSTSize = 1024
>>>     SSITSize = 1024
>>>     decodeToFetchDelay = 1
>>>     renameToFetchDelay = 1
>>> ....
>>>
>>> But then I got this error:
>>>
>>>
>>>   File "<string>", line 1, in <module>
>>>   File "/home/amartinez/gem5/src/python/m5/main.py", line 387, in main
>>>     exec filecode in scope
>>>   File "configs/alberto/se2.py", line 7, in <module>
>>>     from Nehalem import *
>>>   File "configs/alberto/Nehalem.py", line 78, in <module>
>>>     class Nehalem(DerivO3CPU):
>>>   File "/home/amartinez/gem5/src/python/m5/SimObject.py", line 254, in
>>> __init__
>>>     setattr(cls, key, val)
>>>   File "/home/amartinez/gem5/src/python/m5/SimObject.py", line 348, in
>>> __setattr__
>>>     "Class %s has no parameter \'%s\'" % (cls.__name__, attr)
>>> AttributeError: Class Nehalem has no parameter 'clock'
>>>
>>>
>>> Actually complaining because I added that parameter. What am I doing
>>> wrong? Am I using this script and configuration wrong? How should I use it
>>> then?
>>>
>>> Thanks a lot for your attention,
>>> Alberto
>>>
>>>
>>> _______________________________________________
>>> gem5-users mailing list
>>> gem5-users@gem5.org
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>
>>
>
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to