diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:26 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:26 -0800 |
commit | 31fcf09a68fd2aa680f1d1ce8c83ae9ad4407848 (patch) | |
tree | 5c10ec08e6b0ef739501f8f3cd146d2988896ee8 /configs/ruby/Ruby.py | |
parent | 1c4405ad5eaa2733b677a194c2ea904d5a7ee269 (diff) | |
download | gem5-31fcf09a68fd2aa680f1d1ce8c83ae9ad4407848.tar.xz |
ruby: MOESI_CMP_directory updated to the new config system
Diffstat (limited to 'configs/ruby/Ruby.py')
-rw-r--r-- | configs/ruby/Ruby.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py index 2b804e4bd..e86bfea1a 100644 --- a/configs/ruby/Ruby.py +++ b/configs/ruby/Ruby.py @@ -33,6 +33,7 @@ from m5.defines import buildEnv from m5.util import addToPath import MOESI_hammer +import MOESI_CMP_directory import MI_example import MOESI_CMP_token @@ -46,6 +47,12 @@ def create_system(options, physmem, piobus = None, dma_devices = []): physmem, \ piobus, \ dma_devices) + elif protocol == "MOESI_CMP_directory": + (cpu_sequencers, dir_cntrls, all_cntrls) = \ + MOESI_CMP_directory.create_system(options, \ + physmem, \ + piobus, \ + dma_devices) elif protocol == "MI_example": (cpu_sequencers, dir_cntrls, all_cntrls) = \ MI_example.create_system(options, \ |