The point of the config.ini is to give a very low level confirmation of the
parameter settings so you can know what your simulation script is really
doing.  It's the equivalent of reading the assembly code to make sure your
compiler isn't broken (well, not exactly, but close).  Once you've
confirmed that your clock settings in the script are getting passed through
correctly to the simulation, you really shouldn't have to look at it again.

Steve


On Thu, Feb 14, 2013 at 3:45 AM, Andreas Hansson <[email protected]>wrote:

>  The config.ini is probably not the best place to look as there are no
> units. If I remember correctly, the json is always outputting time in
> seconds.
>
>  Andreas
>
>   From: Jyothish <[email protected]>
> Reply-To: gem5 users mailing list <[email protected]>
> Date: Wednesday, 13 February 2013 21:14
> To: "[email protected]" <[email protected]>
> Subject: Re: [gem5-users] config.ini doubt
>
>   I guess this is just pointing to the fact that it is confusing. An
> explicit frequency descriptor in the config.ini can make it a little less
> confusing.
>
> On 13/02/13 21:08, Amin Farmahini wrote:
>
>  Sorry, my fault. so it should be clock period in ps and 1 ps is 1 tick.
>
>  Amin
>
>
> On Wed, Feb 13, 2013 at 3:05 PM, Jyothish <[email protected]> wrote:
>
>>  Hi,
>>
>> I gave the following in the script
>>     test_sys.cpu[0].clock="1GHz"
>>     test_sys.cpu[1].clock="1.5625GHz"
>>     test_sys.cpu[2].clock="1.5625GHz"
>>     test_sys.cpu[3].clock="2GHz"
>>
>> The corresponding config.ini values are:
>>
>> [system.cpu0]
>> --deleted--
>> clock=1000
>> --deleted--
>>
>> [system.cpu1]
>> --deleted--
>> clock=640
>> --deleted--
>>
>> [system.cpu2]
>> --deleted--
>> clock=640
>> --deleted--
>>
>> [system.cpu3]
>> --deleted--
>> clock=500
>> --deleted--
>>
>>
>>
>> On 13/02/13 21:00, Amin Farmahini wrote:
>>
>>  It is clock frequency in MHz.
>>
>>  Thanks,
>>  Amin
>>
>>
>> On Wed, Feb 13, 2013 at 2:33 PM, Jyothish <[email protected]> wrote:
>>
>>> Hello folks,
>>> I am starting this as an independent query. In config.ini, the clock set
>>> out is not the same as the clock in the cpu models. It is seems to be the
>>> number of clock ticks instead of the frequency. So, it would be great if
>>> there is an additional frequency handle in config.ini, as that would make
>>> it less confusing.
>>> Regards,
>>> Jyothish
>>> _______________________________________________
>>> gem5-users mailing list
>>> [email protected]
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>
>>
>>
>>
>> _______________________________________________
>> gem5-users mailing 
>> [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
>>
>
>
>
> _______________________________________________
> gem5-users mailing 
> [email protected]http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
>
> -- IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
> _______________________________________________
> 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