Forum Discussion
Altera_Forum
Honored Contributor
16 years agohow can i get part of std_logic_vector
hello i want to get a part of std_logic_vector i have signal sec_vector : STD_LOGIC_VECTOR(5 DOWNTO 0) ; when i use sec_vector(3 downto 0) i get the error -> Cannot resolve slice name a...
Altera_Forum
Honored Contributor
16 years agoSounds like you're trying to assign a std_logic_vector to a bit vector. They are not the same thing.
otherwise, sounds like you're doing it correctly. my_other_vector <= sec_vector(3 downto 0);