devices: add reg-names to most devices
This commit is contained in:
@ -13,7 +13,7 @@ import uncore.util._
|
||||
import config._
|
||||
|
||||
class TLROM(val base: BigInt, val size: Int, contentsDelayed: => Seq[Byte], executable: Boolean = true, beatBytes: Int = 4,
|
||||
resources: Seq[Resource] = new SimpleDevice("rom", Nil).reg)(implicit p: Parameters) extends LazyModule
|
||||
resources: Seq[Resource] = new SimpleDevice("rom", Nil).reg("mem"))(implicit p: Parameters) extends LazyModule
|
||||
{
|
||||
|
||||
val node = TLManagerNode(beatBytes, TLManagerParameters (
|
||||
|
@ -283,7 +283,6 @@ class TLDebugModuleOuter(device: Device)(implicit p: Parameters) extends LazyMod
|
||||
val dmiNode = TLRegisterNode (
|
||||
address = AddressSet.misaligned(DMI_DMCONTROL << 2, 4),
|
||||
device = device,
|
||||
deviceKey = "reg",
|
||||
beatBytes = 4,
|
||||
executable = false
|
||||
)
|
||||
@ -430,7 +429,6 @@ class TLDebugModuleInner(device: Device, getNComponents: () => Int)(implicit p:
|
||||
address = AddressSet.misaligned(0, DMI_RegAddrs.DMI_DMCONTROL << 2) ++
|
||||
AddressSet.misaligned((DMI_RegAddrs.DMI_DMCONTROL + 1) << 2, (0x200 - ((DMI_RegAddrs.DMI_DMCONTROL + 1) << 2))),
|
||||
device = device,
|
||||
deviceKey = "reg",
|
||||
beatBytes = 4,
|
||||
executable = false
|
||||
)
|
||||
@ -438,7 +436,6 @@ class TLDebugModuleInner(device: Device, getNComponents: () => Int)(implicit p:
|
||||
val tlNode = TLRegisterNode(
|
||||
address=Seq(AddressSet(0, 0xFFF)), // This is required for correct functionality, it's not configurable.
|
||||
device=device,
|
||||
deviceKey="reg",
|
||||
beatBytes=p(XLen)/8,
|
||||
executable=true
|
||||
)
|
||||
|
Reference in New Issue
Block a user