mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
declare memread signal
This commit is contained in:
parent
eca92041e9
commit
80a67dc906
@ -49,7 +49,7 @@ module plic (
|
|||||||
|
|
||||||
localparam N=`PLIC_NUM_SRC; // should not exceed 63; does not inlcude source 0, which does not connect to anything according to spec
|
localparam N=`PLIC_NUM_SRC; // should not exceed 63; does not inlcude source 0, which does not connect to anything according to spec
|
||||||
|
|
||||||
logic memwrite, initTrans;
|
logic memwrite, memread, initTrans;
|
||||||
logic [27:0] entry, entryd;
|
logic [27:0] entry, entryd;
|
||||||
logic [31:0] Din, Dout;
|
logic [31:0] Din, Dout;
|
||||||
logic [N:1] requests;
|
logic [N:1] requests;
|
||||||
@ -167,7 +167,7 @@ module plic (
|
|||||||
`endif
|
`endif
|
||||||
// or temporarily connect them to nothing
|
// or temporarily connect them to nothing
|
||||||
assign requests[3:1] = 3'b0;
|
assign requests[3:1] = 3'b0;
|
||||||
|
|
||||||
// pending updates
|
// pending updates
|
||||||
// *** verify that this matches the expectations of the things that make requests (in terms of timing, edge-triggered vs level-triggered)
|
// *** verify that this matches the expectations of the things that make requests (in terms of timing, edge-triggered vs level-triggered)
|
||||||
assign nextIntPending = (intPending | (requests & ~intInProgress)) // requests should raise intPending except when their service routine is already in progress
|
assign nextIntPending = (intPending | (requests & ~intInProgress)) // requests should raise intPending except when their service routine is already in progress
|
||||||
|
Loading…
Reference in New Issue
Block a user