Hi, thanks for quick reply Mahmood, I appreciate it.. I think I got the idea.. By looking inside the "config.ini" file I changed internal module attributes of the CPU by adding lines
... CPUClass.issueToExecuteDelay = 2 CPUClass.decodeWidth = 4 CPUClass.commitWidth = 4 CPUClass.issueWidth = 4 CPUClass.numIQEntries = 32 ... and for the next simulation, I got what I expected. 'config.ini' and 'stats.txt' has changed (the IPC reduced significantly for example) I assume I did the correct thing :) ,means if you noticed what I have done is wrong please inform me :) Regards, Burak 2012/1/7 Mahmood Naderan <[email protected]> > Hi > > >Can someone please explain what is the benefit of using script file > (se.py) > Not all attibutes can be passed to command line. For example, number > of mshr, prefetcher, .... So they should be defined in script > > > >Is there any easier option to do this modification? > See how Caches.py works and is called in se.py > Then you can also create a similar config file for cpu, and modify the > parameters you want. > > Hope that helps > > On 1/7/12, Mehmet Burak Aykenar <[email protected]> wrote: > > Hello everyone, > > > > I have two questions: > > > > 1) I see two ways (if I am not wrong) to modify the properties of the CPU > > and memory hierarchy. The first one is using command line options like > "-n > > 2" or "--l1d_size=L1D_SIZE" etc.. The second one is modifying the "se.py" > > configuration file and adding objects and assign attributes of the > objects > > new values for example: "cpu = SimpleCPU(clock = '2GHz', width = 2)" > > > > Is there any difference between these two ways to modify the CPU or > memory > > properties? Can someone please explain what is the benefit of using > script > > file (se.py) > > > > 2) I want to change the internal structures of the CPU like > "numIQEntries" > > or "commitWidth".. I think I need to change the O3CPU.py file in the /src > > directory and build the gem5 again.. Is there any easier option to do > this > > modification? Building gem5 each time is a time consuming and inefficient > > way.. > > > > Thanks in advance, > > Burak > > -- > > *Mehmet Burak AYKENAR > > Graduate Student of Computer Engineering > > Research Assistant > > **TOBB ETU Z-10 > > Microprocessors Laboratory* > > * > > mbaykenar.etu.edu.tr > > [email protected]* > > > > > -- > -- > // Naderan *Mahmood; > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > !DSPAM:6374,4f083e3e7441685123195! > > > -- *Mehmet Burak AYKENAR Graduate Student of Computer Engineering Research Assistant **TOBB ETU Z-10 Microprocessors Laboratory* * mbaykenar.etu.edu.tr [email protected]*
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
