All Packages Class Hierarchy This Package Previous Next Index
Class byucc.jhdl.Xilinx.Virtex.ldp
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.ldp
- public final class ldp
- extends Logic
- implements PreDefinedSchematic
LDP is a transparent data latch with asynchronous preset
(PRE). When the PRE input is High, it overrides the other inputs
and resets the data (Q) output High. Q reflects the data (D) input
while gate (G) input is High and PRE is 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 preset, output High, when power is
applied. FPGAs simulate power-on when global set/reset (GSR) is
active. For Virtex and Spartan2, 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 LDP, Xilinx Corporation,
1999.)
-
cell_interface
- The port interface for ldp:
pre: in (1)
g: in (1)
d: in (1)
q: out (1)
-
cellname
- The static cellname (netlist reference name) for ldp
-
ldp(Node)
- Used only by child classes to pass up the parent cell.
-
ldp(Node, ArgBlockList)
- Constructs a new ldp, connecting its ports as given by the
String-Wire pairs in the ArgBlockList.
-
ldp(Node, String)
- Used only by child classes to pass up the parent cell and instance name.
-
ldp(Node, String, ArgBlockList)
- Constructs a new ldp, connecting its ports as given by the
String-Wire pairs in the ArgBlockList, with the initial String parameter as the instance name.
-
ldp(Node, String, String, Wire, String, Wire, String, Wire, String, Wire)
- Constructs a new ldp, connecting each
Wire to the port whose name is given by the accompanying String parameter, with the initial String parameter as the instance name.
-
ldp(Node, String, Wire, String, Wire, String, Wire, String, Wire)
- Constructs a new ldp, connecting each
Wire to the port whose name is given by the accompanying String parameter.
-
ldp(Node, String, Wire, Wire, Wire, Wire)
- Constructs a new ldp, with the initial
String parameter as the instance name.
-
ldp(Node, Wire, Wire, Wire, Wire)
- Constructs a new ldp.
-
cellInterfaceDeterminesUniqueNetlistStructure()
-
-
clock()
- Performs the synchronous behavior of ldp.
-
main(String[])
-
-
propagate()
- Performs the asynchronous behavior of ldp.
-
reset()
- Performs the reset behavior of ldp.
-
test()
-
-
type()
-
cellname
public static final String cellname
- The static cellname (netlist reference name) for ldp
cell_interface
public static CellInterface cell_interface[]
- The port interface for ldp:
pre: in (1)
g: in (1)
d: in (1)
q: out (1)
ldp
protected ldp(Node parent)
- Used only by child classes to pass up the parent cell.
- Parameters:
- parent - Parent cell
ldp
protected ldp(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
ldp
public ldp(Node parent,
Wire pre,
Wire g,
Wire d,
Wire q)
- Constructs a new ldp.
- Parameters:
- parent - The parent
Cell to the ldp
- 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
ldp
public ldp(Node parent,
String instanceName,
Wire pre,
Wire g,
Wire d,
Wire q)
- Constructs a new ldp, with the initial
String parameter as the instance name.
- Parameters:
- parent - The parent
Cell to the ldp
- instanceName - The instance name of the ldp
- 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
ldp
public ldp(Node parent,
String s0,
Wire w0,
String s1,
Wire w1,
String s2,
Wire w2,
String s3,
Wire w3)
- Constructs a new ldp, connecting each
Wire to the port whose name is given by the accompanying String parameter.
- Parameters:
- parent - The parent
Cell to the ldp
- 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
ldp
public ldp(Node parent,
String instanceName,
String s0,
Wire w0,
String s1,
Wire w1,
String s2,
Wire w2,
String s3,
Wire w3)
- Constructs a new ldp, 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 ldp
- instanceName - The instance name of the ldp
- 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
ldp
public ldp(Node parent,
ArgBlockList abl)
- Constructs a new ldp, 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 ldp
- abl - The list of
String-Wire pairs for port assignments, and String-String pairs for generic assignments.
ldp
public ldp(Node parent,
String instanceName,
ArgBlockList abl)
- Constructs a new ldp, 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 ldp
- instanceName - The instance name of the ldp
- 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 ldp.
- Overrides:
- clock in class Structural
reset
public void reset()
- Performs the reset behavior of ldp. Reset state is defined as:
- Overrides:
- reset in class Structural
propagate
public final void propagate()
- Performs the asynchronous behavior of ldp.
- 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