Re: [Gems-users] Ruby DataBlock


Date: Sat, 21 Apr 2007 22:15:14 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] Ruby DataBlock
Do you need to know the data that resides in the cache, or do you need to know the *correct* value of the data at a given moment? The latter can be obtained by the SIMICS_read_physical_memory() API. The former will require reviving the somewhat deprecated DATA_BLOCK flag... I'm not sure who to ask about that.

Regards,
Dan

Robert William Havlik wrote:

Hello,
  I am trying to look at the data values within the cache lines with Ruby.  When I try to set DATA_BLOCK to true in rubyconfig.defaults, I get the following error when I run anything:

failed assertion 'SIMICS_check_memory_value(m_proc, mem_trans->s.physical_address, buffer, mem_trans->s.size)' at fn void SimicsProcessor::observeMemoryAccess(memory_transaction_t*) in simics/SimicsProcessor.C:493
failed assertion 'SIMICS_check_memory_value(m_proc, mem_trans->s.physical_address, buffer, mem_trans->s.size)' at fn void SimicsProcessor::observeMemoryAccess(memory_transaction_t*) in simics/SimicsProcessor.C:493
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: 15562

When I looked at some of the other forum posts, I decided to try commenting the assert that fails above, when I comment this, I get:

[cpu0 info] Got exception 0x34 at (MAXTL - 1) - entering RED_state
Write to unimplemented ASI 0x60, VA 0x0, data 0x0
[cpu0 info] Got exception 0x32 at MAXTL - entering error_state
[cpu0 info] Triggering watchdog reset to end error_state
error_state entered
[cpu0] v:0xfffffffff0000040 p:0x7fff0000040  stxa %g0, [%g0 + %g0] 0x60  # ASI_IIU_INST_TRAP

Does anyone have any ideas to get the DATA_BLOCK setting to work, or know of another way to look at the data within a cache line.  Thanks!

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