Ruby: Updates MOESI CMP token protocol
Review Request #326 - Created Dec. 1, 2010 and submitted
| Information | |
|---|---|
| Nilay Vaish | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Ruby: Updates MOESI CMP token protocol This patch updates the MOESI CMP token protocol to conform with the new interfaces of CacheMemory and TBETable classes, and the changes in SLICC.
Changes have been tested using ruby_random_test.py for 1,000,000 loads and 20 different seeds for random number generator.
Posted (Jan. 3, 2011, 2:14 a.m.)
-
src/mem/protocol/MOESI_CMP_token-L1cache.sm (Diff revision 2) -
These functions that take multiple pointers just so the called function can test which one is valid are pretty unwieldy and also seem to cause a lot of redundant testing. Can we factor out the check so we have a single test to set one valid entry_ptr variable, then use that in all these calls? I see there are some similar calls in MOESI_CMP_directory too, though not as many.
Review request changed
Updated (Jan. 16, 2011, 8:04 a.m.)
Summary: |
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
||||||||||||
Branch: |
|
||||||||||||
Diff: |
Revision 3 (+569 -448) |
