ID: CP-Dave_P3
Proposer: David Bishop
Status: Proposed (03/05/2003)
Seconded by Rob Anderson.
To be analyzed
To be resolved
Summary:
Added the ability to do fixed point arithmetic to 1076.3
Detail:fixed + fixed := fixed (max(l'high,r'high) downto -(max(-l'low,-r'low))) 8:-3 + 9:-2 := 9:-3 numeric_std rule: + and - = size of largest input strung fixed - fixed := fixed (max(l'high,r'high) downto -(max(-l'low,-r'low))) 8:-3 + 9:-2 := 9:-3 fixed * fixed := fixed (l'high+r'high downto l'low+r'low) 8:-3 * 9:-2 := 17:-5 numeric_std rule: * = add the sizes together to create result fixed / fixed := fixed (l'high downto l'low+r'low) 8:-3 / 9:-2 := 8:-5 numeric_std rule: / = size of left operand.