|
LPM_ABS
Ports
Note 1: Two's complement allows one more negative number than positive. The overflow port detects that singular instance and goes high to indicate that no positive equivalent exists. Properties
Function if Data = 2LPM_Width-1, then Overflow = 1, Result = UNDEFINED else if Data < 0, then Result = (0 - Data) else Result = Data Data must always represent a SIGNED number and may be positive or negative. Result will always be positive. |
Copyright © 1998 University of Manchester |