openhwgroup / cva6

The CORE-V CVA6 is an Application class 6-stage RISC-V CPU capable of booting Linux
https://docs.openhwgroup.org/projects/cva6-user-manual/
Other
2.14k stars 651 forks source link

refac: (in hpdcache interface) separate the modules for dcache and icache #2173

Closed takeshiho0531 closed 3 weeks ago

takeshiho0531 commented 1 month ago

for GSoC Project: Transforming the OpenHW High Performance Data Cache into a High Performance Instruction Cache

github-actions[bot] commented 1 month ago

:x: failed run, report available here.

github-actions[bot] commented 1 month ago

:x: failed run, report available here.

github-actions[bot] commented 1 month ago

:x: failed run, report available here.

github-actions[bot] commented 1 month ago

:x: failed run, report available here.

takeshiho0531 commented 4 weeks ago

@cfuguet @AileonN

I have some questions...

cfuguet commented 3 weeks ago

I'm not sure what is the issue here... it looks like the +incdir directive did not work for the ASIC synthesis. The tool is not finding the hpdcache_typedef.svh header file in the HPDcache subdirectory. All the following errors are the consequence of this.

@JeanRochCoulon could you please share the synthesis report ?

@takeshiho0531 is working in the GSoC project to adapt the HPDcache and enable its usage as an Instruction Cache as well. As a first step, she proposes this refactoring of the hpdcache subsystem which simplifies greatly the future integration of the HPDcache as Icache of the CVA6

JeanRochCoulon commented 3 weeks ago

Maybe I see the problem. The Asic synthesis flow has been updated last week. can you rebase your PR to update the flow ?

cfuguet commented 3 weeks ago

Maybe I see the problem.

The Asic synthesis flow has been updated last week.

can you rebase your PR to update the flow ?

@takeshiho0531 can you rebase ?

github-actions[bot] commented 3 weeks ago

:heavy_check_mark: successful run, report available here.

cfuguet commented 3 weeks ago

Hi @takeshiho0531,

I think your PR is ready to be merged, but the commits messages are not convenient. Could you please rebase your PR and make a single commit with an appropriate message ?

Thanks !

JeanRochCoulon commented 3 weeks ago

Hello @takeshiho0531 Thank for your contributions. I am ready to merge. Tell me !

cfuguet commented 3 weeks ago

Hi @JeanRochCoulon, I think you can merge @takeshiho0531 contribution. You are doing a merge right ? What is the message of the merge commit ? It is just that there are 9 commits with no so useful descriptions, but if the message is the one in the PR description that is ok.

cfuguet commented 3 weeks ago

However, I would change the description of the PR to :

refactor hpdcache_cache_subsystem module code to ease reutilization

JeanRochCoulon commented 3 weeks ago

The commits are squashed, and I set your description.