|
|||||||||||
| 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.Fsm.Fsm
byucc.jhdl.Logic.Modules.decoder8_256
Decoder8_256 is simply a 8:256 decoder.
The easiest way to instance the decoder8_256
is by using static method calls in the
DECODERS class.
If desired, however, the constructor calls
may be made explicitly. For larger decoders, however,
this becomes very tedious. See the documentation
for decoder3_8 or smaller if you wish to use
the constructors for this class. Below are some
examples using the DECODERS class.
First, you must import the Logic.Modules.DECODERS package:
import byucc.jhdl.Logic.Modules.DECODERS.*;
Alternatively, you could import the entire Logic.Modules package:
import byucc.jhdl.Logic.Modules.*;
To instance a named decoder8_256, you must have an input wire
of width 8. You must use a Wire[] array with at least 256 elements
for the output. With these specifications, the
following constructor would be used:
DECODERS.decoder(this, in, out, "decoder8_256");
To instance an unamed decoder8_256, the
constructor would be:
DECODERS.decoder(this, in, out);
For all available constructors, see
Constructor Summary or
Constructor Detail.
| Field Summary | |
static CellInterface[] |
cell_interface
|
static java.lang.String |
FSM_FILE
|
| Fields inherited from class byucc.jhdl.Fsm.Fsm |
fd |
| 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 | |
decoder8_256(Node parent,
Wire in7,
Wire in6,
Wire in5,
Wire in4,
Wire in3,
Wire in2,
Wire in1,
Wire in0,
Wire[] out)
|
|
decoder8_256(Node parent,
Wire in7,
Wire in6,
Wire in5,
Wire in4,
Wire in3,
Wire in2,
Wire in1,
Wire in0,
Wire[] out,
java.lang.String name)
|
|
| Methods inherited from class byucc.jhdl.Fsm.Fsm |
buildFsm, buildFsm, buildFsm, buildFsm, buildFsm, buildFsmFromString, die, getCSWire, getFsmData, getFsmFileName, getVerbosity, initUserDefinedNode, paint, setVerbose |