Forum Discussion
10 Replies
- zener
Occasional Contributor
I'm using the generated msim_setup.tcl so I don't set up any libraries myself. I simply set variables like TOP_LEVEL_NAME, USER_DEFINED_COMPILE_OPTIONS and USER_DEFINED_ELAB_OPTIONS, but still I get errors like I mentioned earlier in this thread.
Further the directory in the error message /tmp/psgswbuild/nightly/ does not appear on my system and looks more like a directory used by Altera CI (or old Intel PSG).
- RichardT_altera
Super Contributor
Could you please try regenerating the msim_setup.tcl file and setting up the simulation script again?
Also, please share the design QAR file (Project > Archive Project) along with the steps used to run the simulation and reproduce the issue.
Regards,
Richard Tan- zener
Occasional Contributor
The result is the same if I re-build the setup file and all other files from the *.ip files. Unfortunately I can't upload all build software for reproducing the issue.
- kbrunham_altera
New Contributor
Hi Mguran,
Several of our libraries have their implementation supported by DPI functions. This means you need to ensure you have that library included as a part of the overall simulation.
In your case here I would recommend that you run ip-make-simscript on your Quartus revision following the instruction in Section 8.5 of https://docs.altera.com/r/docs/683609/25.1.1/quartus-prime-pro-edition-user-guide-platform-designer/create-an-.ipx-file-with-ip-make-ipx. This will create a single simscript that includes all the IPs and PD Systems in your design, along with compiling all the libraries correctly. You can then augment this with your own RTL by creating a toplevel script and souricing these generated scripts.
- zener
Occasional Contributor
Was there ever a solution to this? I just got a similar error during an Agilex5 simulation:
# ** Fatal: (vsim-160) /tmp/psgswbuild/nightly/26.1/110/l64/work/questa_fe/eda/sim_lib/tennm_revb_hvio_ncrypt.sv(145): Null foreign function pointer encountered when calling 'simsf_constra3#_mti_copy_opt_#' # Time: 0 fs Iteration: 0 Process: /system/top/u_cpu/u_qsys_top/iopll_0/iopll_0/tennm_ph2_iopll/tennm_ph2_iopll_encrypted_inst/#INITIAL#145 File: /net/server/tools/altera/quartus/v26.1.0.110_pro/questa_fse/linux_x86_64/../intel/verilog/src/tennm_revb_hvio.sv # Fatal error in Module tennm_ph2_iopll in file /net/server/tools/altera/quartus/v26.1.0.110_pro/questa_fse/linux_x86_64/../intel/verilog/src/tennm_revb_hvio.sv- mguran
New Contributor
I'm also getting this error. Based on earlier warnings in the compile process, it looks like it's related to DPI library dependencies in the PLL. I've tried placing -dpiheader arguments in the vsim command, but no luck.
Anyone know how to properly include precompiled DPI libraries in questa sim?
# ** Warning: (vsim-3770) Failed to find user specified function 'simsf_constra3' in DPI C/C++ source files.
...
# ** Fatal: (vsim-160) /tmp/psgswbuild/nightly/24.3/212/l64/work/questa_fe/eda/sim_lib/tennm_revb_hvio_ncrypt.sv(132): Null foreign function pointer encountered when calling 'simsf_constra3#_mti_copy_opt_#'
# Time: 0 ps Iteration: 0 Process: /adc_interface_tb/adc_interface/gen_adc_receive(0)/n_adc_rec/intel_lvds_0/core/arch_inst/pll_inst/internal_pll/tennm_ph2_iopll/tennm_ph2_iopll_encrypted_inst/#INITIAL#132 File: /home/mguran/intelFPGA_pro/24.3/questa_fse/linux_x86_64/../intel/verilog/src/tennm_revb_hvio.sv
# Fatal error in Module tennm_ph2_iopll in file /home/mguran/intelFPGA_pro/24.3/questa_fse/linux_x86_64/../intel/verilog/src/tennm_revb_hvio.sv
- RichardT_altera
Super Contributor
Hi mguran
Do you have any update on this?
Regards,
Richard Tan
- aikeu
Regular Contributor
Hi awaissman,
As we do not receive any response from you on the previous question/reply/answer that we have provided. Please login to ‘https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
Thanks.
Regards,
Aik Eu
- aikeu
Regular Contributor
Hi awaissman,
We sincerely apologize for the inconvenience caused by the delay in addressing your Forum queries. Due to an unexpected back-end issue in our system, your Forum cases, along with others, did not get through as intended. As a result, we have a backlog of cases that we are currently working through one by one.
Please be assured that we are doing everything we can to resolve this issue as quickly as possible. However, this process will take some time, and we kindly ask for your patience and understanding during this period. The cases will be attended by AE shortly.
We appreciate your patience and understanding, and we are committed to providing you with the best support possible.
Thank you for your understanding.
May I know do you need help on the matter?
Thanks.
Regards,
Aik Eu