SimicsProcessor keeps a table of active requests for which it has
issued the corresponding CacheMsg/s down through Sequencer::makeRequest
(). The entries in this table are cleared when the Sequencer calls
back the SimicsProcessor upon completion of performing that memory
request. There are some sanity checks done at that time in
SimicsProcessor, one of which is making sure that the size of the
block that the operation was actually performed matches the original
request size.
The error message is saying that check has failed. If you have changed
the SLICC code, I'd say you used the wrong Sequencer::writeCallback or
Sequencer::readCallback (depending on the access type) upon completing
the request. Those functions are heavily overloaded and some have
function signatures that carry the size information explicitly while
others don't. I think -1 is inserted internally by the functions that
don't take the explicit size parameter.
A good place to start to debug this is what the message suggested,
attach a debugger to the process when you hit get to that point and
examine the chain of call stacks that lead to this assertion failure.
Byn
On Mar 5, 2010, at 5:13 AM, Liz Joy wrote:
Hii,
I am using MSI_MOSI_CMP_directory
I got an error saying
HIT CALLBACK FOR [0x9200bc0, line 0x9200bc0] size: -1
ACTIVE REQUEST [0x9200bc0, line 0x9200bc0] size: 4
failed assertion '0' at fn void SimicsProcessor::hitCallback
(CacheRequestType, SubBlock&) in simics/SimicsProcessor.C:241
failed assertion '0' at fn void SimicsProcessor::hitCallback
(CacheRequestType, SubBlock&) in simics/SimicsProcessor.C:241
At this point you might want to attach a debug to the running and
get to the
crash site; otherwise press enter to continue
PID: 8626
Can any one please tell me what can be the reason????
Thanks in advance
Liz
_______________________________________________
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.
|