Reply To: Weird QuestaSim Base Error

Why OSVVM™? Forums OSVVM Weird QuestaSim Base Error Reply To: Weird QuestaSim Base Error

#2790
Jim Lewis
Member

Hi Nigel,
In the OSVVM 2024.09 and 2025.02 releases, the 2019 compile switch was turned on if the Questa release is greater than 2024.2. With the OSVVM 2025.04a release and beyond the 2019 switch it is turned back off again. So I recommend getting the newest release of OSVVM (2025.06a) and this problem is resolved.

In Questa, your issue is happening because OSVVM was compiled with 2019 and your project was compiled with a different version. So in Questa, when you turn on VHDL-2019, you must turn it on for your whole project. You should be able to compile other parts of your project with 2019 as the VHDL-2019 standard should be backward compatible with older versions.

If you do not want to change your OSVVM revision, simply add the following to either your scripts or to your OsvvmSettingsLocal.tcl file:
SetVHDLVersion 2008

So how did this happened? In 2024.2 release of Questa, Questa claimed 2019 support. So I tested the VHDL-2019 based RandomPkg2019.vhd package. It passed all of our regressions and worked fine on Questa 2024.2 and 2024.3. In 2025 releases, the Questa started flagging the VHDL-2019 code in RandomPkg2019.vhd as unsupported.

Best Regards,
Jim