|
|||||||||||
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.CL
byucc.jhdl.Xilinx.XC4000.wor2and
WOR2AND is a 2-input (I1 and I2) OR gate/buffer with an open-drain output (O). It is used in bus applications by tying multiple open-drain outputs together. When both inputs (I1 and I2) are Low, the output (O) is Low. When either input is High, the output is off; WOR2AND cannot source or sink current. To establish an output High level, tie a pull-up resistor(s) to the output (O). One pull-up resistor uses the least power, two pull-up resistors achieve the fastest Low-to-High speed. To indicate two pull-up resistors, append a DOUBLE parameter to the pull-up symbol attached to the output (O) node. Refer to the appropriate CAE tool interface user guide for details. (Source: XACT Libraries Guide, Chapter 10 WOR2AND, Xilinx Corporation,
Field Summary | |
static CellInterface[] |
cell_interface
The port interface for: wor2and i1 : in (1) i2 : in (1) o : out (1) |
static java.lang.String |
cellname
The static cellname (netlist reference name) for wor2and |
Constructor Summary | |
protected |
wor2and(Node parent)
Used only by child classes to pass up the parent cell. |
|
wor2and(Node parent,
ArgBlockList abl)
Constructs a new wor2and, connecting its ports as given by the String-Wire pairs in the ArgBlockList . |
protected |
wor2and(Node parent,
java.lang.String name)
Used only by child classes to pass up the parent cell and instance name. |
|
wor2and(Node parent,
java.lang.String instanceName,
ArgBlockList abl)
Constructs a new wor2and, connecting its ports as given by the String-Wire pairs in the ArgBlockList . |
|
wor2and(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2)
Constructs a new wor2and, connecting each Wire to the port whose name is given by the accompanying String parameter
The initial String parameter specifies the instance name. |
|
wor2and(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2)
Constructs a new wor2and, connecting each Wire to the port whose name is given by the accompanying String parameter |
|
wor2and(Node parent,
java.lang.String instanceName,
Wire i1,
Wire i2,
Wire o)
Constructs a new wor2and. |
|
wor2and(Node parent,
Wire i1,
Wire i2,
Wire o)
Constructs a new wor2and. |
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)
|
void |
propagate()
Used for things that are combinationally propagated like combinational logic and Wires and such. |
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.base.CL |
behavioralModelIsAvailable, defaultSimulationModelIsBehavioral, hasBeenTraced, hasBeenTraced, hasBehaviorInClockMethod, hasBehaviorInPropagateMethod, isAsynchronouslyScheduled, isAsynchronouslyScheduled, isReadyToBeAsynchronouslyScheduled, needsToBeAsynchronouslyScheduled |
Methods inherited from class byucc.jhdl.base.Node |
addObservable, addSimulatorCallback, checkAll, delete, getBuildingFlag, getChildren, getChildrenEnumeration, getDefaultClock, 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 wor2and(Node parent)
parent
- Parent cellprotected wor2and(Node parent, java.lang.String name)
parent
- Parent cellname
- Instance name of the cellpublic wor2and(Node parent, Wire i1, Wire i2, Wire o)
parent
- The parent Cell
to the wor2andi1
- The Wire
to be connected to input port i1i2
- The Wire
to be connected to input port i2o
- The Wire
to be connected to output port opublic wor2and(Node parent, java.lang.String instanceName, Wire i1, Wire i2, Wire o)
String
parameter specifies the instance name.
parent
- The parent Cell
to the wor2andinstanceName
- The instance name of the wor2andi1
- The Wire
to be connected to input port i1i2
- The Wire
to be connected to input port i2o
- The Wire
to be connected to output port opublic wor2and(Node parent, java.lang.String s0, Wire w0, java.lang.String s1, Wire w1, java.lang.String s2, Wire w2)
Wire
to the port whose name is given by the accompanying String
parameter
parent
- The parent Cell
to the wor2ands0
- 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 s2public wor2and(Node parent, java.lang.String instanceName, java.lang.String s0, Wire w0, java.lang.String s1, Wire w1, java.lang.String s2, Wire w2)
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 wor2andinstanceName
- The instance name of the wor2ands0
- 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 s2public wor2and(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 wor2andabl
- The list of String-Wire
pairs for port assignments, and String-String
pairs for generic assignments.public wor2and(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 wor2andinstanceName
- The instance name of the wor2andabl
- 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 final void propagate()
byucc.jhdl.base.Propagateable
propagate
in interface byucc.jhdl.base.Propagateable
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 |