mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
restored intPending logic to be sticky for PLIC
This commit is contained in:
parent
a4cd157f00
commit
6e1d4ec4ed
@ -172,8 +172,8 @@ module plic_apb (
|
|||||||
end
|
end
|
||||||
|
|
||||||
// pending interrupt requests
|
// pending interrupt requests
|
||||||
//assign nextIntPending = (intPending | requests) & ~intInProgress; //
|
assign nextIntPending = (intPending | requests) & ~intInProgress; // dh changed back 7/9/22 see if Buildroot still boots. Confirmed to boot successfully.
|
||||||
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
|
//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(PCLK,~PRESETn,nextIntPending,intPending);
|
flopr #(`N) intPendingFlop(PCLK,~PRESETn,nextIntPending,intPending);
|
||||||
|
|
||||||
// context-dependent signals
|
// context-dependent signals
|
||||||
|
Loading…
Reference in New Issue
Block a user