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

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

DDARN2
Beginner
721 Views

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?

0 Kudos
10 Replies
KhaiChein_Y_Intel
511 Views

Hi,

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

 

Thanks.

0 Kudos
DDARN2
Beginner
511 Views

Hello,

 

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

 

Thanks.

 

0 Kudos
sstrell
Honored Contributor III
511 Views

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

0 Kudos
DDARN2
Beginner
511 Views

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.

0 Kudos
sstrell
Honored Contributor III
511 Views

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

0 Kudos
DDARN2
Beginner
511 Views

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

0 Kudos
sstrell
Honored Contributor III
511 Views

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

 

#iwork4intel

0 Kudos
DDARN2
Beginner
511 Views

Yes, they were and are not present.

0 Kudos
KhaiChein_Y_Intel
511 Views

Hi,

 

Can you provide a sample test case and steps to reproduce the error?

 

Thanks.

0 Kudos
KhaiChein_Y_Intel
511 Views

Hi,

 

Do you have any updates?

 

Thanks

0 Kudos
Reply