add/update parameters for bus bridge
authorAli Saidi <saidi@eecs.umich.edu>
Thu, 10 May 2007 04:08:22 +0000 (00:08 -0400)
committerAli Saidi <saidi@eecs.umich.edu>
Thu, 10 May 2007 04:08:22 +0000 (00:08 -0400)
--HG--
extra : convert_revision : 063f757fbfa2c613328ffa70e556f8926623fa91

src/python/m5/objects/Bridge.py
src/python/m5/objects/Device.py

index e123c2891fb1aa5e1ae9d586c197727b4dbfbee1..33b24ad3c449c197f54ae2112c0510e2ad522345 100644 (file)
@@ -5,9 +5,12 @@ class Bridge(MemObject):
     type = 'Bridge'
     side_a = Port('Side A port')
     side_b = Port('Side B port')
-    queue_size_a = Param.Int(16, "The number of requests to buffer")
-    queue_size_b = Param.Int(16, "The number of requests to buffer")
+    req_size_a = Param.Int(16, "The number of requests to buffer")
+    req_size_b = Param.Int(16, "The number of requests to buffer")
+    resp_size_a = Param.Int(16, "The number of requests to buffer")
+    resp_size_b = Param.Int(16, "The number of requests to buffer")
     delay = Param.Latency('0ns', "The latency of this bridge")
+    nack_delay = Param.Latency('0ns', "The latency of this bridge")
     write_ack = Param.Bool(False, "Should this bridge ack writes")
     fix_partial_write_a = Param.Bool(False, "Should this bridge fixup partial block writes")
     fix_partial_write_b = Param.Bool(False, "Should this bridge fixup partial block writes")
index f4b873a601ae46a3ed04f47f2d782032fe41e1d3..90fbfb55249238ca132974bf0d5afb8c72234281 100644 (file)
@@ -19,6 +19,12 @@ class DmaDevice(PioDevice):
     type = 'DmaDevice'
     abstract = True
     dma = Port(Self.pio.peerObj.port, "DMA port")
+    min_backoff_delay = Param.Latency('4ns',
+      "min time between a nack packet being received and the next request made by the device")
+    max_backoff_delay = Param.Latency('10us',
+      "max time between a nack packet being received and the next request made by the device")
+
+
 
 class IsaFake(BasicPioDevice):
     type = 'IsaFake'