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

Reply via email to