Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary ariane_soc_pkg dependency #598

Merged

Conversation

LucaZulberti
Copy link
Contributor

With my work, I had the necessity to remove the dependency of ariane_soc package from the CVA6 core.
It was straightforward because *_slv_t types are needed only in ariane_testharness.

I'm not familiar with your build system (Bender, etc..) and I'm not sure this is the best solution to be maintained.
If you are interested in isolating better the code of CVA6 from the SoC where it is instantiated, this patch aims to obtain this result.

Draft until interested and improved.

*_slv_t types are needed only in ariane_testharness.
The CVA6 core should not depend on packages related to the SoC
where it is placed.

Signed-off-by: Luca Zulberti <zulberti.luca@gmail.com>
@zarubaf
Copy link
Contributor

zarubaf commented Feb 1, 2021

Thanks, @LucaZulberti, that LGTM.

@MikeOpenHWGroup Can you confirm that this solves the dependency issue? If so, let's bring this in before #602.

@LucaZulberti LucaZulberti marked this pull request as ready for review February 1, 2021 07:36
@LucaZulberti LucaZulberti requested a review from zarubaf as a code owner February 1, 2021 07:36
@MikeOpenHWGroup
Copy link
Member

I can confirm that this resolves, the dependency issue, so yes, please merge this in ahead of #602.

Thanks @LucaZulberti.

Copy link
Contributor

@zarubaf zarubaf left a comment

Choose a reason for hiding this comment

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

Thanks @LucaZulberti, that looks fantastic to me. I've also tried building the FPGA which works. So I am going ahead with merging.

@zarubaf zarubaf merged commit d88cfeb into openhwgroup:master Feb 16, 2021
OttG pushed a commit to OttG/cva6 that referenced this pull request Jul 6, 2021
*_slv_t types are needed only in ariane_testharness.
The CVA6 core should not depend on packages related to the SoC
where it is placed.

Signed-off-by: Luca Zulberti <zulberti.luca@gmail.com>
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.

3 participants