From 1a356312b235ad1932eabea0126070d72f74aee7 Mon Sep 17 00:00:00 2001 From: David Harris Date: Tue, 5 Jul 2022 05:00:29 +0000 Subject: [PATCH] Added comments to PLIC about likely bug --- pipelined/src/uncore/plic.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipelined/src/uncore/plic.sv b/pipelined/src/uncore/plic.sv index 9291358ae..120e110a9 100644 --- a/pipelined/src/uncore/plic.sv +++ b/pipelined/src/uncore/plic.sv @@ -176,8 +176,8 @@ module plic ( end // pending interrupt requests - //assign nextIntPending = (intPending | requests) & ~intInProgress; - assign nextIntPending = requests; + //assign nextIntPending = (intPending | requests) & ~intInProgress; // + assign nextIntPending = requests; // DH: RT made this change May 2022, but it seems to be a bug to not consider intInProgress; see May 23, 2022 slack discussion flopr #(`N) intPendingFlop(HCLK,~HRESETn,nextIntPending,intPending); // context-dependent signals