[Gems-users] Ruby DataBlock


Date: Sat, 21 Apr 2007 19:06:57 -0600 (MDT)
From: Robert William Havlik <Robert.Havlik@xxxxxxxxxxxx>
Subject: [Gems-users] Ruby DataBlock
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
[← Prev in Thread] Current Thread [Next in Thread→]