Forum Discussion

BDE's avatar
BDE
Icon for New Contributor rankNew Contributor
6 years ago

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

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"

5 Replies

  • Vicky1's avatar
    Vicky1
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    Please modify the symbol properties & compile again,

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

    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's avatar
    Vicky1
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    Have you resolved the issue?

    Should I consider that case to be closed?

    Regards,

    Vicky

  • Vicky1's avatar
    Vicky1
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    Please refer the attached screenshot & try at your end.

    please let me know if you have any different concern.

    Regards,

    Vicky

    • BDE's avatar
      BDE
      Icon for New Contributor rankNew Contributor

      Hi,

      Symbol synthesis will work,

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

      regards,

      Balakrishna

  • Vicky1's avatar
    Vicky1
    Icon for Regular Contributor rankRegular Contributor

    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