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


Variable Index

 o cell_interface
The port interface for ldcp: clr: in (1) pre: in (1) g: in (1) d: in (1) q: out (1)
 o cellname
The static cellname (netlist reference name) for ldcp

Constructor Index

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

Method Index

 o cellInterfaceDeterminesUniqueNetlistStructure()
 o clock()
Performs the synchronous behavior of ldcp.
 o main(String[])
 o propagate()
Performs the asynchronous behavior of ldcp.
 o reset()
Performs the reset behavior of ldcp.
 o test()
 o type()

Variables

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

 o 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)

Constructors

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

Parameters:
parent - Parent cell
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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.
 o 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.

Methods

 o clock
 public final void clock()
Performs the synchronous behavior of ldcp.

Overrides:
clock in class Structural
 o reset
 public void reset()
Performs the reset behavior of ldcp. Reset state is defined as:

Overrides:
reset in class Structural
 o propagate
 public final void propagate()
Performs the asynchronous behavior of ldcp.

Overrides:
propagate in class Structural
 o cellInterfaceDeterminesUniqueNetlistStructure
 public final boolean cellInterfaceDeterminesUniqueNetlistStructure()
Overrides:
cellInterfaceDeterminesUniqueNetlistStructure in class Cell
 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