All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class byucc.jhdl.Xilinx.XC4000.norX

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.XC4000.norX

public final class norX
extends XilinxCL
implements PreDefinedSchematic
This class implements an NOR 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, norX(this, in, out) will implement (in[0] | in[1] | in[2] | in[3]).


Variable Index

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

Constructor Index

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

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 norX

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

 o width
 protected int width

Constructors

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

Parameters:
parent - Parent cell
 o norX
 protected norX(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 norX
 public norX(Node parent,
             Wire i,
             Wire o)
Constructs a new norX.

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

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

Parameters:
parent - The parent Cell to the norX
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 norX
 public norX(Node parent,
             String instanceName,
             String s0,
             Wire w0,
             String s1,
             Wire w1)
Constructs a new norX, 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 norX
instanceName - The instance name of the norX
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 norX
 public norX(Node parent,
             ArgBlockList abl)
Constructs a new norX, 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 norX
abl - The list of String-Wire pairs for port assignments, and String-String pairs for generic assignments.
 o norX
 public norX(Node parent,
             String instanceName,
             ArgBlockList abl)
Constructs a new norX, 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 norX
instanceName - The instance name of the norX
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