All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class byucc.jhdl.Xilinx.m2_1

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

public final class m2_1
extends XilinxCL
implements PreDefinedSchematic
The M2_1 multiplexer chooses one data bit from two sources (D1 or D0) under the control of the select input (S0). The output O takes the value D1 if S1 is high, otherwise it takes the value D0. (Source: XACT Libraries Guide, pg. 3-347, Xilinx Corporation, 1994.)


Variable Index

 o cell_interface
The port interface for m2_1: d0: in (1) d1: in (1) s0: in (1) o: out (1)
 o cellname
The static cellname (netlist reference name) for m2_1

Constructor Index

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

Method Index

 o cellInterfaceDeterminesUniqueNetlistStructure()
 o main(String[])
 o propagate()
Performs the asynchronous behavior of m2_1.
 o test()
 o type()

Variables

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

 o cell_interface
 public static CellInterface cell_interface[]
The port interface for m2_1: d0: in (1) d1: in (1) s0: in (1) o: out (1)

Constructors

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

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

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

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

Parameters:
parent - The parent Cell to the m2_1
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
s2 - The name of the port to which w2 will be connected
w2 - The Wire to be connected to the port specified by s2
s3 - The name of the port to which w3 will be connected
w3 - The Wire to be connected to the port specified by s3
 o m2_1
 public m2_1(Node parent,
             String instanceName,
             String s0,
             Wire w0,
             String s1,
             Wire w1,
             String s2,
             Wire w2,
             String s3,
             Wire w3)
Constructs a new m2_1, 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 m2_1
instanceName - The instance name of the m2_1
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
s2 - The name of the port to which w2 will be connected
w2 - The Wire to be connected to the port specified by s2
s3 - The name of the port to which w3 will be connected
w3 - The Wire to be connected to the port specified by s3
 o m2_1
 public m2_1(Node parent,
             ArgBlockList abl)
Constructs a new m2_1, 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 m2_1
abl - The list of String-Wire pairs for port assignments, and String-String pairs for generic assignments.
 o m2_1
 public m2_1(Node parent,
             String instanceName,
             ArgBlockList abl)
Constructs a new m2_1, 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 m2_1
instanceName - The instance name of the m2_1
abl - The list of String-Wire pairs for port assignments, and String-String pairs for generic assignments.

Methods

 o cellInterfaceDeterminesUniqueNetlistStructure
 public final boolean cellInterfaceDeterminesUniqueNetlistStructure()
Overrides:
cellInterfaceDeterminesUniqueNetlistStructure in class Cell
 o propagate
 public final void propagate()
Performs the asynchronous behavior of m2_1.

Overrides:
propagate in class Structural
 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