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.


Variable Index

 o cell_interface
The port interface for Constant: o: out("n") parameter: "n" (INTEGER).

Constructor Index

 o Constant(Node, Wire, int)
Constructs a new Constant for the given constant wire, using the int parameter as the initilization value.
 o Constant(Node, Wire, int[])
Constructs a new Constant for the given constant wire, using the int parameter as the initilization value.
 o Constant(Node, Wire, long)
Constructs a new Constant for the given constant wire, using the int parameter as the initilization value.

Method Index

 o cellInterfaceDeterminesUniqueNetlistStructure()
 o type()

Variables

 o 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.

Constructors

 o 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
 o 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
 o 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

Methods

 o cellInterfaceDeterminesUniqueNetlistStructure
 public boolean cellInterfaceDeterminesUniqueNetlistStructure()
Overrides:
cellInterfaceDeterminesUniqueNetlistStructure in class Cell
 o type
 public int type()

All Packages  Class Hierarchy  This Package  Previous  Next  Index