Re: [gem5-users] simObject clocks and global simulation clock

2014-12-23 Thread Anny via gem5-users
Andreas, I think my question is still not clear. I'm working on GEM5 to provide my company design team a tool that would simulate their models. Our mainly working is interconnection model. I am trying to model a given architecture with some router models. By extrenal object I mean: When I giv

Re: [gem5-users] simObject clocks and global simulation clock

2014-12-22 Thread Anny via gem5-users
Do you mean that the tick value does not change over the simulation time? Once it is fixed, its value never changes. Am I right? So the tps_value is always set to true and never to false. Anny, Andreas Hansson via gem5-users gem5.org> writes: __

Re: [gem5-users] simObject clocks and global simulation clock

2014-12-22 Thread Andreas Hansson via gem5-users
Hi Anny, I still do not understand what you are referring to. I think you have to try and up-level your question a bit. As my original response stated, the global time is discretised into Ticks, and all objects will thus convert any cycles etc to a value on this discretised timescale, just like a

Re: [gem5-users] simObject clocks and global simulation clock

2014-12-22 Thread Anny via gem5-users
I mean asynchronous object. The main question is : Is there a funtion that computes the suitable tick value for the objects in the system? Anny, Best, ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-u

Re: [gem5-users] simObject clocks and global simulation clock

2014-12-22 Thread Andreas Hansson via gem5-users
Hi Anny, I do not understand the case you are describing. What “external” object are you referring to? Andreas On 22/12/2014 16:43, "Anny via gem5-users" wrote: >Hi Andreas, > >I have one more question. > >In ticks.py, there is a variable tps_fixed initialized to false. This >value >is set to

Re: [gem5-users] simObject clocks and global simulation clock

2014-12-22 Thread Anny via gem5-users
Hi Andreas, I have one more question. In ticks.py, there is a variable tps_fixed initialized to false. This value is set to true in fixGlobalFrequency function. Is there a case where this value is not changed to true? Suppose that tick value is fixed to 10 ps, when an external object that comes

Re: [gem5-users] simObject clocks and global simulation clock

2014-12-19 Thread Anny via gem5-users
Ok thank you Andreas for your reply, Best, Anny ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] simObject clocks and global simulation clock

2014-12-19 Thread Andreas Hansson via gem5-users
No. There is a global time, and we discretise it into units of Ticks, by default ps. You can set if to any arbitrarily fine-grained quanta. Andreas On 19/12/2014 11:48, "Anny via gem5-users" wrote: >All objects must have a clock? > >Anny, > > >___ >ge

Re: [gem5-users] simObject clocks and global simulation clock

2014-12-19 Thread Anny via gem5-users
All objects must have a clock? Anny, ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] simObject clocks and global simulation clock

2014-12-19 Thread Andreas Hansson via gem5-users
Hi Anny, As I said in my last e-mail response: "At run time, we turn relative time in cycles into absolute time when scheduling/executing events in the system.² Thus all events will be scheduled on an absolute time scale. and "There is a global absolute time in gem5, and it is measured in the a

Re: [gem5-users] simObject clocks and global simulation clock

2014-12-18 Thread Anny via gem5-users
Hi, Thank you Andreas. The tick value may not be prefixed because it may be equal to the pgcd of clock periods of all objects in the system, Am I rignt? Othewise, this is not accurate. I have another question about this: In gem5, objects can have clocks or not (no clocked objects exist). What

Re: [gem5-users] simObject clocks and global simulation clock

2014-12-16 Thread Andreas Hansson via gem5-users
t 4:04 PM To: Anny mailto:anya.k...@gmail.com>>, gem5 users mailing list mailto:gem5-users@gem5.org>> Subject: Re: [gem5-users] simObject clocks and global simulation clock Ticks is the basic unit of time in gem5. gem5 uses this for synchronization. Every system cycle is made up of

Re: [gem5-users] simObject clocks and global simulation clock

2014-12-16 Thread Vanchinathan Venkataramani via gem5-users
Ticks is the basic unit of time in gem5. gem5 uses this for synchronization. Every system cycle is made up of n number of ticks ticks. For a system unit with frequency = 2 GHZ, one cycle = 500 ticks On Tue, Dec 16, 2014 at 7:04 PM, Anny via gem5-users wrote: > > Hi all, > > I have a question a

[gem5-users] simObject clocks and global simulation clock

2014-12-16 Thread Anny via gem5-users
Hi all, I have a question about clocks on gem5. In gem5, it seems that there is a global simulation clock and every simObject has a clock domain. The eventq is sorted in time. When two objects with two different clocks schedule two events on eventq, how the order is determined since the two object