Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

how to get part of variable of type std_logic_vector like substring function

for example temp : std_logic_vector[31 downto 0] just want to get starting from 3th bit to 5th bit and store to another variable of type std_logic_vector[2 downto 0] like offset ...