Review Board 2.0.15


Ruby: Updates MOESI Hammer protocol

Review Request #280 - Created Oct. 27, 2010 and submitted

Information
Nilay Vaish
gem5
default
Reviewers
Default
Ruby: Updates MOESI Hammer protocol
This patch updates the MOESI Hammer protocol to conform with the new
interfaces of CacheMemory and TBETable classes, and the changes in SLICC.
The changes have been tested using ruby_random_test.py for a 1,000,000 loads and 20 different seed values.
Review request changed
Updated (Jan. 16, 2011, 8:21 a.m.)

Summary:

-Ruby: Update MOESI Hammer protocol
+Ruby: Updates MOESI Hammer protocol

Description:

~  

This request is for reviewing the updates made to the MOESI Hammer protocol so that it conforms with the new interfaces of CacheMemory and TBETable classes, and the changes in SLICC.

  ~

Ruby: Updates MOESI Hammer protocol

  + This patch updates the MOESI Hammer protocol to conform with the new
  + interfaces of CacheMemory and TBETable classes, and the changes in SLICC.

Branch:

+default

Diff:

Revision 4 (+432 -277)

Show changes

Posted (Jan. 16, 2011, 11:28 p.m.)



  
src/mem/protocol/MOESI_hammer-cache.sm (Diff revision 4)
 
 
Don't just comment out these lines.

You should replace them with equivalent lines, such as:

assert((is_valid(getL1DCacheEntry(addr) && is_valid(getL1ICacheEntry(add)) == false);

...etc.

Since they are within the assert call, they should be compiled out for the ".fast" binary.