diff options
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) |