diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:24 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:24 -0800 |
commit | b3d195153e243fcb3ecb7f42958cec75ed3cdd6f (patch) | |
tree | 5c3d355bd7d037c2d7f5e66214b5c57093a7b87c /configs/ruby/Ruby.py | |
parent | 502b8bd8a4f3b1998afbd3cf8e59e0bb4e153403 (diff) | |
download | gem5-b3d195153e243fcb3ecb7f42958cec75ed3cdd6f.tar.xz |
ruby: MI_example 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 735adda27..0922dc77e 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 MI_example def create_system(options, physmem, piobus = None, dma_devices = []): @@ -44,6 +45,12 @@ def create_system(options, physmem, piobus = None, dma_devices = []): physmem, \ piobus, \ dma_devices) + elif protocol == "MI_example": + (cpu_sequencers, dir_cntrls, all_cntrls) = \ + MI_example.create_system(options, \ + physmem, \ + piobus, \ + dma_devices) else: print "Error: unsupported ruby protocol" sys.exit(1) |