Re: [Gems-users] SIM_stall_cycle


Date: Sun, 25 Oct 2009 12:26:04 -0500
From: Polina Dudnik <pdudnik@xxxxxxxxx>
Subject: Re: [Gems-users] SIM_stall_cycle
Niranjan,

My understanding is that in Simics you can't just stall at any time. There are some events that are unstallable. Also, you can't stall simics while it is in the middle of executing the instruction. I think there is some field called may_stall or mayStall, I don't remember exactly what it is, but you can use it to figure out what is or is not stallable. 

Polina

On Fri, Oct 16, 2009 at 2:09 PM, niranjan soundararajan <niranjan83@xxxxxxxxx> wrote:
Hello,

Has anyone used SIM_stall_cycle? My version of simics is 3.0.31 while gems is 2.1.0. I tried to use it when context switching is detected in opal (pseq_t::contextSwitch function).

I use SIM_stall_cycle(SIM_proc_no_2_ptr(getID()), 10000). It reports

[cpu6] ERROR: Simics entered the event handler routine when the
time to the next event was non-zero (-1). This can happen if
an event is posted at time/step 0 while a processor is executing
 an instruction. Will try to run the event anyway; this may or
 may not work.

Information about the illegal event:
Internal Simics event of type 0x7. Please report.


Thank you,
Niranjan


_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.



[← Prev in Thread] Current Thread [Next in Thread→]