Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15331 Discussions

Import VHDL package in (System)Verilog design

VolCoM
Beginner
1,433 Views

Hello,

Here is my problem :

 

I have a package which is written in VHDL.

I would like to import it in my SystemVerilog design.

 

In Modelsim, I would simply compile the VHDL file with a special flag so it's compatible

=> vcom -mixedsvvh package.vhd

and then import it in my SystemVerilog file with

=> import package::*;

And everything works fine during the simulation.

 

In Quartus, I can't find any way to make the VHDL package compatible with my SV design.

When I try to compile in Quartus, I get the following error :

 

Error (10161): Verilog HDL error at SystemVerilogDesign.sv(4): object "package" is not declared. Verify the object name is correct. If the name is correct, declare the object.

 

  • My SV design is properly configured as a SystemVerilog file.

 

  • The name of my VHDL package is in lower case so it should not be a case problem.

 

It is exactly the same problem as described in this link from 3 years ago :

https://forums.intel.com/s/question/0D50P00003yyS9gSAE/error-10161-when-importing-vhdl-packages-to-s...

 

Thank you for any information that could help !

 

 

0 Kudos
0 Replies
Reply