Skip to content

Handling "Multiple Declarations of type" error #136

Answered by amykyta3
hughjackson asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah I agree the latest implementation of the IP-XACT importer is not great in handling this. I ran into this issue recently as well. When I refactored it, I did not anticipate the variety of ways that different IP vendors would cause name collisions, even within their own IP.

I think the proper solution is to explicitly prefix every imported name with the component name, (as well as the memoryMap name for the addressBlock)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by amykyta3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants