All Packages Class Hierarchy This Package Previous Next Index
Class byucc.jhdl.Xilinx.Virtex.ldcpe
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.Virtex.ldcpe
- public final class ldcpe
- extends Logic
- implements PreDefinedSchematic
LDCPE is a transparent data latch with data (D), asynchronous
clear (CLR), asynchronous preset (PRE), and gate enable (GE). When
CLR is High, it overrides the other inputs and resets the data (Q)
output Low. When PRE is High and CLR is Low, it presets the data
(Q) output High. Q reflects the data (D) input while the gate (G)
input and gate enable (GE) are High and CLR and PRE are Low. The
data on the D input during the High-to-Low gate transition is
stored in the latch. The data on the Q output remains unchanged as
long as G or GE remain Low.
The latch is asynchronously cleared, output Low, when power is
applied. Virtex and Spartan2 simulate power-on when global
set/reset (GSR) is active. GSR defaults to active-High but can be
inverted by adding an inverter in front of the GSR input of the
STARTUP_SPARTAN2 or STARTUP_VIRTEX symbol.
(Source: XACT Libraries Guide, Chapter 7 LDCPE, Xilinx Corporation,
1999.)
-
cell_interface
- The port interface for ldcpe:
clr: in (1)
pre: in (1)
ge: in (1)
g: in (1)
d: in (1)
q: out (1)
-
cellname
- The static cellname (netlist reference name) for ldcpe
-
ldcpe(Node)
- Used only by child classes to pass up the parent cell.
-
ldcpe(Node, ArgBlockList)
- Constructs a new ldcpe, connecting its ports as given by the
String-Wire pairs in the ArgBlockList.
-
ldcpe(Node, String)
- Used only by child classes to pass up the parent cell and instance name.
-
ldcpe(Node, String, ArgBlockList)
- Constructs a new ldcpe, connecting its ports as given by the
String-Wire pairs in the ArgBlockList, with the initial String parameter as the instance name.
-
ldcpe(Node, String, String, Wire, String, Wire, String, Wire, String, Wire, String, Wire, String, Wire)
- Constructs a new ldcpe, connecting each
Wire to the port whose name is given by the accompanying String parameter, with the initial String parameter as the instance name.
-
ldcpe(Node, String, Wire, String, Wire, String, Wire, String, Wire, String, Wire, String, Wire)
- Constructs a new ldcpe, connecting each
Wire to the port whose name is given by the accompanying String parameter.
-
ldcpe(Node, String, Wire, Wire, Wire, Wire, Wire, Wire)
- Constructs a new ldcpe, with the initial
String parameter as the instance name.
-
ldcpe(Node, Wire, Wire, Wire, Wire, Wire, Wire)
- Constructs a new ldcpe.
-
cellInterfaceDeterminesUniqueNetlistStructure()
-
-
clock()
- Performs the synchronous behavior of ldcpe.
-
main(String[])
-
-
propagate()
- Performs the asynchronous behavior of ldcpe.
-
reset()
- Performs the reset behavior of ldcpe.
-
test()
-
-
type()
-
cellname
public static final String cellname
- The static cellname (netlist reference name) for ldcpe
cell_interface
public static CellInterface cell_interface[]
- The port interface for ldcpe:
clr: in (1)
pre: in (1)
ge: in (1)
g: in (1)
d: in (1)
q: out (1)
ldcpe
protected ldcpe(Node parent)
- Used only by child classes to pass up the parent cell.
- Parameters:
- parent - Parent cell
ldcpe
protected ldcpe(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
ldcpe
public ldcpe(Node parent,
Wire clr,
Wire pre,
Wire ge,
Wire g,
Wire d,
Wire q)
- Constructs a new ldcpe.
- Parameters:
- parent - The parent
Cell to the ldcpe
- clr - The
Wire to be connected to input port clr
- pre - The
Wire to be connected to input port pre
- ge - The
Wire to be connected to input port ge
- g - The
Wire to be connected to input port g
- d - The
Wire to be connected to input port d
- q - The
Wire to be connected to output port q
ldcpe
public ldcpe(Node parent,
String instanceName,
Wire clr,
Wire pre,
Wire ge,
Wire g,
Wire d,
Wire q)
- Constructs a new ldcpe, with the initial
String parameter as the instance name.
- Parameters:
- parent - The parent
Cell to the ldcpe
- instanceName - The instance name of the ldcpe
- clr - The
Wire to be connected to input port clr
- pre - The
Wire to be connected to input port pre
- ge - The
Wire to be connected to input port ge
- g - The
Wire to be connected to input port g
- d - The
Wire to be connected to input port d
- q - The
Wire to be connected to output port q
ldcpe
public ldcpe(Node parent,
String s0,
Wire w0,
String s1,
Wire w1,
String s2,
Wire w2,
String s3,
Wire w3,
String s4,
Wire w4,
String s5,
Wire w5)
- Constructs a new ldcpe, connecting each
Wire to the port whose name is given by the accompanying String parameter.
- Parameters:
- parent - The parent
Cell to the ldcpe
- 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
- s4 - The name of the port to which w4 will be connected
- w4 - The
Wire to be connected to the port specified by s4
- s5 - The name of the port to which w5 will be connected
- w5 - The
Wire to be connected to the port specified by s5
ldcpe
public ldcpe(Node parent,
String instanceName,
String s0,
Wire w0,
String s1,
Wire w1,
String s2,
Wire w2,
String s3,
Wire w3,
String s4,
Wire w4,
String s5,
Wire w5)
- Constructs a new ldcpe, 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 ldcpe
- instanceName - The instance name of the ldcpe
- 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
- s4 - The name of the port to which w4 will be connected
- w4 - The
Wire to be connected to the port specified by s4
- s5 - The name of the port to which w5 will be connected
- w5 - The
Wire to be connected to the port specified by s5
ldcpe
public ldcpe(Node parent,
ArgBlockList abl)
- Constructs a new ldcpe, 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 ldcpe
- abl - The list of
String-Wire pairs for port assignments, and String-String pairs for generic assignments.
ldcpe
public ldcpe(Node parent,
String instanceName,
ArgBlockList abl)
- Constructs a new ldcpe, 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 ldcpe
- instanceName - The instance name of the ldcpe
- abl - The list of
String-Wire pairs for port assignments, and String-String pairs for generic assignments.
clock
public final void clock()
- Performs the synchronous behavior of ldcpe.
- Overrides:
- clock in class Structural
reset
public void reset()
- Performs the reset behavior of ldcpe. Reset state is defined as:
- Overrides:
- reset in class Structural
propagate
public final void propagate()
- Performs the asynchronous behavior of ldcpe.
- Overrides:
- propagate in class Structural
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