cva6 icon indicating copy to clipboard operation
cva6 copied to clipboard

Issue With AXI_DATA_WIDTH parameter overiding

Open dvusingh opened this issue 5 months ago • 2 comments

Hi,

I am using the cv32a6_imac_sv32_config_pkg.sv config file to run the benchmark median test. In that file when I tried to modify the AxiDataWidth from 64 bits to 128 bits localparam CVA6ConfigAxiDataWidth = 128. and ran the simulations.

I am getting the below Errors

Error-[IRIPS] Illegal range in part select home/cva6/core/cache_subsystem/wt_axi_adapter.sv, 173 The range of the part select is illegal: AxiRdBlenDcache[($clog2(AxiNumWords) - 1):0]

I saw the dependency of AxiDataWidth parameter with other parameters like ICACHE_LINE_WIDTH & DCACHE_LINE_WIDTH to calculate AxiNumWords.

localparam AxiNumWords = (CVA6Cfg.ICACHE_LINE_WIDTH/CVA6Cfg.AxiDataWidth) * (CVA6Cfg.ICACHE_LINE_WIDTH > CVA6Cfg.DCACHE_LINE_WIDTH) + (CVA6Cfg.DCACHE_LINE_WIDTH/CVA6Cfg.AxiDataWidth) * (CVA6Cfg.ICACHE_LINE_WIDTH <= CVA6Cfg.DCACHE_LINE_WIDTH) ;

Is it correct to run the cva6 test with AxiDataWidth=128. Or what are the modification we need to do if we change AxiDataWidth.

It would be helpful if I get some clarification on this issue to proceed further.

Thanks

dvusingh avatar Aug 29 '24 08:08 dvusingh