mirror of
https://github.com/openhwgroup/cva5.git
synced 2025-04-22 21:17:46 -04:00
Explicit indexing for interface arrays
This commit is contained in:
parent
03d52f4458
commit
84607e30cf
3 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ module gc_unit
|
|||
|
||||
//Exception
|
||||
exception_interface.unit local_gc_exception,
|
||||
exception_interface.econtrol exception [NUM_EXCEPTION_SOURCES],
|
||||
exception_interface.econtrol exception [NUM_EXCEPTION_SOURCES-1:0],
|
||||
input logic [31:0] exception_target_pc,
|
||||
|
||||
output logic mret,
|
||||
|
|
|
@ -32,7 +32,7 @@ module amo_unit
|
|||
input logic clk,
|
||||
input logic rst,
|
||||
|
||||
amo_interface.amo_unit agents[NUM_UNITS]
|
||||
amo_interface.amo_unit agents[NUM_UNITS-1:0]
|
||||
);
|
||||
|
||||
localparam RESERVATION_WIDTH = 30 - $clog2(RESERVATION_WORDS);
|
||||
|
|
|
@ -32,7 +32,7 @@ module writeback
|
|||
|
||||
(
|
||||
//Unit writeback
|
||||
unit_writeback_interface.wb unit_wb[MAX_NUM_UNITS],
|
||||
unit_writeback_interface.wb unit_wb[MAX_NUM_UNITS-1:0],
|
||||
//WB output
|
||||
output wb_packet_t wb_packet
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue