May 5, 2011 #1 R rumi29 Junior Member level 1 Joined Mar 17, 2011 Messages 15 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,418 Somebody knows how to elevate to square a number of 16 bits in VHDL? Thanks
May 5, 2011 #2 T TrickyDicky Advanced Member level 7 Joined Jun 7, 2010 Messages 7,110 Helped 2,081 Reputation 4,181 Reaction score 2,048 Trophy points 1,393 Activity points 39,769 you want to square a 16 bit number? multiply it by itself and get a 32 bit result.
May 5, 2011 #3 R rumi29 Junior Member level 1 Joined Mar 17, 2011 Messages 15 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,418 Ok thanks, but I mean how to write it in VHDL
May 5, 2011 #4 T TrickyDicky Advanced Member level 7 Joined Jun 7, 2010 Messages 7,110 Helped 2,081 Reputation 4,181 Reaction score 2,048 Trophy points 1,393 Activity points 39,769 square <= ip * ip;
May 6, 2011 #5 L lucbra Advanced Member level 2 Joined Oct 30, 2003 Messages 511 Helped 73 Reputation 146 Reaction score 63 Trophy points 1,308 Location Belgium Activity points 3,251 life can be easy ...