|
|||||||||||
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.Xilinx.XilinxCL
byucc.jhdl.Xilinx.XC9000.d3_8e
The d3_8e class implements an enabled 3:8 decoder. When the enable (EN) pin is asserted, one of the eight active-high outputs (D7-D0) is selected with a 3-bit binary address (A2-A0) as input. The non-selected outputs are low. Also, when EN is low, all outputs are low. (Source: XACT Libraries Guide, pg. 3-228, Xilinx Corporation, 1994.)
Field Summary | |
static CellInterface[] |
cell_interface
The port interface for: d3_8e a0 : in (1) a1 : in (1) a2 : in (1) e : in (1) d0 : out (1) d1 : out (1) d2 : out (1) d3 : out (1) d4 : out (1) d5 : out (1) d6 : out (1) d7 : out (1) |
static java.lang.String |
cellname
The static cellname (netlist reference name) for d3_8e |
Fields inherited from class byucc.jhdl.Xilinx.XilinxCL |
implicit_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 |
Fields inherited from class byucc.jhdl.base.Cell |
BOOLEAN, CELL_NAME_DECLARATION, CellInterfaceDeterminesUniqueNetlistStructure, DETERMINE_FROM_STRING, GENERICS_DECLARATION, IMPLICIT_INTERFACE_DECLARATION, INTEGER, INTERFACE_DECLARATION, LONG, PORT_IOS_DECLARATION, PORT_NAMES_DECLARATION, PORT_NET_NAMES_DECLARATION, PORT_PROPERTIES, PORT_WIDTHS_DECLARATION, SIGN_EXT, STRING, ZERO_PAD |
Constructor Summary | |
protected |
d3_8e(Node parent)
Used only by child classes to pass up the parent cell. |
|
d3_8e(Node parent,
ArgBlockList abl)
Constructs a new d3_8e, connecting its ports as given by the String-Wire pairs in the ArgBlockList . |
protected |
d3_8e(Node parent,
java.lang.String name)
Used only by child classes to pass up the parent cell and instance name. |
|
d3_8e(Node parent,
java.lang.String instanceName,
ArgBlockList abl)
Constructs a new d3_8e, connecting its ports as given by the String-Wire pairs in the ArgBlockList . |
|
d3_8e(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String s3,
Wire w3,
java.lang.String s4,
Wire w4,
java.lang.String s5,
Wire w5,
java.lang.String s6,
Wire w6,
java.lang.String s7,
Wire w7,
java.lang.String s8,
Wire w8,
java.lang.String s9,
Wire w9,
java.lang.String s10,
Wire w10,
java.lang.String s11,
Wire w11)
Constructs a new d3_8e, connecting each Wire to the port whose name is given by the accompanying String parameter
The initial String parameter specifies the instance name. |
|
d3_8e(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String s3,
Wire w3,
java.lang.String s4,
Wire w4,
java.lang.String s5,
Wire w5,
java.lang.String s6,
Wire w6,
java.lang.String s7,
Wire w7,
java.lang.String s8,
Wire w8,
java.lang.String s9,
Wire w9,
java.lang.String s10,
Wire w10,
java.lang.String s11,
Wire w11)
Constructs a new d3_8e, connecting each Wire to the port whose name is given by the accompanying String parameter |
|
d3_8e(Node parent,
java.lang.String instanceName,
Wire a0,
Wire a1,
Wire a2,
Wire e,
Wire d0,
Wire d1,
Wire d2,
Wire d3,
Wire d4,
Wire d5,
Wire d6,
Wire d7)
Constructs a new d3_8e. |
|
d3_8e(Node parent,
Wire a0,
Wire a1,
Wire a2,
Wire e,
Wire d0,
Wire d1,
Wire d2,
Wire d3,
Wire d4,
Wire d5,
Wire d6,
Wire d7)
Constructs a new d3_8e. |
Method Summary | |
boolean |
cellInterfaceDeterminesUniqueNetlistStructure()
When false, the default behavior of this method, each cell will list itself separately in a netlist, guaranteeing that the netlist will not have invalid data at the expense of a larger file-size. |
java.lang.String |
getCellName()
Access the cell name associated with a derived class. |
static void |
main(java.lang.String[] argv)
|
static void |
test()
|
int |
type()
This method returns one of the predefined schematic constants to identify the type of this cell. |
Methods inherited from class byucc.jhdl.Xilinx.XilinxCL |
connectImplicitPorts |
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 final java.lang.String cellname
public static CellInterface[] cell_interface
Constructor Detail |
protected d3_8e(Node parent)
parent
- Parent cellprotected d3_8e(Node parent, java.lang.String name)
parent
- Parent cellname
- Instance name of the cellpublic d3_8e(Node parent, Wire a0, Wire a1, Wire a2, Wire e, Wire d0, Wire d1, Wire d2, Wire d3, Wire d4, Wire d5, Wire d6, Wire d7)
parent
- The parent Cell
to the d3_8ea0
- The Wire
to be connected to input port a0a1
- The Wire
to be connected to input port a1a2
- The Wire
to be connected to input port a2e
- The Wire
to be connected to input port ed0
- The Wire
to be connected to output port d0d1
- The Wire
to be connected to output port d1d2
- The Wire
to be connected to output port d2d3
- The Wire
to be connected to output port d3d4
- The Wire
to be connected to output port d4d5
- The Wire
to be connected to output port d5d6
- The Wire
to be connected to output port d6d7
- The Wire
to be connected to output port d7public d3_8e(Node parent, java.lang.String instanceName, Wire a0, Wire a1, Wire a2, Wire e, Wire d0, Wire d1, Wire d2, Wire d3, Wire d4, Wire d5, Wire d6, Wire d7)
String
parameter specifies the instance name.
parent
- The parent Cell
to the d3_8einstanceName
- The instance name of the d3_8ea0
- The Wire
to be connected to input port a0a1
- The Wire
to be connected to input port a1a2
- The Wire
to be connected to input port a2e
- The Wire
to be connected to input port ed0
- The Wire
to be connected to output port d0d1
- The Wire
to be connected to output port d1d2
- The Wire
to be connected to output port d2d3
- The Wire
to be connected to output port d3d4
- The Wire
to be connected to output port d4d5
- The Wire
to be connected to output port d5d6
- The Wire
to be connected to output port d6d7
- The Wire
to be connected to output port d7public d3_8e(Node parent, java.lang.String s0, Wire w0, java.lang.String s1, Wire w1, java.lang.String s2, Wire w2, java.lang.String s3, Wire w3, java.lang.String s4, Wire w4, java.lang.String s5, Wire w5, java.lang.String s6, Wire w6, java.lang.String s7, Wire w7, java.lang.String s8, Wire w8, java.lang.String s9, Wire w9, java.lang.String s10, Wire w10, java.lang.String s11, Wire w11)
Wire
to the port whose name is given by the accompanying String
parameter
parent
- The parent Cell
to the d3_8es0
- The name of the port to which w0 will be connectedw0
- The Wire
to be connected to the port specified by s0s1
- The name of the port to which w1 will be connectedw1
- The Wire
to be connected to the port specified by s1s2
- The name of the port to which w2 will be connectedw2
- The Wire
to be connected to the port specified by s2s3
- The name of the port to which w3 will be connectedw3
- The Wire
to be connected to the port specified by s3s4
- The name of the port to which w4 will be connectedw4
- The Wire
to be connected to the port specified by s4s5
- The name of the port to which w5 will be connectedw5
- The Wire
to be connected to the port specified by s5s6
- The name of the port to which w6 will be connectedw6
- The Wire
to be connected to the port specified by s6s7
- The name of the port to which w7 will be connectedw7
- The Wire
to be connected to the port specified by s7s8
- The name of the port to which w8 will be connectedw8
- The Wire
to be connected to the port specified by s8s9
- The name of the port to which w9 will be connectedw9
- The Wire
to be connected to the port specified by s9s10
- The name of the port to which w10 will be connectedw10
- The Wire
to be connected to the port specified by s10s11
- The name of the port to which w11 will be connectedw11
- The Wire
to be connected to the port specified by s11public d3_8e(Node parent, java.lang.String instanceName, java.lang.String s0, Wire w0, java.lang.String s1, Wire w1, java.lang.String s2, Wire w2, java.lang.String s3, Wire w3, java.lang.String s4, Wire w4, java.lang.String s5, Wire w5, java.lang.String s6, Wire w6, java.lang.String s7, Wire w7, java.lang.String s8, Wire w8, java.lang.String s9, Wire w9, java.lang.String s10, Wire w10, java.lang.String s11, Wire w11)
Wire
to the port whose name is given by the accompanying String
parameter
The initial String
parameter specifies the instance name.
parent
- The parent Cell
to the d3_8einstanceName
- The instance name of the d3_8es0
- The name of the port to which w0 will be connectedw0
- The Wire
to be connected to the port specified by s0s1
- The name of the port to which w1 will be connectedw1
- The Wire
to be connected to the port specified by s1s2
- The name of the port to which w2 will be connectedw2
- The Wire
to be connected to the port specified by s2s3
- The name of the port to which w3 will be connectedw3
- The Wire
to be connected to the port specified by s3s4
- The name of the port to which w4 will be connectedw4
- The Wire
to be connected to the port specified by s4s5
- The name of the port to which w5 will be connectedw5
- The Wire
to be connected to the port specified by s5s6
- The name of the port to which w6 will be connectedw6
- The Wire
to be connected to the port specified by s6s7
- The name of the port to which w7 will be connectedw7
- The Wire
to be connected to the port specified by s7s8
- The name of the port to which w8 will be connectedw8
- The Wire
to be connected to the port specified by s8s9
- The name of the port to which w9 will be connectedw9
- The Wire
to be connected to the port specified by s9s10
- The name of the port to which w10 will be connectedw10
- The Wire
to be connected to the port specified by s10s11
- The name of the port to which w11 will be connectedw11
- The Wire
to be connected to the port specified by s11public d3_8e(Node parent, ArgBlockList abl)
String-Wire
pairs in the ArgBlockList
. Any generic assignments are made through String-String
pairs in the ArgBlockList
.
parent
- The parent Cell
to the d3_8eabl
- The list of String-Wire
pairs for port assignments, and String-String
pairs for generic assignments.public d3_8e(Node parent, java.lang.String instanceName, ArgBlockList abl)
String-Wire
pairs in the ArgBlockList
. Any generic assignments are made through String-String
pairs in the ArgBlockList
.
The initial String
parameter is the instance name.
parent
- The parent Cell
to the d3_8einstanceName
- The instance name of the d3_8eabl
- The list of String-Wire
pairs for port assignments, and String-String
pairs for generic assignments.Method Detail |
public java.lang.String getCellName()
Cell
getCellName
in class Cell
public final boolean cellInterfaceDeterminesUniqueNetlistStructure()
Cell
cellInterfaceDeterminesUniqueNetlistStructure
in class Cell
public int type()
PreDefinedSchematic
type
in interface PreDefinedSchematic
public static void main(java.lang.String[] argv)
public static void test()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |