All Packages Class Hierarchy This Package Previous Next Index
Class byucc.jhdl.Xilinx.Constant
java.lang.Object
|
+----byucc.jhdl.base.Nameable
|
+----byucc.jhdl.base.Node
|
+----byucc.jhdl.base.Cell
|
+----byucc.jhdl.base.Structural
|
+----byucc.jhdl.Logic.Logic
|
+----byucc.jhdl.Xilinx.Constant
- public final class Constant
- extends Logic
- implements PreDefinedSchematic
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.
-
cell_interface
- The port interface for Constant:
o: out("n")
parameter: "n" (INTEGER).
-
Constant(Node, Wire, int)
- Constructs a new Constant for the given constant wire, using the
int parameter as the initilization value.
-
Constant(Node, Wire, int[])
- Constructs a new Constant for the given constant wire, using the
int parameter as the initilization value.
-
Constant(Node, Wire, long)
- Constructs a new Constant for the given constant wire, using the
int parameter as the initilization value.
-
cellInterfaceDeterminesUniqueNetlistStructure()
-
-
type()
-
cell_interface
public static CellInterface cell_interface[]
- The port interface for Constant:
o: out("n")
parameter: "n" (INTEGER). This parameter represents the
generic port width of Constant.
Constant
public Constant(Node parent,
Wire wire,
int value)
- Constructs a new Constant for the given constant wire, using the
int parameter as the initilization value.
- Parameters:
- parent - The parent
Node of the Constant
- wire - The wire that has the constant value
- value - The value to drive on to the wire
Constant
public Constant(Node parent,
Wire wire,
long value)
- Constructs a new Constant for the given constant wire, using the
int parameter as the initilization value.
- Parameters:
- parent - The parent
Node of the Constant
- wire - The wire that has the constant value
- value - The value to drive on to the wire
Constant
public Constant(Node parent,
Wire wire,
int value[])
- Constructs a new Constant for the given constant wire, using the
int parameter as the initilization value.
- Parameters:
- parent - The parent
Node of the Constant
- wire - The wire that has the constant value
- value - The value to drive on to the wire
cellInterfaceDeterminesUniqueNetlistStructure
public boolean cellInterfaceDeterminesUniqueNetlistStructure()
- Overrides:
- cellInterfaceDeterminesUniqueNetlistStructure in class Cell
type
public int type()
All Packages Class Hierarchy This Package Previous Next Index