|
|||||||||||
| 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.decoder4_16
Decoder4_16 is simply a 4:16 decoder.
The easiest way to instance the decoder4_16
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 decoder4_16, you must have an input wire
of width 4. You must use a Wire[] array with at least 16 elements
for the output. With these specifications, the
following constructor would be used:
DECODERS.decoder(this, in, out, "decoder4_16");
To instance an unamed decoder4_16, 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
|
| 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 | |
decoder4_16(Node parent,
Wire in3,
Wire in2,
Wire in1,
Wire in0,
Wire out15,
Wire out14,
Wire out13,
Wire out12,
Wire out11,
Wire out10,
Wire out9,
Wire out8,
Wire out7,
Wire out6,
Wire out5,
Wire out4,
Wire out3,
Wire out2,
Wire out1,
Wire out0)
|
|
decoder4_16(Node parent,
Wire in3,
Wire in2,
Wire in1,
Wire in0,
Wire out15,
Wire out14,
Wire out13,
Wire out12,
Wire out11,
Wire out10,
Wire out9,
Wire out8,
Wire out7,
Wire out6,
Wire out5,
Wire out4,
Wire out3,
Wire out2,
Wire out1,
Wire out0,
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 |