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