summaryrefslogtreecommitdiff
path: root/src/mem/RubyMemory.py
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2009-11-18 13:55:58 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2009-11-18 13:55:58 -0800
commit3cf24f9716eebab8c24fa645d02c636584033514 (patch)
tree8988036153597897a6f1c7d63c1b5954dd238eb7 /src/mem/RubyMemory.py
parentd7a4f665ed72b221e8210cc79bbd8edf967a4a4a (diff)
downloadgem5-3cf24f9716eebab8c24fa645d02c636584033514.tar.xz
ruby: Support for merging ALPHA_FS and ruby
Connects M5 cpu and dma ports directly to ruby sequencers and dma sequencers. Rubymem also includes a pio port so that pio requests and be forwarded to a special pio bus connecting to device pio ports.
Diffstat (limited to 'src/mem/RubyMemory.py')
-rw-r--r--src/mem/RubyMemory.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mem/RubyMemory.py b/src/mem/RubyMemory.py
index fbbbeebe4..ddd97572c 100644
--- a/src/mem/RubyMemory.py
+++ b/src/mem/RubyMemory.py
@@ -42,4 +42,6 @@ class RubyMemory(PhysicalMemory):
debug = Param.Bool(False, "Use ruby debug")
debug_file = Param.String("ruby.debug",
"path to the Ruby debug output file (stdout if blank)")
-
+ num_dmas = Param.Int(0, "Number of DMA ports connected to the Ruby memory")
+ dma_port = VectorPort("Ruby_dma_ports")
+ pio_port = Port("Ruby_pio_port")