|
|||||||||||
| 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.gt
Gt takes in two inputs of the same size. The output is high when in1 > in2; it is low otherwise. The comparison is signed or unsigned based on parameter "signed". An exception will be thrown if the two inputs are different widths.

The easiest way to instance the gt
is by using static method calls in the
COMPARATORS class.
If desired, however, the constructor calls
may be made explicitly, as shown below.
First, you must import the Logic.Modules package:
import byucc.jhdl.Logic.Modules.*;
To instance a named, signed gt, the
following constructor would be used:
new gt(this, a, b, true, q, "name");
To instance an unamed, unsigned gt, the
constructor would be:
new gt(this, a, b, false, q);
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 | |
gt(Node parent,
Wire in1,
Wire in2,
boolean signed,
Wire out)
|
|
gt(Node parent,
Wire in1,
Wire in2,
boolean signed,
Wire out,
java.lang.String name)
|
|