Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
15996 Discussions

How to Use LPM_FF(DFF, INV..etc) from Insert Symbol in quartus prime? How to add this mega-function libraries.

BDE
Beginner
821 Views

Explain in detail steps. 

 

below are steps are done

-

LIBRARY lpm;

USE lpm.lpm_components.all; 

-

still error

Error (10346): VHDL error at lpm_inv_0.vhd(43): formal port or parameter "LPM_WIDTH" must have actual or default value

Error (10784): HDL error at lpm_pack.vhd(219): see declaration for object "LPM_WIDTH"

 

0 Kudos
5 Replies
Vicky1
Employee
501 Views

Hi,

Please modify the symbol properties & compile again,

Right Click on symbol(LPM_DFF)-> properties-> Parameter as shown below,

LPM_DFF.JPG

if this has not resolved then provide bit more information like,

  1. Quartus edition(Lite/Pro/Std) & Version used
  2. Device part number used
  3. Elaborate about, what exactly you are trying?

Regards,

Vicky

Vicky1
Employee
501 Views

Hi,

Have you resolved the issue?

Should I consider that case to be closed?

Regards,

Vicky

 

Vicky1
Employee
501 Views

Hi,

Please refer the attached screenshot & try at your end.

please let me know if you have any different concern.

LPMDFF.JPG

Regards,

Vicky

 

BDE
Beginner
501 Views

Hi,

Symbol synthesis will work,

Can you try to convert the same symbol to VHDL and synthesis.

 

regards,

Balakrishna

Vicky1
Employee
501 Views

Hi Balakrishna,

After successfully synthesis(my last post) , instantiate it in top module like below,

  1. Open .bdf file
  2. File-> Create/Update->Create VHDL component declaration component files for current file(It will create .cmp file)
  3. Open that .cmp file & instantiate it in top module & then compile that top module.

Regards,

Vicky

Reply