|
|||||||||||
| 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.Constant
This class is a structural cell which drives a constant value on to its output wire. It sets up the appropriate vcc/gnd cells to drive the value on to the wire.
| Field Summary | |
static CellInterface[] |
cell_interface
The port interface for Constant: o: out("n") param: "n" (INTEGER). |
| 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 | |
Constant(Node parent,
java.lang.String name,
Wire wire,
BV value)
Constructs a new named Constant for the given constant wire, using the BV parameter as the initilization value. |
|
Constant(Node parent,
java.lang.String name,
Wire wire,
int value)
Constructs a new named Constant for the given constant wire, using the int parameter as the initilization value. |
|
Constant(Node parent,
java.lang.String name,
Wire wire,
int[] value)
Constructs a new named Constant for the given constant wire, using the int[] parameter as the initilization value. |
|
Constant(Node parent,
java.lang.String name,
Wire wire,
long value)
Constructs a new named Constant for the given constant wire, using the long parameter as the initilization value. |
|
Constant(Node parent,
Wire wire,
BV value)
Constructs a new Constant for the given constant wire, using the BV parameter as the initilization value. |
|
Constant(Node parent,
Wire wire,
int value)
Constructs a new Constant for the given constant wire, using the int parameter as the initilization value. |
|
Constant(Node parent,
Wire wire,
int[] value)
Constructs a new Constant for the given constant wire, using the int[] parameter as the initilization value. |
|
Constant(Node parent,
Wire wire,
long value)
Constructs a new Constant for the given constant wire, using the long parameter as the initilization value. |
|
| 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. |
boolean |
defaultSimulationModelIsBehavioral()
The default simulation model is structural for Structural cells. |
BV |
getConstantValue()
Returns a BV containing the value of the constant |
static void |
main(java.lang.String[] argv)
|
void |
propagate()
Users defined propagatable behavior using standard JHDL constructs. |
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 CellInterface[] cell_interface
| Constructor Detail |
public Constant(Node parent,
Wire wire,
int value)
int parameter as the initilization value.
parent - The parent Node of the Constantwire - The wire that has the constant valuevalue - The value to drive on to the wire
public Constant(Node parent,
java.lang.String name,
Wire wire,
int value)
int parameter as the initilization value.
parent - The parent Node of the Constantname - The name for this constant cellwire - The wire that has the constant valuevalue - The value to drive on to the wire
public Constant(Node parent,
Wire wire,
long value)
long parameter as the initilization value.
parent - The parent Node of the Constantwire - The wire that has the constant valuevalue - The value to drive on to the wire
public Constant(Node parent,
java.lang.String name,
Wire wire,
long value)
long parameter as the initilization value.
parent - The parent Node of the Constantname - The name for this constantwire - The wire that has the constant valuevalue - The value to drive on to the wire
public Constant(Node parent,
Wire wire,
int[] value)
int[] parameter as the initilization value.
parent - The parent Node of the Constantwire - The wire that has the constant valuevalue - The value to drive on to the wire
public Constant(Node parent,
java.lang.String name,
Wire wire,
int[] value)
int[] parameter as the initilization value.
parent - The parent Node of the Constantname - The name for this constantwire - The wire that has the constant valuevalue - The value to drive on to the wire
public Constant(Node parent,
Wire wire,
BV value)
BV parameter as the initilization value.
parent - The parent Node of the Constantwire - The wire that has the constant valuevalue - The value to drive on to the wire
public Constant(Node parent,
java.lang.String name,
Wire wire,
BV value)
BV parameter as the initilization value.
parent - The parent Node of the Constantname - The name for this constantwire - The wire that has the constant valuevalue - The value to drive on to the wire| Method Detail |
public boolean cellInterfaceDeterminesUniqueNetlistStructure()
Cell
cellInterfaceDeterminesUniqueNetlistStructure in class Cellpublic boolean defaultSimulationModelIsBehavioral()
Structural
defaultSimulationModelIsBehavioral in class Structuralpublic void propagate()
Structural
propagate in interface byucc.jhdl.base.Propagateablepropagate in class Structuralpublic int type()
PreDefinedSchematic
type in interface PreDefinedSchematicpublic BV getConstantValue()
ConstantSource
getConstantValue in interface ConstantSourcepublic 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 | ||||||||||