From 1be13d6b4c2679e8890eca51447ace26380cd264 Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Wed, 19 Apr 2017 19:44:51 -0700 Subject: [PATCH] PLIC: To avoid hazard between enable -> claim, enforce concurrency=1 --- src/main/scala/uncore/devices/Plic.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/scala/uncore/devices/Plic.scala b/src/main/scala/uncore/devices/Plic.scala index 6c95cca8..5507eb1a 100644 --- a/src/main/scala/uncore/devices/Plic.scala +++ b/src/main/scala/uncore/devices/Plic.scala @@ -75,7 +75,8 @@ class TLPLIC(maxPriorities: Int, address: BigInt = 0xC000000)(implicit p: Parame address = Seq(AddressSet(address, PLICConsts.size-1)), device = device, beatBytes = p(XLen)/8, - undefZero = false) + undefZero = false, + concurrency = 1) // Work around the enable -> claim hazard val intnode = IntNexusNode( numSourcePorts = 0 to 1024,