Jump to content

IP-XACT 1685-2014 addDesignInterconnection and addInterconnectionActiveInterface


Recommended Posts

Hi,

Does the addDesignInterconnection actually create a activeInterface?

It looks to me the addDesignInterconnection only need the designID and name, we can call addInterconnectionActiveInterface after calling addDesignInterconnection(designID, name).

IEEE 1685-2014

F.7.45.30 addDesignInterconnection
Description: Add interconnection with the given name, componentInstanceRef, and busRef to the given design element 
— Returns: interconnectionID of type String - Handle to an interconnection element
— Input: designID of type String - Handle to a design element
— Input: name of type String - Interconnection name
— Input: componentInstanceRef of type String - Component instance name
— Input: busInterfaceRef of type String - Bus interface name

F.7.45.32 addInterconnectionActiveInterface
Description: Add activeInterface with the given componentInstanceRef and busRef tot the given interconnection element 
— Returns: activeInterfaceID of type String - Handle to an activeInterface element
— Input: interconnectionID of type String - Handle to an interconnection element
— Input: componentInstanceRef of type String - Component instance name
— Input: busInterfaceRef of type String - Bus interface name


In IEEE 1685-2022, the addDesignInterconnection function signature changed. It gives me the impression that the TGI interface is not quite stable.

IEEE 1685-2022

F.7.38.8 addDesignInterconnection
Description: Adds interconnection with the given name between two component instance interfaces given
by ComponentInstanceRef1, busRef1, componentInstanceRef2, and busInterfaceRef2 to the given design element.
— Returns: interconnectionID of type String - Handle to an interconnection element
— Input: designID of type String - Handle to a design element
— Input: name of type String - Interconnection name
— Input: componentInstanceRef1 of type String - Component instance name
— Input: busInterfaceRef1 of type String - Bus interface name
— Input: componentInstanceRef2 of type String - Component instance name
— Input: busInterfaceRef2 of type String - Bus interface name

 

thanks,
yohuang

Link to comment
Share on other sites

Hi Yohuang,

Indeed the TGI is not backward compatible between IP-XACT versions. For 2022 we decided to refactor a lot. The IP-XACT Working Group is preparing a TGI Application Note to explain its usage more clearly.

Best regards,
Erwin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...