ahb: lower hsel when idle to save power
This commit is contained in:
@ -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
|
||||
|
@ -3,7 +3,6 @@
|
||||
package uncore.ahb
|
||||
|
||||
import Chisel._
|
||||
import chisel3.util.{Irrevocable, IrrevocableIO}
|
||||
|
||||
object AHBParameters
|
||||
{
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user