Thank you Dr. Lowe-Power.
Sincerely,
Utkarsh Singh
Junior Undergraduate
Indian Institute of Technology - Delhi
On 14 May 2018 at 22:15, Jason Lowe-Power wrote:
> Hi Utkarsh,
>
> I believe the exit event you are seeing is scheduled by the exit system
> call implementation. https://gem5.googlesource.com/public/gem5/+
> /master/src/sim/syscall_emul.cc#105
>
> To solve your problem, I would consider how it would be implemented in a
> "real" system. Or, if you're simply playing a trace from your new object,
> you could ignore the exit event by restarting simulation after the exit
> event from your python runscript.
>
> Hope this helps,
> Jason
>
> ---
> Jason Lowe-Power
> Assistant Professor, Computer Science Department
> University of California, Davis
> 3049 Kemper Hall
> https://faculty.engineering.ucdavis.edu/lowepower/
>
>
>
> On Mon, Apr 30, 2018 at 4:53 AM Utkarsh Singh
> wrote:
>
>> Hi,
>>
>> As a part of my ongoing project, I am trying to understand how the exit
>> event (which is of name and description "Event Event_
>> (generic)") is being scheduled in gem5. From what I understand, at the very
>> beginning of the simulation (I am running in SE mode) an exit event is
>> scheduled at MAX_TICK = 18446744073709551615, and when the benchmark (I am
>> using a Hello World executable as a benchmark) finishes execution another
>> exit event is scheduled at curTick()+. (I observed this in
>> the eventq dump).
>>
>> Now, what my problem is that I am trying to insert a new component into
>> the architecture which reads from a text file, and is connected directly to
>> the L3 Bus (I have added an L3 layer to my architecture). However, my
>> component will be reading from the text file even after the execution of
>> the benchmark is completed. But this isn't happening because the moment the
>> benchmark finishes execution an exit event is scheduled because of which
>> the simulator stops working.
>>
>> So I was hoping whether anyone might be able to explain me the mechanism
>> of how the exit event gets scheduled, so that I may try to modify the gem5
>> code for working things out. I have tried debugging the execution using gdb
>> for the past 4 months, but I am unable to understand it due to the
>> complexity of the code. I would be really grateful if anyone is able to
>> help me out with this problem.
>>
>> Thank you.
>>
>> Sincerely,
>>
>> Utkarsh Singh
>> Junior Undergraduate
>> Indian Institute of Technology - Delhi
>> ___
>> 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 mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users