T
techman
Guest
Hi All,
I would be grateful if someone can tell me the best way to find the difference between two std logic vectors which at any one time may or may not be signed.
In simple terms if I was to use the integer equivalents then I would be looking for the following answers
-2 -5 = 3
-2 +5 = 7
5 - 2 = 3
-5 -2 = 3
Thanks
I would be grateful if someone can tell me the best way to find the difference between two std logic vectors which at any one time may or may not be signed.
In simple terms if I was to use the integer equivalents then I would be looking for the following answers
-2 -5 = 3
-2 +5 = 7
5 - 2 = 3
-5 -2 = 3
Thanks