[gem5-users] variables modified inexplicably when using m5threads

2014-12-22 Thread Zehan Cui via gem5-users
Hello, I'm trying to use m5threads to compiler my program, but encounter several errors. In brief, I found that some variables in the program are modified inexplicably. Here are two symptoms when using m5threads to run on the host machine directly (not in gem5): First, I ran 2 threads and the c

Re: [gem5-users] How to enable a device

2014-12-22 Thread 骆然 via gem5-users
Hi Ali: I’m sorry for not having replied to you for so long because I was a little busy in the past a few days. I downloaded the latest kernels from the website according to your advice.And run in the FS mode with the kernels.Because you said the kernels support the hdlcd.The command line I use is

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] building kernel for X86 - gem5 hangs at the very beginning with new kernel

2014-12-22 Thread Gedare Bloom via gem5-users
You might try older versions of gem5 too. I routinely use x86_64 Linux version 2.6.28.4 although (as Andrea mentions) the x86_64-gem5 support lags quite a bit behind ARM. The fact you have NO output in terminal is suspicious. You should consider using m5term instead of telnet. If you aren't inves

[gem5-users] resetstats and dumpstats callbacks into model

2014-12-22 Thread Nizamudheen Ahmed via gem5-users
Hi Champs, Is there option in gem5 to register call-backs in the model for dumpstats and resetstas m5 commands? I collect some trace and i would like to sync them with these commands. BR/Nizam ___ gem5-users mailing list gem5-users@gem5.org http://m5sim