Skip to content

Conversation

@niwis
Copy link
Contributor

@niwis niwis commented Nov 18, 2021

Set Ariane's AXI data width to its data cache width (currently 512 bit)

Changelog

Changed

  • Update to CVA6 version with parametrised AXI data width
  • Separate AXI types for Ariane and Peripherals (so that the data widths are independent)

Checklist

  • Automated tests pass
  • Changelog updated
  • Code style guideline is observed

Make the Ariane AXI config independent of the peripheral AXI

Signed-off-by: Nils Wistoff <nwistoff@iis.ee.ethz.ch>
Signed-off-by: Nils Wistoff <nwistoff@iis.ee.ethz.ch>
Signed-off-by: Nils Wistoff <nwistoff@iis.ee.ethz.ch>
@niwis niwis changed the title cva6: Widen AXI data width cva6: Increase AXI data width Nov 18, 2021
Copy link
Contributor

@mp-17 mp-17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the efforts, Nils! Great work, especially on CVA6's side! ;-)
Only not 100% clear why we are upsizing the I$ line width as well

localparam int unsigned ICACHE_INDEX_WIDTH = $clog2(CONFIG_L1I_SIZE / ICACHE_SET_ASSOC); // in bit, contains also offset width
localparam int unsigned ICACHE_TAG_WIDTH = riscv::PLEN-ICACHE_INDEX_WIDTH; // in bit
localparam int unsigned ICACHE_LINE_WIDTH = 256; // in bit
localparam int unsigned ICACHE_LINE_WIDTH = 512; // in bit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need wider I$ lines as well?

localparam int unsigned ICACHE_LINE_WIDTH = 512; // in bit
// D$
- localparam int unsigned CONFIG_L1D_SIZE = 32*1024;
- localparam int unsigned DCACHE_SET_ASSOC = 8; // Must be between 4 to 64
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, this should be true by default, now

@suehtamacv
Copy link
Contributor

@mp-17 Can we merge this? I guess it is more of a question of, is this the configuration you used for ASAP?

@mp-17 mp-17 changed the title cva6: Increase AXI data width [HW] cva6: Increase AXI data width Aug 30, 2022
@mp-17
Copy link
Contributor

mp-17 commented Sep 28, 2022

Let's rebase this, modify the changelog, and launch a backend run!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants