C
Carl
Guest
Hi
I have got an input value (31 downto 0) and I want to square this value. In
hardware this is easy I just have to
expand this value to an array which is (63 downto 0) bits long and I have to
add between every 2 coeffecients a zero. My problem is now how can I
implement this in VHDL effecient.
sure i would be possible that I say: result(1) <= inp(0);
result(3) <= inp(1);
and so on. This would be a lot of work to write this stuff. Is there another
possibilty how I can address this problem?
Thanks a lot for yout help
C
I have got an input value (31 downto 0) and I want to square this value. In
hardware this is easy I just have to
expand this value to an array which is (63 downto 0) bits long and I have to
add between every 2 coeffecients a zero. My problem is now how can I
implement this in VHDL effecient.
sure i would be possible that I say: result(1) <= inp(0);
result(3) <= inp(1);
and so on. This would be a lot of work to write this stuff. Is there another
possibilty how I can address this problem?
Thanks a lot for yout help
C