diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:25 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:25 -0800 |
commit | d77a9df3c10e528d206440f647ec975e9224c745 (patch) | |
tree | e662cfe98cf820312a58456073b669cc2b58d943 /configs/ruby/Ruby.py | |
parent | d42152742ba245fd1c1611d4e7377cd31b84ed4a (diff) | |
download | gem5-d77a9df3c10e528d206440f647ec975e9224c745.tar.xz |
ruby: MOESI_CMP_token updates to use 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 0922dc77e..2b804e4bd 100644 --- a/configs/ruby/Ruby.py +++ b/configs/ruby/Ruby.py @@ -34,6 +34,7 @@ from m5.util import addToPath import MOESI_hammer import MI_example +import MOESI_CMP_token def create_system(options, physmem, piobus = None, dma_devices = []): @@ -51,6 +52,12 @@ def create_system(options, physmem, piobus = None, dma_devices = []): physmem, \ piobus, \ dma_devices) + elif protocol == "MOESI_CMP_token": + (cpu_sequencers, dir_cntrls, all_cntrls) = \ + MOESI_CMP_token.create_system(options, \ + physmem, \ + piobus, \ + dma_devices) else: print "Error: unsupported ruby protocol" sys.exit(1) |