[Gems-users] "m_value" question in tester


Date: Fri, 11 Dec 2009 18:13:15 +0800
From: Jerry Lin <cosjerry@xxxxxxxxx>
Subject: [Gems-users] "m_value" question in tester
Hi,
I am learning about the Slicc and trying to modify the MOSI_SMP_bcast_1level protocol recently.
I run the tester to check my modified protocol, but there are some error when running.
The following is the error message:
================================================
Warning: in fn void Check::performCallback(NodeID, SubBlock&) in tester/Check.C:206: proc is 3
Warning: in fn void Check::performCallback(NodeID, SubBlock&) in tester/Check.C:207: address is [0x24ec, line 0x24c0]
Warning: in fn void Check::performCallback(NodeID, SubBlock&) in tester/Check.C:208: data is [[0x24ec, line 0x24c0], 4, [ 131 132 133 0 ]]
Warning: in fn void Check::performCallback(NodeID, SubBlock&) in tester/Check.C:209: byte_number is 3
Warning: in fn void Check::performCallback(NodeID, SubBlock&) in tester/Check.C:210: (int)m_value+byte_number is 134
Warning: in fn void Check::performCallback(NodeID, SubBlock&) in tester/Check.C:211: (int)data.getByte(byte_number) is 0
Warning: in fn void Check::performCallback(NodeID, SubBlock&) in tester/Check.C:212: *this is [[0x24ec, line 0x24c0], value: 131, status: Check_Pending, initiating node: 3, store_count: 4]
Warning: in fn void Check::performCallback(NodeID, SubBlock&) in tester/Check.C:213: g_eventQueue_ptr->getTime() is 9934
Fatal Error: in fn void Check::performCallback(NodeID, SubBlock&) in tester/Check.C:214: Action/check failure
================================================
 
I traced the Check.C
I wonder what "m_value" means?
It seems like that "m_value" is a random number from 0~255
Why the tester used "m_value" to check data?
 
Any advice and tips will be appreciated! Thanks!
Best regards!
[← Prev in Thread] Current Thread [Next in Thread→]
  • [Gems-users] "m_value" question in tester, Jerry Lin <=