-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
If I'm not mistaken, dvsim supports building DPI-C libraries by adding files with file_type: cppSource (example here).
To be honest I couldn't follow the labyrinth of Python packages to the place that actually takes effect (in Edalize?) so I'm not 100% sure how it works...
Anyway I would like to use a DPI-C library that isn't written in C (in Rust specifically). So I need to:
- Run a build command automatically.
- Add the
-sv_lib foo.so(or whatever) to the simulator command.
Is that possible? I did find that Edalize supports file_type: dpiLibrary, but only for Xcelium??. So maybe that just needs to be extended to other simulators... and then how would you run the actual library build command before running the simulation?
Any help appreciated!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels