File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ module ibex_demo_system #(
71
71
parameter logic [31 : 0 ] SIM_CTRL_START = 32'h20000 ;
72
72
parameter logic [31 : 0 ] SIM_CTRL_MASK = ~ (SIM_CTRL_SIZE - 1 );
73
73
74
- localparam logic [31 : 0 ] PLIC_SIZE = 4 * 1024 ; // 4 KiB
75
- localparam logic [31 : 0 ] PLIC_START = 32'h80005000 ;
74
+ localparam logic [31 : 0 ] PLIC_SIZE = 64 * 1024 ; // 64 KiB
75
+ localparam logic [31 : 0 ] PLIC_START = 32'h8010000 ;
76
76
localparam logic [31 : 0 ] PLIC_MASK = ~ (PLIC_SIZE - 1 );
77
77
78
78
// Debug functionality is optional.
@@ -285,7 +285,7 @@ module ibex_demo_system #(
285
285
.irq_software_i (1'b0 ),
286
286
.irq_timer_i (timer_irq),
287
287
.irq_external_i (irq_external),
288
- .irq_fast_i (1 'b0 ),
288
+ .irq_fast_i (15 'b0 ),
289
289
.irq_nm_i (1'b0 ),
290
290
291
291
.scramble_key_valid_i ('0 ),
@@ -502,6 +502,11 @@ module ibex_demo_system #(
502
502
assign ndmreset_req = 1'b0 ;
503
503
end
504
504
505
+ // Interrupt signals
506
+ logic [31 : 0 ] irq_sources;
507
+ logic [31 : 0 ] irq_pending;
508
+ logic irq_external;
509
+
505
510
assign irq_sources = {
506
511
16'b0 , // Reserved
507
512
15'b0 , // Reserved
@@ -550,3 +555,4 @@ module ibex_demo_system #(
550
555
endfunction
551
556
`endif
552
557
endmodule
558
+
Original file line number Diff line number Diff line change @@ -150,4 +150,4 @@ module plic #(
150
150
151
151
assign rdata_o = reg_rdata;
152
152
153
- endmodule
153
+ endmodule
You can’t perform that action at this time.
0 commit comments