legendbb
Member level 1

Dear Experts,
I have some unique data type used through my project.
In order to make some IP source file independent of the common package.
I redefined TYPEs in local package with the identical text.
Back in integration, receive error from Vivado, expected MY_Array.
I understand, there are two definitions of the "MY_Array", but I just don't want to reference the common package.
What's the right way of doing this, give the fact I have to use my data type.
Thanks,
I have some unique data type used through my project.
In order to make some IP source file independent of the common package.
I redefined TYPEs in local package with the identical text.
Code:
TYPE MY_Array IS ARRAY (0 TO 2) OF STD_LOGIC_VECTOR(3 DOWNTO 0)
Back in integration, receive error from Vivado, expected MY_Array.
I understand, there are two definitions of the "MY_Array", but I just don't want to reference the common package.
What's the right way of doing this, give the fact I have to use my data type.
Thanks,