Questa FPGA Starter Edition: Fatal WLF Error when restarting sim - Questa FPGA Starter Edition: Fatal WLF Error when restarting sim
Simulating some SystemVerilog code (example attached) on Questasim Starter Edition 24.1 or 25.1, when clicking on "restart" on the gui (or typing restart in the console), QuestaSim crashes and gives the following error: ** Error: Fatal WLF Error (2): allocateArchiveNumbers: unknown opcode error: 0 1 I have attached a minimal reproducible example, along with the transcript. On the example, I have found the crash only occurs when passing req_i.b to the "control_decoder" module. Passing req_i.a works fine. Defining type_t with just one member logic b also works. On the Makefile, removing -pedanticerrors also prevents the crash. Thanks
Replies:
Re: Questa FPGA Starter Edition: Fatal WLF Error when restarting sim
It seems to be supported in the Altera version aside from this particular edge case. I do not have access to QuestaSim (non-starter). I will attempt to file a ticket with Siemens. Thanks
Replies:
Re: Questa FPGA Starter Edition: Fatal WLF Error when restarting sim
I am not familiar with the pendantic errors. Could this be a feature supported in the QuestaSim? Try to use QuestaSim to see if the issue occurs. If the error do not occur, then it is likely not supported in the Altera version. If the issue occurs, I would suggest to file a ticket to the Siemen team for further support. FYI, the Questa FPGA Starter Edition is a lesser version of QuestaSim. Regards, Richard Tan
Replies:
Re: Questa FPGA Starter Edition: Fatal WLF Error when restarting sim
Hello and thanks for your earlier reply. The code is very simple and compiles and simulates properly (no errors or warnings), either with the default GUI flow or my scripted flow. The crash I have encountered occurs when performing a design restart in questa, when pendantic errors are enabled. I believe this is a bug in questa regarding handling of *.wlf files. I have not been able to resolve the issue, but sidestep it by displaying another signal with the same data.
Replies:
Re: Questa FPGA Starter Edition: Fatal WLF Error when restarting sim
Do you able to resolve the issue? Do you have further inquiries regarding this case? Regards, Richard Tan
Replies:
Re: Questa FPGA Starter Edition: Fatal WLF Error when restarting sim
Please use the supported simulation flow, either the recommended RTL simulation (NativeLink) or the scripted simulation flow. When compiling the top‑level design in Quartus, the tool should report any issues through error messages if there are problems in the design. RTL Simulation: https://docs.altera.com/r/docs/683870/25.3/quartus-prime-pro-edition-user-guide-third-party-simulation/launching-simulation-with-the-run-simulation-feature https://docs.altera.com/r/docs/691278/21.3/questa-intel-fpga-edition-quick-start-intel-quartus-prime-pro-edition/questa-intel-fpga-edition-quick-start-intel-quartus-prime-pro-edition Regards, Richard Tan - 2026-06-03
external_document
- Resource Type
- Support Resources > Forums
- Source Name
- khoros