FYI, MessageSizeType_xxx enumerations are generated by src/mem/slicc/symbols/Type.py.
Generated header file is build/{YOUR_ARCH}/mem/protocol/MessageSizeType.hh
----
' Huang He (Henry)
/-\\ CPU Design and Verification
/---\'\ Advanced Micro Devices, Inc
/-----\'`\ AMD Technology Development (Beijing) Co., Ltd.
/-------\'`,\ Beijing, China
/---------\' ,`7 O: +(86) 10 62801421 M: +(86) 18616862712
/-----------\' /
/-------------\/ [cid:[email protected]] Visit us at:
Facebook<https://www.facebook.com/AMD> | amd.com<http://www.amd.com/>
From: [email protected] [mailto:[email protected]] On
Behalf Of Lu Hang
Sent: Friday, August 23, 2013 3:09 PM
To: gem5-users
Subject: [gem5-users] About message type in ruby
Importance: High
Dear all,
I have another question associated with message type and Machine type numbers.
Please see this code in Network.cc:
switch(size_type) {
case MessageSizeType_Undefined:
panic("Can't convert Undefined MessageSizeType to integer");
break;
case MessageSizeType_Control:
case MessageSizeType_Request_Control:
case MessageSizeType_Reissue_Control:
case MessageSizeType_Response_Control:
case MessageSizeType_Writeback_Control:
case MessageSizeType_Broadcast_Control:
Where is the location of the definition of these mesage types? Also, I searched
all the files looking for the definition of 'MachineType_NUM' and
'MachineType_base_number'. However, I didn't find them. Please help me with
this. Thanks in advance!
-----------------------------------------------------------------------------------------
Lu Hang
Phd Candidate
State Key Laboratory of Computer System and Architecture
Institute of Computing Technology,Chinese Academy of Sciences
Beijing 100190, China
<<inline: image001.jpg>>
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
