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