1
0

axi4: default should be GET_EFFECTS

This commit is contained in:
Wesley W. Terpstra 2016-11-14 15:19:39 -08:00
parent 0e30364f56
commit 385b5d5698
2 changed files with 2 additions and 1 deletions

View File

@ -168,6 +168,7 @@ trait PeripheryMasterAXI4Mem {
val axi4 = AXI4BlindOutputNode(AXI4SlavePortParameters(
slaves = Seq(AXI4SlaveParameters(
address = List(AddressSet(c_base, c_size-1)),
regionType = RegionType.UNCACHED, // cacheable
executable = true,
supportsWrite = TransferSizes(1, 256), // The slave supports 1-256 byte transfers
supportsRead = TransferSizes(1, 256),

View File

@ -8,7 +8,7 @@ import scala.math.max
case class AXI4SlaveParameters(
address: Seq[AddressSet],
regionType: RegionType.T = RegionType.UNCACHED,
regionType: RegionType.T = RegionType.GET_EFFECTS,
executable: Boolean = false, // processor can execute from this memory
nodePath: Seq[BaseNode] = Seq(),
supportsWrite: TransferSizes = TransferSizes.none,