All Packages Class Hierarchy This Package Previous Next Index
Class byucc.jhdl.Xilinx.m2_1_g
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_g
- public final class m2_1_g
- extends XilinxCL
- implements PreDefinedSchematic
The M2_1 multiplexer is a generic-width 2:1 multiplexer. It
chooses data bits 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. The width of
the cell is automatically set by the width of the D0 wire.
(Source: XACT Libraries Guide, pg. 3-347, Xilinx Corporation,
1994.)
-
cell_interface
- The port interface for m2_1_g:
d0: in ("gw")
d1: in ("gw")
s0: in (1)
o: out ("gw")
parameter: "gw" (INTEGER).
-
cellname
- The static cellname (netlist reference name) for m2_1_g
-
width
-
-
m2_1_g(Node)
- Used only by child classes to pass up the parent cell.
-
m2_1_g(Node, ArgBlockList)
- Constructs a new m2_1_g, connecting its ports as given by the
String-Wire pairs in the ArgBlockList.
-
m2_1_g(Node, String)
- Used only by child classes to pass up the parent cell and instance name.
-
m2_1_g(Node, String, ArgBlockList)
- Constructs a new m2_1_g, connecting its ports as given by the
String-Wire pairs in the ArgBlockList, with the initial String parameter as the instance name.
-
m2_1_g(Node, String, String, Wire, String, Wire, String, Wire, String, Wire)
- Constructs a new m2_1_g, connecting each
Wire to the port whose name is given by the accompanying String parameter, with the initial String parameter as the instance name.
-
m2_1_g(Node, String, Wire, String, Wire, String, Wire, String, Wire)
- Constructs a new m2_1_g, connecting each
Wire to the port whose name is given by the accompanying String parameter.
-
m2_1_g(Node, String, Wire, Wire, Wire, Wire)
- Constructs a new m2_1_g, with the initial
String parameter as the instance name.
-
m2_1_g(Node, Wire, Wire, Wire, Wire)
- Constructs a new m2_1_g.
-
cellInterfaceDeterminesUniqueNetlistStructure()
-
-
defaultSimulationModelIsBehavioral()
- Returns
true if the library-level simulation default is behavioral.
-
getCellName()
-
-
main(String[])
-
-
propagate()
- Performs the asynchronous behavior of m2_1_g.
-
test()
-
-
type()
-
cellname
public static final String cellname
- The static cellname (netlist reference name) for m2_1_g
cell_interface
public static CellInterface cell_interface[]
- The port interface for m2_1_g:
d0: in ("gw")
d1: in ("gw")
s0: in (1)
o: out ("gw")
parameter: "gw" (INTEGER). This parameter represents the
generic port width of m2_1_g.
width
protected int width
m2_1_g
protected m2_1_g(Node parent)
- Used only by child classes to pass up the parent cell.
- Parameters:
- parent - Parent cell
m2_1_g
protected m2_1_g(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
m2_1_g
public m2_1_g(Node parent,
Wire d0,
Wire d1,
Wire s0,
Wire o)
- Constructs a new m2_1_g.
- Parameters:
- parent - The parent
Cell to the m2_1_g
- 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
m2_1_g
public m2_1_g(Node parent,
String instanceName,
Wire d0,
Wire d1,
Wire s0,
Wire o)
- Constructs a new m2_1_g, with the initial
String parameter as the instance name.
- Parameters:
- parent - The parent
Cell to the m2_1_g
- instanceName - The instance name of the m2_1_g
- 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
m2_1_g
public m2_1_g(Node parent,
String s0,
Wire w0,
String s1,
Wire w1,
String s2,
Wire w2,
String s3,
Wire w3)
- Constructs a new m2_1_g, connecting each
Wire to the port whose name is given by the accompanying String parameter.
- Parameters:
- parent - The parent
Cell to the m2_1_g
- 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
m2_1_g
public m2_1_g(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_g, 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_g
- instanceName - The instance name of the m2_1_g
- 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
m2_1_g
public m2_1_g(Node parent,
ArgBlockList abl)
- Constructs a new m2_1_g, 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_g
- abl - The list of
String-Wire pairs for port assignments, and String-String pairs for generic assignments.
m2_1_g
public m2_1_g(Node parent,
String instanceName,
ArgBlockList abl)
- Constructs a new m2_1_g, 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_g
- instanceName - The instance name of the m2_1_g
- 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
defaultSimulationModelIsBehavioral
public boolean defaultSimulationModelIsBehavioral()
- Returns
true if the library-level simulation default is behavioral.
- Overrides:
- defaultSimulationModelIsBehavioral in class Structural
propagate
public final void propagate()
- Performs the asynchronous behavior of m2_1_g.
- Overrides:
- propagate in class Structural
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