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]).
-
cell_interface
- The port interface for andX:
i: in ("gw")
o: out (1)
parameter: "gw" (INTEGER).
-
cellname
- The static cellname (netlist reference name) for andX
-
width
-
-
andX(Node)
- Used only by child classes to pass up the parent cell.
-
andX(Node, ArgBlockList)
- Constructs a new andX, connecting its ports as given by the
String-Wire pairs in the ArgBlockList.
-
andX(Node, String)
- Used only by child classes to pass up the parent cell and instance name.
-
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.
-
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.
-
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.
-
andX(Node, String, Wire, Wire)
- Constructs a new andX, with the initial
String parameter as the instance name.
-
andX(Node, Wire, Wire)
- Constructs a new andX.
-
cellInterfaceDeterminesUniqueNetlistStructure()
-
-
getCellName()
-
-
main(String[])
-
-
test()
-
-
type()
-
cellname
public static final String cellname
- The static cellname (netlist reference name) for andX
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.
width
protected int width
andX
protected andX(Node parent)
- Used only by child classes to pass up the parent cell.
- Parameters:
- parent - Parent cell
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
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
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
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
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
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.
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.
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