Re: [Gems-users] Adding a handler in Opal for I/O instructions


Date: Wed, 01 Oct 2008 20:43:01 -0500
From: Philip Garcia <pcgarcia@xxxxxxxx>
Subject: Re: [Gems-users] Adding a handler in Opal for I/O instructions
I figured out my problem. I had a list of outstanding I/O instructions, and was not updating it to remove the instructions if a pipeline flush occurs. Taking this into account should solve my problem.

Phil
On Sep 30, 2008, at 8:27 PM, Philip Garcia wrote:

Hello,
I was wondering if anyone is familiar with how to add delays into
Opals pipeline.  I am trying to add a delay so that certain I/O loads
and stores get delayed by a set amount.  I have found the relevant
place in load_inst_t::Execute where Opal checks if a memory operation
is to an IO instruction, but if it is, I am unsure of how to delay
it.  I tried adding a simple delay that doesn't set the stage to
COMPLETE_STAGE until a static number of cycles passes, but this
appears to cause opal to crash, as instructions in the queue end up
having no stage associated with them.  However, when I tried adding my
own stage into Dynamic.h which was DELAY_IO_STAGE, and setting the
memop instructions stage to this, it doesn't appear to ever go into
the relevant case statement I added in dynamic_inst_t::Schedule, and
later crashes for the same reason.  I was wondering if maybe I am
doing something wrong, or misunderstood the organization of this code.

Any help would be greatly appreciated.

thanks,
Phil
_______________________________________________
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→]
  • Re: [Gems-users] Adding a handler in Opal for I/O instructions, Philip Garcia <=