Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17267 讨论

Error while simulating Cyclone 10 GX PLL

JPrig
初学者
1,516 次查看

Hi,

I want to simulate a simple test project for Cyclone 10 GX. My tool is Aldec Riviera PRO. I instantiate a PLL (IOPLL Intel FPGA IP)  and a FIFO in Quartus 24.3 PRO. In Quartus the project compiles without errors.

In Riviera, I modified the Intel template script (attached) to control the simulation. When I run the script, I get the following error:

set TOP_LEVEL_NAME work.rockfish_devkit_top_tb
# work.rockfish_devkit_top_tb
set USER_DEFINED_ELAB_OPTIONS ""
elab
# [exec] elab
# ELBREAD: Elaboration process.
# ELBREAD: Warning: Cannot find library work_lib.
# ELBREAD: Elaboration time 0.3 [s].
# KERNEL: Main thread initiated.
# KERNEL: Kernel process initialization phase.
# ELAB2: Elaboration final pass...
# ELAB2: Create instances ...
# ELAB2: Fatal Error: ELAB2_0093 The defparam statement from module "cyclone10gx_iopll_ip" in "/rockfish_devkit_top_tb/c_dut/c_pll/iopll_0/altera_iopll_i/genblk1/c10gx_pll" points to variable "reference_clock_frequency" in a non-Verilog design region "/rockfish_devkit_top_tb/c_dut/c_pll/iopll_0/altera_iopll_i/genblk1/c10gx_pll/iopll_inst".
# ELAB2: Last instance before error: /rockfish_devkit_top_tb/c_dut/c_pll/iopll_0/altera_iopll_i/genblk1/c10gx_pll
# KERNEL: Error: E8005 : Kernel process initialization failed.
# VSIM: Error: Simulation initialization failed.
# SCRIPTER: Error: rockfish_top_tb.do : (55, 1): Script execution terminated due to error(s).

 

How can I solve this?

Best regards,

Julia Prigara

 

标签 (1)
0 项奖励
10 回复数
sstrell
名誉分销商 III
1,465 次查看

Are you trying to use Verilog or VHDL for this and does your simulation tool support mixed-language designs?

It looks like you generated the PLL as Verilog but you're trying to compile in the sim tool as VHDL (or vice versa).

0 项奖励
JPrig
初学者
1,436 次查看

I use VHDL for my custom code and I generate all IPs as VHDL, picture attached.

Our Riviera PRO licenses support both VHDL and Verilog, picture attached. 

0 项奖励
RichardTanSY_Altera
1,337 次查看

The ELAB2_0093 Fatal Error seem to indicate that a mismatch in your design that arises because a defparam statement is trying to modify a parameter (reference_clock_frequency) in a module that is not defined in Verilog.

Some IP cores require the Verilog variant, as the VHDL version is not supported for certain IPs.


Could you try using the Verilog variant instead and check if the error is resolved?


Regards,

Richard Tan


0 项奖励
RichardTanSY_Altera
1,305 次查看

Dropping a note to ask if my last reply was helpful to you.

Do you able to resolve the issue? 


Best Regards,

Richard Tan


0 项奖励
JPrig
初学者
1,300 次查看

Hi Richard,

thanks for the suggestion. I proceeded with overriding/forcing the PLL outputs from my testbench for now, as I am on a critical project line with this. I'll need to try out Verilog at a later point.

Best regards,

Julia

 

0 项奖励
RichardTanSY_Altera
1,157 次查看

Noted Julia.

May I know the estimate time when you will try it out? 


Regards,

Richard Tan


0 项奖励
JPrig
初学者
1,134 次查看

Hi Richard,

As it looks right now, I will just bypass the whole PLL for the rest of the project. I will not spend time on debugging this problem.

 

Best regards,

Julia 

 

0 项奖励
RichardTanSY_Altera
1,119 次查看

I understand.

In that case, do you need any further assistance from my side?


Regards,

Richard Tan


0 项奖励
JPrig
初学者
1,106 次查看

No, thanks, you can close this thread.

Regards,

Julia

0 项奖励
RichardTanSY_Altera
1,093 次查看

Thank you for the confirmation.

Now, I will transitioning this thread to community support. If you have any further questions or concerns, please don't hesitate to reach out. 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.


Thank you and have a great day!


Best Regards,

Richard Tan



0 项奖励
回复