Date: | Wed, 17 Jun 2009 09:32:02 -0500 |
---|---|
From: | Polina Dudnik <pdudnik@xxxxxxxxx> |
Subject: | Re: [Gems-users] Gems 2.0 MESI_CMP_directory L1 + L2 miss profiling |
OK, So, the Coherence Request Types are listed in MESI_CMP_directory-msg.sm. And some of the request types that convertToGenericType is trying to convert are simply not there, undefined. So, one of your options is to change convertToGenericType function to be: GenericRequestType convertToGenericType(CoherenceRequestType type) { if(type == CoherenceRequestType:PUTX) { return GenericRequestType:PUTX; } else if(type == CoherenceRequestType:GETS) { return GenericRequestType:GETS; } else if(type == CoherenceRequestType:GET_INSTR) { return GenericRequestType:GET_INSTR; } else if(type == CoherenceRequestType:GETX) { return GenericRequestType:GETX; } else if(type == CoherenceRequestType:UPGRADE) { return GenericRequestType:UPGRADE; } else if(type == CoherenceRequestType:PUTX) { return GenericRequestType:PUTX; } else if(type == CoherenceRequestType:INV) { return GenericRequestType:INV; // } else if(type == CoherenceRequestType:INV_S) { // return GenericRequestType:INV_S; // } else if(type == CoherenceRequestType:L1_DG) { // return GenericRequestType:DOWNGRADE; // } else if(type == CoherenceRequestType:WB_ACK) { // return GenericRequestType:WB_ACK; // } else if(type == CoherenceRequestType:EXE_ACK) { // return GenericRequestType:EXE_ACK; } else { DEBUG_EXPR(type); error("invalid CoherenceRequestType"); } } Now, I have not run this, but it is possible that you get invalid CoherenceRequestType type errors, in that case, just add the missing types to the // CoherenceRequestType enumeration(CoherenceRequestType, desc="...") { Which is again in MESI_CMP_directory-msg.sm One other discaimer: given that this code was commented out, it is possible it is not working correctly, so beware. Hope this helps. On Tue, Jun 16, 2009 at 11:03 PM, Lyon Shinseky <lyon.shinseky@xxxxxxxxx> wrote:
|
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [Gems-users] Illegal operands, Polina Dudnik |
---|---|
Next by Date: | Re: [Gems-users] Private L2 in a CMP..., David Bonavila |
Previous by Thread: | Re: [Gems-users] Gems 2.0 MESI_CMP_directory L1 + L2 miss profiling, Lyon Shinseky |
Next by Thread: | [Gems-users] Could anyone guide me, how can i use $GEMS/jgraph foder, Muhammad abid Mughal |
Indexes: | [Date] [Thread] |