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

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

BDE
Beginner
1,668 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
1,348 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

0 Kudos
Vicky1
Employee
1,348 Views

Hi,

Have you resolved the issue?

Should I consider that case to be closed?

Regards,

Vicky

 

0 Kudos
Vicky1
Employee
1,348 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

 

0 Kudos
BDE
Beginner
1,348 Views

Hi,

Symbol synthesis will work,

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

 

regards,

Balakrishna

0 Kudos
Vicky1
Employee
1,348 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

0 Kudos
Reply