|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.base.Nameable
byucc.jhdl.base.Node
byucc.jhdl.base.Cell
byucc.jhdl.base.Structural
byucc.jhdl.Logic.LogicGates
byucc.jhdl.Logic.LogicStatic
byucc.jhdl.Logic.Logic
byucc.jhdl.Logic.Modules.FloatingPoint.FPCompare
Floating-point comparator.
The comparator can return four output values:
Argument A | Out | Argument B | Notes
- Infinity | ? | - Infinity | "?" = Unordered
| - Infinity | < | - Normal |
| - Infinity | < | +/- 0 |
| - Infinity | < | + Normal |
| - Infinity | < | + Infinity |
| - Infinity | ? | NaN |
| - Normal | > | - Infinity |
| - Normal | < | == > - Normal | Reversed result of magnitude comparison:
| < if the magnitude is greater == if the magnitudes are equal > if the magnitude is less - Normal | < | +/- 0 |
| - Normal | < | + Normal |
| - Normal | < | + Infinity |
| - Normal | ? | NaN |
| +/- 0 | > | - Infinity |
| +/- 0 | > | - Normal |
| +/- 0 | == | +/- 0 |
| +/- 0 | < | + Normal |
| +/- 0 | < | + Infinity |
| +/- 0 | ? | NaN |
| + Normal | > | - Infinity |
| + Normal | > | - Normal |
| + Normal | > | +/- 0 |
| + Normal | < | == > + Normal | Direct result of magnitude comparison:
| < if the magnitude is less == if the magnitudes are equal > if the magnitude is greater + Normal | < | + Infinity |
| + Normal | ? | NaN |
| + Infinity | > | - Infinity |
| + Infinity | > | - Normal |
| + Infinity | > | +/- 0 |
| + Infinity | > | + Normal |
| + Infinity | ? | + Infinity |
| + Infinity | ? | NaN |
| NaN | ? | anything |
| |
For all available constructors, see
Constructor Summary or
Constructor Detail.
Field Summary | |
static CellInterface[] |
cell_interface
|
Fields inherited from class byucc.jhdl.Logic.Logic |
ABOVE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_LSB, ALIGN_MSB, ALIGN_RIGHT, ALIGN_TOP, BELOW, DOWN, EAST_OF, LEFT_OF, MAX_PACK, NORTH_OF, ON, ONTOP, ONTOP_OF, RIGHT_OF, SOUTH_OF, TOLEFT, TORIGHT, UNCONSTRAINED, UP, WEST_OF |
Fields inherited from class byucc.jhdl.Logic.LogicGates |
tech_mapper |
Constructor Summary | |
FPCompare(Node parent,
Wire in1,
Wire in2,
Wire lessThan,
Wire equal,
Wire greaterThan,
Wire unordered,
int exponentWidth,
boolean pipelined,
java.lang.String name)
Main constructor for FPCompare |
Methods inherited from class byucc.jhdl.base.Node |
addObservable, addSimulatorCallback, checkAll, delete, getBuildingFlag, getChildren, getChildrenEnumeration, getInstanceName, getParent, getParentCell, getRelatives, getSystem, getWires, optimize, orphanAllowed, printAllChildren, printTree, removeSimulatorCallback, setDefaultClock |
Methods inherited from class byucc.jhdl.base.Nameable |
caseSensitivity, caseSensitivity, disableNameClashChecking, getFullName, getFullNameNoTestBench, getHierNameNoTestBench, getInstanceNo, getInstanceNumber, getLeafName, getLeafName, getRelativeName, getUserName, getUserName, hasUserSpecifiedName, isDescendantOf, setInstanceNumber |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static CellInterface[] cell_interface
Constructor Detail |
public FPCompare(Node parent, Wire in1, Wire in2, Wire lessThan, Wire equal, Wire greaterThan, Wire unordered, int exponentWidth, boolean pipelined, java.lang.String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |