All Packages Class Hierarchy This Package Previous Next Index
Class byucc.jhdl.Xilinx.XC4000.xnorX
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.xnorX
- public final class xnorX
- extends XilinxCL
- implements PreDefinedSchematic
This class implements an XNOR 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, xnorX(this, in,
out) will implement (in[0] | in[1] | in[2] | in[3]).
-
cell_interface
- The port interface for xnorX:
i: in ("gw")
o: out (1)
parameter: "gw" (INTEGER).
-
cellname
- The static cellname (netlist reference name) for xnorX
-
width
-
-
xnorX(Node)
- Used only by child classes to pass up the parent cell.
-
xnorX(Node, ArgBlockList)
- Constructs a new xnorX, connecting its ports as given by the
String-Wire pairs in the ArgBlockList.
-
xnorX(Node, String)
- Used only by child classes to pass up the parent cell and instance name.
-
xnorX(Node, String, ArgBlockList)
- Constructs a new xnorX, connecting its ports as given by the
String-Wire pairs in the ArgBlockList, with the initial String parameter as the instance name.
-
xnorX(Node, String, String, Wire, String, Wire)
- Constructs a new xnorX, connecting each
Wire to the port whose name is given by the accompanying String parameter, with the initial String parameter as the instance name.
-
xnorX(Node, String, Wire, String, Wire)
- Constructs a new xnorX, connecting each
Wire to the port whose name is given by the accompanying String parameter.
-
xnorX(Node, String, Wire, Wire)
- Constructs a new xnorX, with the initial
String parameter as the instance name.
-
xnorX(Node, Wire, Wire)
- Constructs a new xnorX.
-
cellInterfaceDeterminesUniqueNetlistStructure()
-
-
getCellName()
-
-
main(String[])
-
-
test()
-
-
type()
-
cellname
public static final String cellname
- The static cellname (netlist reference name) for xnorX
cell_interface
public static CellInterface cell_interface[]
- The port interface for xnorX:
i: in ("gw")
o: out (1)
parameter: "gw" (INTEGER). This parameter represents the
generic port width of xnorX.
width
protected int width
xnorX
protected xnorX(Node parent)
- Used only by child classes to pass up the parent cell.
- Parameters:
- parent - Parent cell
xnorX
protected xnorX(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
xnorX
public xnorX(Node parent,
Wire i,
Wire o)
- Constructs a new xnorX.
- Parameters:
- parent - The parent
Cell to the xnorX
- i - The
Wire to be connected to input port i
- o - The
Wire to be connected to output port o
xnorX
public xnorX(Node parent,
String instanceName,
Wire i,
Wire o)
- Constructs a new xnorX, with the initial
String parameter as the instance name.
- Parameters:
- parent - The parent
Cell to the xnorX
- instanceName - The instance name of the xnorX
- i - The
Wire to be connected to input port i
- o - The
Wire to be connected to output port o
xnorX
public xnorX(Node parent,
String s0,
Wire w0,
String s1,
Wire w1)
- Constructs a new xnorX, connecting each
Wire to the port whose name is given by the accompanying String parameter.
- Parameters:
- parent - The parent
Cell to the xnorX
- 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
xnorX
public xnorX(Node parent,
String instanceName,
String s0,
Wire w0,
String s1,
Wire w1)
- Constructs a new xnorX, 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 xnorX
- instanceName - The instance name of the xnorX
- 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
xnorX
public xnorX(Node parent,
ArgBlockList abl)
- Constructs a new xnorX, 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 xnorX
- abl - The list of
String-Wire pairs for port assignments, and String-String pairs for generic assignments.
xnorX
public xnorX(Node parent,
String instanceName,
ArgBlockList abl)
- Constructs a new xnorX, 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 xnorX
- instanceName - The instance name of the xnorX
- abl - The list of
String-Wire pairs for port assignments, and String-String pairs for generic assignments.
getCellName
public String getCellName()
- Overrides:
- getCellName in class Cell
cellInterfaceDeterminesUniqueNetlistStructure
public final boolean cellInterfaceDeterminesUniqueNetlistStructure()
- Overrides:
- cellInterfaceDeterminesUniqueNetlistStructure in class Cell
type
public int type()
main
public static void main(String argv[])
test
public static void test()
All Packages Class Hierarchy This Package Previous Next Index