|
|||||||||||
| 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.decoder5_32
Decoder5_32 is simply a 5:32 decoder.
The easiest way to instance the decoder5_32
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 decoder5_32, you must have an input wire
of width 5. You must use a Wire[] array with at least 32 elements
for the output. With these specifications, the
following constructor would be used:
DECODERS.decoder(this, in, out, "decoder5_32");
To instance an unamed decoder5_32, 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 | |
decoder5_32(Node parent,
Wire in4,
Wire in3,
Wire in2,
Wire in1,
Wire in0,
Wire out31,
Wire out30,
Wire out29,
Wire out28,
Wire out27,
Wire out26,
Wire out25,
Wire out24,
Wire out23,
Wire out22,
Wire out21,
Wire out20,
Wire out19,
Wire out18,
Wire out17,
Wire out16,
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)
|
|
decoder5_32(Node parent,
Wire in4,
Wire in3,
Wire in2,
Wire in1,
Wire in0,
Wire out31,
Wire out30,
Wire out29,
Wire out28,
Wire out27,
Wire out26,
Wire out25,
Wire out24,
Wire out23,
Wire out22,
Wire out21,
Wire out20,
Wire out19,
Wire out18,
Wire out17,
Wire out16,
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 |
| 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 decoder5_32(Node parent,
Wire in4,
Wire in3,
Wire in2,
Wire in1,
Wire in0,
Wire out31,
Wire out30,
Wire out29,
Wire out28,
Wire out27,
Wire out26,
Wire out25,
Wire out24,
Wire out23,
Wire out22,
Wire out21,
Wire out20,
Wire out19,
Wire out18,
Wire out17,
Wire out16,
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)
public decoder5_32(Node parent,
Wire in4,
Wire in3,
Wire in2,
Wire in1,
Wire in0,
Wire out31,
Wire out30,
Wire out29,
Wire out28,
Wire out27,
Wire out26,
Wire out25,
Wire out24,
Wire out23,
Wire out22,
Wire out21,
Wire out20,
Wire out19,
Wire out18,
Wire out17,
Wire out16,
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)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||