Open LudvigVidlid opened 5 years ago
The solution you already have (to explicitly add the verilog builtins) should work. If you want you can add a mixed class which does this out of the box if you think it is more convenient. The only thing that differ between these classes are what files are automatically added to the project.
We'd like to allow both SystemVerilog and VHDL test benches in our project. From #297 I learned that
should be used for VHDL, and
should be used for SystemVerilog.
Basically, I want to add both versions of vhdl_pkg, which I now do in this way:
This does what I want - the VHDL and SystemVerilog files both use the vhdl_pkg type I'd like them to.
Three questions: A) I fear that I am simply lucky that my simulator (QuestaSim) uses the files I want it to. Do you know upfront if this could be the case? B) Is there already a better way to do this? C) If you think that (A) is no problem, I could make a pull request with a new VUnit class similar to that of the verilog-VUnit class:
Thanks! /Ludde