Guest
#4354197
Hi, I need a help. I want to map a input port of D flip flop (named 'din') which is STD_LOGIC_VECTOR(7 downto 0) with the internal signal sumf : STD_LOGIC_VECTOR (24 downto 0) such that I want to map elements 23,22,21,20,15,14,13,12,7...to 0 of sumf to port din. I write the code : din=>(sumf(23 downto 20, 15 downto 12, 7 downto 0)). I get an error "Sliced name is allowed only on single dimensional array". What is the procedure to port map selected elements in vector to other vector as in this case? Thanks and regards, Rohan Narkhede