Closed shawn110285 closed 2 years ago
module tilelink_master2slave_a_channel
ADDR_Low =32'h00000000, ADDR_High =32'h00000fff
) ( input logic clk_i, input logic rst_n_i, ... );
verilator reported the error as below: Unsupported: Replication to form 'integer$[2:0]' data type
This has nothing to do with Verilog-Mode. Please use Verilator https://github.com/verilator/verilator/ instead. However to answer, use a pattern assignment ";{".
module tilelink_master2slave_a_channel
(parameter NUM_MASTER = 3, ADDR_WIDTH =32, DATA_WIDTH=32, SRC_ID_WIDTH = 3, SIZE_WIDTH = 2, parameter integer MASTER_ID_BASE[NUM_MASTER-1:0]={2,1,0},
) ( input logic clk_i, input logic rst_n_i, ... );
verilator reported the error as below: Unsupported: Replication to form 'integer$[2:0]' data type