Re: [Gems-users] Opal "Caught time breakpoint"


Date: Fri, 18 May 2007 16:30:27 -0500
From: "Lei Yang" <lya755@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] Opal "Caught time breakpoint"
Thanks Luke! I decided to to mess up with Opal's code, instead, I switched the task running on cpu0 and cpu1, so that I can always use opal to instruct number of steps.

Lei
----- Original Message ----- From: "Luke Yen" <lyen@xxxxxxxxxxx> To: "Lei Yang" <lya755@xxxxxxxxxxxxxxxxxxxx>; "Gems Users" <gems-users@xxxxxxxxxxx>
Sent: Thursday, May 17, 2007 10:31 AM
Subject: Re: [Gems-users] Opal "Caught time breakpoint"



 If you feel like modifying Opal code, you can place a
SIM_break_simulation() in opal/system/pseq.C's retireInstruction()
function.  You can count how many instructions (for any processor) has
retired by tracking how many times d->Retire() gets called in that
function.

  Luke

On Wed, 16 May 2007, Lei Yang wrote:

Could anybody please shine some light on this? Do I need to implement a hap on breakpoints in this situation?

Thanks!
  ----- Original Message -----
  From: Lei Yang
  To: Gems-users@xxxxxxxxxxx
  Sent: Wednesday, May 16, 2007 5:40 PM
  Subject: [Gems-users] Opal "Caught time breakpoint"


  Dear list,

When opal is used, what do I need to do to stop the simulation when a certain CPU has executed a certain number of instructions? For example, I have a 2 core CMP simulation, where I want CPU0 to execute exactly 10000 instructions. Without Opal, I can simply say "cpu0.step-break 10000", and the simulation will stop when cpu0 has executed 10000 instructions. But when opal is installed, opal starts simics with a large number of steps like "opal0.sim-step 10000000000" (documented in quickstart). In this case, when cpu0 has executed 10000 instructions, in the command line this will appear "Caught time breakpoint", but the simulation doesn't stop!? How do I work around this?

  Thanks for your comments!

  Lei


------------------------------------------------------------------------------


  _______________________________________________
  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→]