Forum Discussion
Altera_Forum
Honored Contributor
8 years agothe easiest way, would just be a divide. divide by 2^n infers a bit shift.
signal ip, s : signed(31 downto 0);
s <= ip / 32;
the easiest way, would just be a divide. divide by 2^n infers a bit shift.
signal ip, s : signed(31 downto 0);
s <= ip / 32;