|
|||||||||||
| 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.toggle
Toggle simply toggles its output on every clock cycle, whenver toggle is enabled.

A simple way to instance the toggle
is by using static method calls in the
OTHERS class.
If desired, however, the constructor calls
may be made explicitly, as shown below.
Since toggle is so simple, the constructor call
is identical to the static method call.
First, you must import the Logic.Modules package:
import byucc.jhdl.Logic.Modules.*;
To instance a named toggle, the
following constructor would be used:
new toggle(this, en, out, "name");
To instance an unamed toggle, the
constructor would be:
new toggle(this, en, out);
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 | |
toggle(Node parent,
Wire enable,
Wire toggle_out)
|
|
toggle(Node parent,
Wire enable,
Wire toggle_out,
java.lang.String name)
|
|