Forum Discussion

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

How to package a custom IP containing IP as submodule

Hi,

I have created simple design where I instantiate LPM_sub_add IP as submodule. I would like to package the whole top level so that I can reuse IP. Below are the steps used:

  1. Create a new component in Platform designer.
  2. I added the .qip file of the IP along with top VHDL file in the synthesis files.

While generating the complete IP I am seeing bunch of errors:

Error: Component add1 can't instantiate a custom component with the same name as itself

Error: add1.add1_0.add1_0: Component add1 1.0 not found or could not be instantiated

Error: add1.clk_0.clk/add1_0.clock: Missing connection end (try "Remove Dangling Connections")

Error: add1.add1_0: add1_0.clk must be connected to a clock output

Error: add1.add1_0.add1_0: Component add1 1.0 not found or could not be instantiated

Error: add1.clk_0.clk/add1_0.clock: Missing connection end (try "Remove Dangling Connections")

Error: add1.add1_0: add1_0.clk must be connected to a clock output

Error: add1_0: missing_module does not support generation.

Error: qsys-generate failed with exit code 1: 4 Errors, 3 Warnings

I guess somehow I have to stitch the netlsit but not sure though. I am not sure if I am missing something basic here. Can someone please guide me with the exact steps to package a custom IP which has submodule IPs?

Thanks,

17 Replies

  • KennyT_altera's avatar
    KennyT_altera
    Icon for Super Contributor rankSuper Contributor

    Did you follow the steps that I provided u in the mail? Basically, when you generate the IP. Under the *.qip, it had somethings like .v files that consist of the defparam parameter for you to used.

    Unfortunately, we don't have documentation for the specific Ip that you want. https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_low_level.pdf?wapkw=Designing%20with%20Low-Level%20Primitives

    But if you make the generation of the IP, you should see one of the files have the defparam for you to be used.

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

    @KennyT_Intel​ ,

    I am still stuck at this point. The design i am trying to port has native phy, generic fifo which are not available as part of the platform designer. Even though I am using all Intel IPs I am unable to migrate the design to platfrom designer. Its really annoying. As you told that "But if you make the generation of the IP, you should see one of the files have the defparam for you to be used.", can you tell me the exact file name and the location where it can be found?

  • KennyT_altera's avatar
    KennyT_altera
    Icon for Super Contributor rankSuper Contributor

    Hi Arpan,

    Can we have a skype to look into this? I had send you an email. You can check your inbox.

    Best regards,

    Kenny

  • KennyT_altera's avatar
    KennyT_altera
    Icon for Super Contributor rankSuper Contributor

    Arpan, thanks for having a skype last week. Will work with you on following skype on 26/12/19.