Forum Discussion

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

Is there a maximum number of interfaces allowed in the Component Editor?

When I am adding interfaces and signals to a component in the component editor, I can save the component and then reopen it and many of the interfaces I defined are gone. This also happens when there is an error in one interface. Is there some order I need to follow to correct errors without having to redefine existing interfaces?

10 Replies

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

    Hi,

    May I know which editor you are referring to, the Intel IP component editor or custom IP component editor?

    Thanks.

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

      Hello,

      I am referring to the Intel Component Editor within the Platform Designer. I am using it to create a custom component.

      Thanks.

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

    Are you finishing the Component Editor and getting the message that it will create a _hw.tcl file? That's where the interfaces and signaling would be saved. There's no limit on signals/interfaces that I know of.

    #iwork4intel

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

      Yes, I finish the component editor and chose to save. At that point, it writes to the _hw.tcl file. The first time I saved my component, I did not include all the interfaces. To add additional interfaces, I edited the component and continued adding. The next time I saved, multiple, previously added components were removed from the .hw.tcl file. I've tried tackling this in different ways, like adding them one at a time and saving in between (very time consuming); however, I always get to a point where the save action removes interfaces that were previously added. At this point, I have opted to edit the tcl file directly and stop using the Component Editor, especially after finding multiple postings in the Community regarding the flakiness of that tool.

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

    When you say you "edited the component and continued adding", do you mean that you right-clicked the custom component in the IP Catalog and selected Edit? That's the way to continue updating an existing custom component using the graphical tool. From your description, it sounds like when you are "editing" a component, you are actually starting over and creating a new _hw.tcl file that is overwriting the old one.

    Recent versions of Platform Designer create backup _hw.tcl files (I think they are named _hw.tcl~). Have you checked these backups and compared them to the current _hw.tcl?

    #iwork4intel

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

      Hello, I was only using the "Edit" option from the right-click. The tool would (seemingly) randomly remove interfaces that I had already saved to the *_hw.tcl file from the previous exit.

      Thanks,

      Eric

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

    Have you looked at the backup file(s) with a ~ to see if the interfaces that were removed are present there?

    #iwork4intel

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

      Yes, they were and are not present.