Hi!
I've a problem with similar packages in different libraries.
I mean, I've a library (proj_A) with its package (pkg_A) where I've declared array type
(type a_32bit is array (natural range <>) of std_logic_vector(31 downto 0))
Then I've instantiated this lib (whose ports are array types) in another lib (proj_B) which contains a pkg (pkg_B) with the same array types.
I've no problems if I compile proj_B in HDL Designer, but I have some errors when I try to simulate it in modelsim (Failure: (vsim-3807) Types do not match between component and entity for port "input").
I've already checked if the types are different but they aren't! They both are a_32bit.
Could anyone help me!?
Thanks!
lablasa
I've a problem with similar packages in different libraries.
I mean, I've a library (proj_A) with its package (pkg_A) where I've declared array type
(type a_32bit is array (natural range <>) of std_logic_vector(31 downto 0))
Then I've instantiated this lib (whose ports are array types) in another lib (proj_B) which contains a pkg (pkg_B) with the same array types.
I've no problems if I compile proj_B in HDL Designer, but I have some errors when I try to simulate it in modelsim (Failure: (vsim-3807) Types do not match between component and entity for port "input").
I've already checked if the types are different but they aren't! They both are a_32bit.
Could anyone help me!?
Thanks!
lablasa