[gem5-users] simObject clocks and global simulation clock
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 objects have different clocks? Are all objects synchronious? it seems that everything in the system is based of one clock (global simulation clock)? It is binding. 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
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 gem5-users@gem5.org wrote: 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 objects have different clocks? Are all objects synchronious? it seems that everything in the system is based of one clock (global simulation clock)? It is binding. Best, Anny. ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] modifying the components of gem5
Dear Andreas HanssonI prey this msg find you in complete health and full happiness state. I have been studying gem5 simulator for last 10 month ago. but now because information starvation i am stopping my research. if possible plz guide me in following issues:1. when i want to modify a file in gem5 component, how i can see the result in stats.txt? my mean is what i must be do after modifying this file until see the result.2. my main studies are on faults and fault injection to network on chip. in continue my studies, i want know about router idle time. I want know weather the router have idle time on not, if yes where i can realize that.3. I want to modify the router files(which file must be change from .cc .h .py)? 4. if i wanna modify the flit structure what i must be do?sry if my questions are heterogeneous. i am really confused.i wait for kindly response..Best ---Babak Aghaei Ph.D candidate ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users