1
0

ahb: lower hsel when idle to save power

This commit is contained in:
Wesley W. Terpstra
2016-12-15 14:24:39 -08:00
parent 16febe7e94
commit a9b264e582
4 changed files with 6 additions and 8 deletions

View File

@ -13,7 +13,7 @@ class AHBBundle(params: AHBBundleParameters) extends AHBBundleBase(params)
// Flow control signals from the master
val hmastlock = Bool(OUTPUT)
val htrans = UInt(OUTPUT, width = params.transBits)
val hsel = Bool(OUTPUT) // on a master, drive this with true
val hsel = Bool(OUTPUT)
val hready = Bool(OUTPUT) // on a master, drive this from readyout
// Payload signals

View File

@ -3,7 +3,6 @@
package uncore.ahb
import Chisel._
import chisel3.util.{Irrevocable, IrrevocableIO}
object AHBParameters
{

View File

@ -22,7 +22,7 @@ class AHBFanout()(implicit p: Parameters) extends LazyModule {
}
// Require consistent bus widths
val port0 = node.edgesIn(0).slave
val port0 = node.edgesOut(0).slave
node.edgesOut.foreach { edge =>
val port = edge.slave
require (port.beatBytes == port0.beatBytes,