openpiton icon indicating copy to clipboard operation
openpiton copied to clipboard

Add support for CVA6 + HPDC

Open ArnauBigas opened this issue 4 months ago • 2 comments

This Pull Request adds support for using the HPDC in OpenPiton. To do so, I have added and updated the L1.5 adapters and hpdcache cache subsystems.

Because previously the L1.5 interface types & enums were in the wt_cache pkg and adapter files, I have moved the typedefs to a l15_pkg in this repository. This allows any cache (and any core) to interface with the L1.5.

I have tested the changes and they're passing physical and virtual single core tests. I am running more tests but I thought I'd open the merge requests already to get any possible discussions out of the way earlier.

When https://github.com/openhwgroup/cva6/pull/3134 is accepted I will change the submodule paths and this will be ready to be merged.

This merge requests also contains some misc. fixes by me to provide support for my testing environment, mainly verilator 5+, waveforms, multithreaded compilation of bootrom, newer riscv compiler fixes, etc...

CC: @Jbalkind

ArnauBigas avatar Nov 06 '25 16:11 ArnauBigas

This patch is ultimately pretty small but the history is quite long - could you squash it down to a single commit?

Jbalkind avatar Nov 06 '25 21:11 Jbalkind

Yup, I was planning on doing that once everything was set and ready, e.g. in case I need to add some more commits to apply feedback or update ariane or whatever. If you consider it necessary I can do that right now.

ArnauBigas avatar Nov 07 '25 08:11 ArnauBigas