From: Andreas Hansson Date: Mon, 9 Jul 2012 16:35:38 +0000 (-0400) Subject: Bus: Make the default bus width 8 bytes instead of 64 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c2ee987f37f4aac16cd0ff3e3ceeff949066a94;p=gem5.git Bus: Make the default bus width 8 bytes instead of 64 This patch changes the default bus width to a more sensible 8 bytes (64 bits), which is in line with most on-chip buses. Although there are cases where a wider or narrower bus is useful, the 8 bytes is a good compromise to serve as the default. This patch changes essentially all statistics, and will be bundled with the outstanding changes to the bus. --- diff --git a/src/mem/Bus.py b/src/mem/Bus.py index 05033d382..12657e177 100644 --- a/src/mem/Bus.py +++ b/src/mem/Bus.py @@ -49,7 +49,7 @@ class BaseBus(MemObject): master = VectorMasterPort("vector port for connecting slaves") clock = Param.Clock("1GHz", "bus clock speed") header_cycles = Param.Int(1, "cycles of overhead per transaction") - width = Param.Int(64, "bus width (bytes)") + width = Param.Int(8, "bus width (bytes)") block_size = Param.Int(64, "The default block size if not set by " \ "any connected module")