Add --dpi-hdr-only option
Towards bug1490. I have the feature coded, but am not sure about the best way to test this: https://github.com/toddstrader/verilator-dev/tree/dpi-header
Ideally, I'd like to run something like t_dpi_import with and without --dpi-hdr-only (to two different output directories). Then I'd check to make sure that with the flag, the DPI header is the only thing that comes out and make sure it is the same as the file produced without the flag. I'm not sure if driver.pl will support something like this. I need to do some reading to figure that out, but if there are other suggestions for testing I'm all ears.
#2 Updated by Todd Strader 28 days ago
I added a test for the new option. I believe this is ready to land now: https://github.com/toddstrader/verilator-dev/tree/dpi-header
#3 Updated by Wilson Snyder 25 days ago
- Category set to Configure/Make/Compiling
- Status changed from New to Assigned
I'm fine with your squashing and pushing this.
However in the larger picture (perhaps worth discussing in the other bug) I'd prefer we not need to run the generation of the dpi headers as a separate step.
Also available in: Atom