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

[fusesoc] Compile DPI modules into shared libraries and link them afterwards #73

Closed
imphil opened this issue Mar 27, 2019 · 4 comments
Closed
Labels
Component:Tooling Issues related to tooling, e.g. tools/scripts for doc, code generation (docgen, reggen), CSR Good First Issue Good issue to work on for newcomers Priority:P2 Priority: medium Type:Enhancement Feature requests, enhancements

Comments

@imphil
Copy link
Contributor

imphil commented Mar 27, 2019

Currently we compile all DPI code together with the Verilator-generated C++ code. We need to extend fusesoc to first compile the DPI modules into shared libraries, and then pass those libraries to the Verilator makefile to link all components together into one simulation.

This allows us to actually compile C code with a C compiler, as opposed to a C++ compiler (that's what we do right now).

@aytong
Copy link

aytong commented Apr 18, 2019

Philipp, who should this be assigned to, and what's the best "Type" for this issue: Tooling, SW, or DV?

@lowrisc-bot lowrisc-bot transferred this issue from another repository Aug 31, 2019
@lowrisc-bot lowrisc-bot added Component:Tooling Issues related to tooling, e.g. tools/scripts for doc, code generation (docgen, reggen), CSR Priority:P2 Priority: medium Resolve: Migrate to OT Type:Enhancement Feature requests, enhancements labels Aug 31, 2019
@aytong
Copy link

aytong commented Oct 30, 2019

Scrubbing stale issues. @imphil , what's the current status on this? Thanks.

@imphil
Copy link
Contributor Author

imphil commented Oct 31, 2019

still valid

@tomeroberts tomeroberts added the Good First Issue Good issue to work on for newcomers label Oct 2, 2020
@GregAC
Copy link
Contributor

GregAC commented Sep 2, 2022

We haven't seen any issues with compiling our DPI C code with a C++ compiler so closing this.

@GregAC GregAC closed this as completed Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component:Tooling Issues related to tooling, e.g. tools/scripts for doc, code generation (docgen, reggen), CSR Good First Issue Good issue to work on for newcomers Priority:P2 Priority: medium Type:Enhancement Feature requests, enhancements
Projects
None yet
Development

No branches or pull requests

5 participants