All Packages Class Hierarchy This Package Previous Next Index
Class byucc.jhdl.Xilinx.Virtex.ldcp
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.ldcp
- public final class ldcp
- extends Logic
- implements PreDefinedSchematic
LDCP is a transparent data latch with data (D), asynchronous clear
(CLR) and preset (PRE) inputs. 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 is 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 remains 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 LDCP, Xilinx Corporation,
1999.)
-
cell_interface
- The port interface for ldcp:
clr: in (1)
pre: in (1)
g: in (1)
d: in (1)
q: out (1)
-
cellname
- The static cellname (netlist reference name) for ldcp
-
ldcp(Node)
- Used only by child classes to pass up the parent cell.
-
ldcp(Node, ArgBlockList)
- Constructs a new ldcp, connecting its ports as given by the
String-Wire pairs in the ArgBlockList.
-
ldcp(Node, String)
- Used only by child classes to pass up the parent cell and instance name.
-
ldcp(Node, String, ArgBlockList)
- Constructs a new ldcp, connecting its ports as given by the
String-Wire pairs in the ArgBlockList, with the initial String parameter as the instance name.
-
ldcp(Node, String, String, Wire, String, Wire, String, Wire, String, Wire, String, Wire)
- Constructs a new ldcp, connecting each
Wire to the port whose name is given by the accompanying String parameter, with the initial String parameter as the instance name.
-
ldcp(Node, String, Wire, String, Wire, String, Wire, String, Wire, String, Wire)
- Constructs a new ldcp, connecting each
Wire to the port whose name is given by the accompanying String parameter.
-
ldcp(Node, String, Wire, Wire, Wire, Wire, Wire)
- Constructs a new ldcp, with the initial
String parameter as the instance name.
-
ldcp(Node, Wire, Wire, Wire, Wire, Wire)
- Constructs a new ldcp.
-
cellInterfaceDeterminesUniqueNetlistStructure()
-
-
clock()
- Performs the synchronous behavior of ldcp.
-
main(String[])
-
-
propagate()
- Performs the asynchronous behavior of ldcp.
-
reset()
- Performs the reset behavior of ldcp.
-
test()
-
-
type()
-
cellname
public static final String cellname
- The static cellname (netlist reference name) for ldcp
cell_interface
public static CellInterface cell_interface[]
- The port interface for ldcp:
clr: in (1)
pre: in (1)
g: in (1)
d: in (1)
q: out (1)
ldcp
protected ldcp(Node parent)
- Used only by child classes to pass up the parent cell.
- Parameters:
- parent - Parent cell
ldcp
protected ldcp(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
ldcp
public ldcp(Node parent,
Wire clr,
Wire pre,
Wire g,
Wire d,
Wire q)
- Constructs a new ldcp.
- Parameters:
- parent - The parent
Cell to the ldcp
- clr - The
Wire to be connected to input port clr
- pre - The
Wire to be connected to input port pre
- 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
ldcp
public ldcp(Node parent,
String instanceName,
Wire clr,
Wire pre,
Wire g,
Wire d,
Wire q)
- Constructs a new ldcp, with the initial
String parameter as the instance name.
- Parameters:
- parent - The parent
Cell to the ldcp
- instanceName - The instance name of the ldcp
- clr - The
Wire to be connected to input port clr
- pre - The
Wire to be connected to input port pre
- 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
ldcp
public ldcp(Node parent,
String s0,
Wire w0,
String s1,
Wire w1,
String s2,
Wire w2,
String s3,
Wire w3,
String s4,
Wire w4)
- Constructs a new ldcp, connecting each
Wire to the port whose name is given by the accompanying String parameter.
- Parameters:
- parent - The parent
Cell to the ldcp
- 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
ldcp
public ldcp(Node parent,
String instanceName,
String s0,
Wire w0,
String s1,
Wire w1,
String s2,
Wire w2,
String s3,
Wire w3,
String s4,
Wire w4)
- Constructs a new ldcp, 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 ldcp
- instanceName - The instance name of the ldcp
- 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
ldcp
public ldcp(Node parent,
ArgBlockList abl)
- Constructs a new ldcp, 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 ldcp
- abl - The list of
String-Wire pairs for port assignments, and String-String pairs for generic assignments.
ldcp
public ldcp(Node parent,
String instanceName,
ArgBlockList abl)
- Constructs a new ldcp, 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 ldcp
- instanceName - The instance name of the ldcp
- 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 ldcp.
- Overrides:
- clock in class Structural
reset
public void reset()
- Performs the reset behavior of ldcp. Reset state is defined as:
- Overrides:
- reset in class Structural
propagate
public final void propagate()
- Performs the asynchronous behavior of ldcp.
- 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