From e24ba617547da8f2e3a007d8b483739d14b62930 Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Wed, 24 Aug 2016 16:07:45 -0700 Subject: [PATCH] tilelink2: distinguish two levels of uncacheability --- uncore/src/main/scala/tilelink2/Parameters.scala | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/uncore/src/main/scala/tilelink2/Parameters.scala b/uncore/src/main/scala/tilelink2/Parameters.scala index 98dfcf16..f14a0d4e 100644 --- a/uncore/src/main/scala/tilelink2/Parameters.scala +++ b/uncore/src/main/scala/tilelink2/Parameters.scala @@ -11,8 +11,9 @@ object RegionType { case object CACHED extends T case object TRACKED extends T case object UNCACHED extends T - case object UNCACHEABLE extends T - val cases = Seq(CACHED, TRACKED, UNCACHED, UNCACHEABLE) + case object PUT_EFFECTS extends T + case object GET_EFFECTS extends T // GET_EFFECTS => PUT_EFFECTS + val cases = Seq(CACHED, TRACKED, UNCACHED, PUT_EFFECTS, GET_EFFECTS) } // A non-empty half-open range; [start, end) @@ -99,7 +100,7 @@ case class AddressSet(mask: BigInt, base: Option[BigInt] = None) case class TLManagerParameters( address: Seq[AddressSet], sinkId: IdRange = IdRange(0, 1), - regionType: RegionType.T = RegionType.UNCACHEABLE, + regionType: RegionType.T = RegionType.GET_EFFECTS, // Supports both Acquire+Release+Finish of these sizes supportsAcquire: TransferSizes = TransferSizes.none, supportsArithmetic: TransferSizes = TransferSizes.none,