All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class byucc.jhdl.Xilinx.Virtex.andX

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.XilinxCL
                                                   |
                                                   +----byucc.jhdl.Xilinx.Virtex.andX

public final class andX
extends XilinxCL
implements PreDefinedSchematic
This class implements an AND gate with arbitrary number of inputs. The IN argument is a concatenation of all the wires to be inputs to the gate. For example, if IN is a 4-bit wire, andX(this, in, out) will implement (in[0] & in[1] & in[2] & in[3]).


Variable Index

 o cell_interface
The port interface for andX: i: in ("gw") o: out (1) parameter: "gw" (INTEGER).
 o cellname
The static cellname (netlist reference name) for andX
 o width

Constructor Index

 o andX(Node)
Used only by child classes to pass up the parent cell.
 o andX(Node, ArgBlockList)
Constructs a new andX, connecting its ports as given by the String-Wire pairs in the ArgBlockList.
 o andX(Node, String)
Used only by child classes to pass up the parent cell and instance name.
 o andX(Node, String, ArgBlockList)
Constructs a new andX, connecting its ports as given by the String-Wire pairs in the ArgBlockList, with the initial String parameter as the instance name.
 o andX(Node, String, String, Wire, String, Wire)
Constructs a new andX, connecting each Wire to the port whose name is given by the accompanying String parameter, with the initial String parameter as the instance name.
 o andX(Node, String, Wire, String, Wire)
Constructs a new andX, connecting each Wire to the port whose name is given by the accompanying String parameter.
 o andX(Node, String, Wire, Wire)
Constructs a new andX, with the initial String parameter as the instance name.
 o andX(Node, Wire, Wire)
Constructs a new andX.

Method Index

 o cellInterfaceDeterminesUniqueNetlistStructure()
 o getCellName()
 o main(String[])
 o test()
 o type()

Variables

 o cellname
 public static final String cellname
The static cellname (netlist reference name) for andX

 o cell_interface
 public static CellInterface cell_interface[]
The port interface for andX: i: in ("gw") o: out (1) parameter: "gw" (INTEGER). This parameter represents the generic port width of andX.

 o width
 protected int width

Constructors

 o andX
 protected andX(Node parent)
Used only by child classes to pass up the parent cell.

Parameters:
parent - Parent cell
 o andX
 protected andX(Node parent,
                String name)
Used only by child classes to pass up the parent cell and instance name.

Parameters:
parent - Parent cell
name - Instance name of the cell
 o andX
 public andX(Node parent,
             Wire i,
             Wire o)
Constructs a new andX.

Parameters:
parent - The parent Cell to the andX
i - The Wire to be connected to input port i
o - The Wire to be connected to output port o
 o andX
 public andX(Node parent,
             String instanceName,
             Wire i,
             Wire o)
Constructs a new andX, with the initial String parameter as the instance name.

Parameters:
parent - The parent Cell to the andX
instanceName - The instance name of the andX
i - The Wire to be connected to input port i
o - The Wire to be connected to output port o
 o andX
 public andX(Node parent,
             String s0,
             Wire w0,
             String s1,
             Wire w1)
Constructs a new andX, connecting each Wire to the port whose name is given by the accompanying String parameter.

Parameters:
parent - The parent Cell to the andX
s0 - The name of the port to which w0 will be connected
w0 - The Wire to be connected to the port specified by s0
s1 - The name of the port to which w1 will be connected
w1 - The Wire to be connected to the port specified by s1
 o andX
 public andX(Node parent,
             String instanceName,
             String s0,
             Wire w0,
             String s1,
             Wire w1)
Constructs a new andX, connecting each Wire to the port whose name is given by the accompanying String parameter, with the initial String parameter as the instance name.

Parameters:
parent - The parent Cell to the andX
instanceName - The instance name of the andX
s0 - The name of the port to which w0 will be connected
w0 - The Wire to be connected to the port specified by s0
s1 - The name of the port to which w1 will be connected
w1 - The Wire to be connected to the port specified by s1
 o andX
 public andX(Node parent,
             ArgBlockList abl)
Constructs a new andX, connecting its ports as given by the String-Wire pairs in the ArgBlockList. Any generic assignments are made through String-String pairs in the ArgBlockList.

Parameters:
parent - The parent Cell to the andX
abl - The list of String-Wire pairs for port assignments, and String-String pairs for generic assignments.
 o andX
 public andX(Node parent,
             String instanceName,
             ArgBlockList abl)
Constructs a new andX, connecting its ports as given by the String-Wire pairs in the ArgBlockList, with the initial String parameter as the instance name. Any generic assignments are made through String-String pairs in the ArgBlockList.

Parameters:
parent - The parent Cell to the andX
instanceName - The instance name of the andX
abl - The list of String-Wire pairs for port assignments, and String-String pairs for generic assignments.

Methods

 o getCellName
 public String getCellName()
Overrides:
getCellName in class Cell
 o cellInterfaceDeterminesUniqueNetlistStructure
 public final boolean cellInterfaceDeterminesUniqueNetlistStructure()
Overrides:
cellInterfaceDeterminesUniqueNetlistStructure in class Cell
 o type
 public int type()
 o main
 public static void main(String argv[])
 o test
 public static void test()

All Packages  Class Hierarchy  This Package  Previous  Next  Index