Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
857 Views

compilation error

Hi i am getting the following error during compilation cu any one help me plz 

 

XLXI_33 : carry_ripple 

port map (A(15 downto 0)=>XLXN_112(15 downto 0), 

B(15 downto 0)=>XLXN_113(15 downto 0), 

C_0=>XLXI_33_C_0_openSignal, 

C_15=>open, 

S(15 downto 0)=>XLXN_114(15 downto 0)); 

 

 

Error: Actual width (16) of port "A" on instance "carry_ripple:XLXI_33" is not compatible with the formal port width (36) declared by the instantiated entity
0 Kudos
2 Replies
Highlighted
Valued Contributor III
14 Views

Generally means you have a port width mismatch.  

 

A in the snippet above is defined as 15 downto 0, or 16 bits. Wherever you define the entity, you must have that corresponding port defined as 36 bits.
0 Kudos
Highlighted
Valued Contributor III
14 Views

Thanks M.r stevie now i got it now its compiled .............. 

 

 

rgds  

rav
0 Kudos