|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbyucc.jhdl.base.Nameable
byucc.jhdl.base.Node
byucc.jhdl.base.Cell
byucc.jhdl.base.Structural
byucc.jhdl.Logic.LogicGates
byucc.jhdl.Logic.LogicStatic
byucc.jhdl.Logic.Logic
byucc.jhdl.Xilinx.XilinxFD
byucc.jhdl.Xilinx.XilinxFD_1
byucc.jhdl.Xilinx.Virtex2.fde_1
FDE_1 is a single D-type flip-flop with data input (D), clock enable (CE), and data output (Q). When clock enable is High, the data on the D input is loaded into the flip-flop during the High-to-Low clock (C) transition. The flip-flop is asynchronously cleared, output Low, when power is applied. Virtex2 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 5 FDE, Xilinx Corporation, 1999.)
| Field Summary | |
static CellInterface[] |
cell_interface
The port interface for: fde_1 c : implicit (1) ce : in (1) d : in (1) q : out (1) |
static java.lang.String |
cellname
The static cellname (netlist reference name) for fde_1 |
| Fields inherited from class byucc.jhdl.Xilinx.XilinxFD_1 |
implicit_interface |
| Fields inherited from class byucc.jhdl.Xilinx.XilinxFD |
state |
| Fields inherited from class byucc.jhdl.Logic.Logic |
ABOVE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_LSB, ALIGN_MSB, ALIGN_RIGHT, ALIGN_TOP, BELOW, DOWN, EAST_OF, LEFT_OF, MAX_PACK, NORTH_OF, ON, ONTOP, ONTOP_OF, RIGHT_OF, SOUTH_OF, TOLEFT, TORIGHT, UNCONSTRAINED, UP, WEST_OF |
| Fields inherited from class byucc.jhdl.Logic.LogicGates |
tech_mapper |
| Fields inherited from class byucc.jhdl.base.Cell |
BOOLEAN, CELL_NAME_DECLARATION, CellInterfaceDeterminesUniqueNetlistStructure, DETERMINE_FROM_STRING, GENERICS_DECLARATION, IMPLICIT_INTERFACE_DECLARATION, INTEGER, INTERFACE_DECLARATION, LONG, PORT_IOS_DECLARATION, PORT_NAMES_DECLARATION, PORT_NET_NAMES_DECLARATION, PORT_PROPERTIES, PORT_WIDTHS_DECLARATION, SIGN_EXT, STRING, ZERO_PAD |
| Constructor Summary | |
protected |
fde_1(Node parent)
Used only by child classes to pass up the parent cell. |
|
fde_1(Node parent,
ArgBlockList abl)
Constructs a new fde_1, connecting its ports as given by the String-Wire pairs in the ArgBlockList. |
protected |
fde_1(Node parent,
java.lang.String name)
Used only by child classes to pass up the parent cell and instance name. |
|
fde_1(Node parent,
java.lang.String instanceName,
ArgBlockList abl)
Constructs a new fde_1, connecting its ports as given by the String-Wire pairs in the ArgBlockList. |
|
fde_1(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2)
Constructs a new fde_1, connecting each Wire to the port whose name is given by the accompanying String parameter
The initial String parameter specifies the instance name. |
|
fde_1(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String INIT)
Constructs a new fde_1, connecting each Wire to the port whose name is given by the accompanying String parameter
The initial String parameter specifies the instance name. |
|
fde_1(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String s3,
Wire w3)
Constructs a new fde_1, connecting each Wire to the port whose name is given by the accompanying String parameter
Note: this includes enough wires for the implicit ports. |
|
fde_1(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String s3,
Wire w3,
java.lang.String INIT)
Constructs a new fde_1, connecting each Wire to the port whose name is given by the accompanying String parameter
Note: this includes enough wires for the implicit ports. |
|
fde_1(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2)
Constructs a new fde_1, connecting each Wire to the port whose name is given by the accompanying String parameter |
|
fde_1(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String INIT)
Constructs a new fde_1, connecting each Wire to the port whose name is given by the accompanying String parameter
The final String parameters set the generics , INIT |
|
fde_1(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String s3,
Wire w3)
Constructs a new fde_1, connecting each Wire to the port whose name is given by the accompanying String parameter
Note: this includes enough wires for the implicit ports. |
|
fde_1(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String s3,
Wire w3,
java.lang.String INIT)
Constructs a new fde_1, connecting each Wire to the port whose name is given by the accompanying String parameter
Note: this includes enough wires for the implicit ports. |
|
fde_1(Node parent,
java.lang.String instanceName,
Wire ce,
Wire d,
Wire q)
Constructs a new fde_1. |
|
fde_1(Node parent,
java.lang.String instanceName,
Wire ce,
Wire d,
Wire q,
java.lang.String INIT)
Constructs a new fde_1. |
|
fde_1(Node parent,
java.lang.String instanceName,
Wire c,
Wire ce,
Wire d,
Wire q)
Constructs a new fde_1. |
|
fde_1(Node parent,
java.lang.String instanceName,
Wire c,
Wire ce,
Wire d,
Wire q,
java.lang.String INIT)
Constructs a new fde_1. |
|
fde_1(Node parent,
Wire ce,
Wire d,
Wire q)
Constructs a new fde_1. |
|
fde_1(Node parent,
Wire ce,
Wire d,
Wire q,
java.lang.String INIT)
Constructs a new fde_1. |
|
fde_1(Node parent,
Wire c,
Wire ce,
Wire d,
Wire q)
Constructs a new fde_1. |
|
fde_1(Node parent,
Wire c,
Wire ce,
Wire d,
Wire q,
java.lang.String INIT)
Constructs a new fde_1. |
| Method Summary | |
boolean |
cellInterfaceDeterminesUniqueNetlistStructure()
When false, the default behavior of this method, each cell will list itself separately in a netlist, guaranteeing that the netlist will not have invalid data at the expense of a larger file-size. |
void |
clock()
Users define synchronous behavior in this method using standard JHDL constructs. |
java.lang.String |
getCellName()
Access the cell name associated with a derived class. |
static void |
main(java.lang.String[] argv)
|
void |
reset()
If you define a behavior, you must also define a reset method for resetting the synchonous part of your model. |
static void |
test()
|
int |
type()
This method returns one of the predefined schematic constants to identify the type of this cell. |
| Methods inherited from class byucc.jhdl.Xilinx.XilinxFD_1 |
isFallingEdgeTriggered, isRisingEdgeTriggered |
| Methods inherited from class byucc.jhdl.Xilinx.XilinxFD |
connectImplicitPorts, externallyUpdated, fetchState, updateState |
| Methods inherited from class byucc.jhdl.base.Node |
addObservable, addSimulatorCallback, checkAll, delete, getBuildingFlag, getChildren, getChildrenEnumeration, getInstanceName, getParent, getParentCell, getRelatives, getSystem, getWires, optimize, orphanAllowed, printAllChildren, printTree, removeSimulatorCallback, setDefaultClock |
| Methods inherited from class byucc.jhdl.base.Nameable |
caseSensitivity, caseSensitivity, disableNameClashChecking, getFullName, getFullNameNoTestBench, getHierNameNoTestBench, getInstanceNo, getInstanceNumber, getLeafName, getLeafName, getRelativeName, getUserName, getUserName, hasUserSpecifiedName, isDescendantOf, setInstanceNumber |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface byucc.jhdl.base.ExternallyUpdateable |
fetchState, updateState |
| Field Detail |
public static final java.lang.String cellname
public static CellInterface[] cell_interface
| Constructor Detail |
protected fde_1(Node parent)
parent - Parent cell
protected fde_1(Node parent,
java.lang.String name)
parent - Parent cellname - Instance name of the cell
public fde_1(Node parent,
Wire ce,
Wire d,
Wire q)
parent - The parent Cell to the fde_1ce - The Wire to be connected to input port ced - The Wire to be connected to input port dq - The Wire to be connected to output port q
public fde_1(Node parent,
java.lang.String instanceName,
Wire ce,
Wire d,
Wire q)
String parameter specifies the instance name.
parent - The parent Cell to the fde_1instanceName - The instance name of the fde_1ce - The Wire to be connected to input port ced - The Wire to be connected to input port dq - The Wire to be connected to output port q
public fde_1(Node parent,
Wire c,
Wire ce,
Wire d,
Wire q)
parent - The parent Cell to the fde_1c - The Wire to be connected to implicit port cce - The Wire to be connected to input port ced - The Wire to be connected to input port dq - The Wire to be connected to output port q
public fde_1(Node parent,
java.lang.String instanceName,
Wire c,
Wire ce,
Wire d,
Wire q)
String parameter specifies the instance name.
parent - The parent Cell to the fde_1instanceName - The instance name of the fde_1c - The Wire to be connected to implicit port cce - The Wire to be connected to input port ced - The Wire to be connected to input port dq - The Wire to be connected to output port q
public fde_1(Node parent,
Wire ce,
Wire d,
Wire q,
java.lang.String INIT)
String parameters set the generics , INIT
parent - The parent Cell to the fde_1ce - The Wire to be connected to input port ced - The Wire to be connected to input port dq - The Wire to be connected to output port qINIT - The String assignment for generic INIT
public fde_1(Node parent,
java.lang.String instanceName,
Wire ce,
Wire d,
Wire q,
java.lang.String INIT)
String parameter specifies the instance name.
The final String parameters set the generics , INIT
parent - The parent Cell to the fde_1instanceName - The instance name of the fde_1ce - The Wire to be connected to input port ced - The Wire to be connected to input port dq - The Wire to be connected to output port qINIT - The String assignment for generic INIT
public fde_1(Node parent,
Wire c,
Wire ce,
Wire d,
Wire q,
java.lang.String INIT)
String parameters set the generics , INIT
parent - The parent Cell to the fde_1c - The Wire to be connected to implicit port cce - The Wire to be connected to input port ced - The Wire to be connected to input port dq - The Wire to be connected to output port qINIT - The String assignment for generic INIT
public fde_1(Node parent,
java.lang.String instanceName,
Wire c,
Wire ce,
Wire d,
Wire q,
java.lang.String INIT)
String parameter specifies the instance name.
The final String parameters set the generics , INIT
parent - The parent Cell to the fde_1instanceName - The instance name of the fde_1c - The Wire to be connected to implicit port cce - The Wire to be connected to input port ced - The Wire to be connected to input port dq - The Wire to be connected to output port qINIT - The String assignment for generic INIT
public fde_1(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2)
Wire to the port whose name is given by the accompanying String parameter
parent - The parent Cell to the fde_1s0 - The name of the port to which w0 will be connectedw0 - The Wire to be connected to the port specified by s0s1 - The name of the port to which w1 will be connectedw1 - The Wire to be connected to the port specified by s1s2 - The name of the port to which w2 will be connectedw2 - The Wire to be connected to the port specified by s2
public fde_1(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String INIT)
Wire to the port whose name is given by the accompanying String parameter
The final String parameters set the generics , INIT
parent - The parent Cell to the fde_1s0 - The name of the port to which w0 will be connectedw0 - The Wire to be connected to the port specified by s0s1 - The name of the port to which w1 will be connectedw1 - The Wire to be connected to the port specified by s1s2 - The name of the port to which w2 will be connectedw2 - The Wire to be connected to the port specified by s2INIT - The String assignment for generic INIT
public fde_1(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2)
Wire to the port whose name is given by the accompanying String parameter
The initial String parameter specifies the instance name.
parent - The parent Cell to the fde_1instanceName - The instance name of the fde_1s0 - The name of the port to which w0 will be connectedw0 - The Wire to be connected to the port specified by s0s1 - The name of the port to which w1 will be connectedw1 - The Wire to be connected to the port specified by s1s2 - The name of the port to which w2 will be connectedw2 - The Wire to be connected to the port specified by s2
public fde_1(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String INIT)
Wire to the port whose name is given by the accompanying String parameter
The initial String parameter specifies the instance name.
The final String parameters set the generics , INIT
parent - The parent Cell to the fde_1instanceName - The instance name of the fde_1s0 - The name of the port to which w0 will be connectedw0 - The Wire to be connected to the port specified by s0s1 - The name of the port to which w1 will be connectedw1 - The Wire to be connected to the port specified by s1s2 - The name of the port to which w2 will be connectedw2 - The Wire to be connected to the port specified by s2INIT - The String assignment for generic INIT
public fde_1(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String s3,
Wire w3)
Wire to the port whose name is given by the accompanying String parameter
Note: this includes enough wires for the implicit ports.
parent - The parent Cell to the fde_1s0 - The name of the port to which w0 will be connectedw0 - The Wire to be connected to the port specified by s0s1 - The name of the port to which w1 will be connectedw1 - The Wire to be connected to the port specified by s1s2 - The name of the port to which w2 will be connectedw2 - The Wire to be connected to the port specified by s2s3 - The name of the port to which w3 will be connectedw3 - The Wire to be connected to the port specified by s3
public fde_1(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String s3,
Wire w3,
java.lang.String INIT)
Wire to the port whose name is given by the accompanying String parameter
Note: this includes enough wires for the implicit ports.
The final String parameters set the generics , INIT
parent - The parent Cell to the fde_1s0 - The name of the port to which w0 will be connectedw0 - The Wire to be connected to the port specified by s0s1 - The name of the port to which w1 will be connectedw1 - The Wire to be connected to the port specified by s1s2 - The name of the port to which w2 will be connectedw2 - The Wire to be connected to the port specified by s2s3 - The name of the port to which w3 will be connectedw3 - The Wire to be connected to the port specified by s3INIT - The String assignment for generic INIT
public fde_1(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String s3,
Wire w3)
Wire to the port whose name is given by the accompanying String parameter
Note: this includes enough wires for the implicit ports.
The initial String parameter specifies the instance name.
parent - The parent Cell to the fde_1instanceName - The instance name of the fde_1s0 - The name of the port to which w0 will be connectedw0 - The Wire to be connected to the port specified by s0s1 - The name of the port to which w1 will be connectedw1 - The Wire to be connected to the port specified by s1s2 - The name of the port to which w2 will be connectedw2 - The Wire to be connected to the port specified by s2s3 - The name of the port to which w3 will be connectedw3 - The Wire to be connected to the port specified by s3
public fde_1(Node parent,
java.lang.String instanceName,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2,
java.lang.String s3,
Wire w3,
java.lang.String INIT)
Wire to the port whose name is given by the accompanying String parameter
Note: this includes enough wires for the implicit ports.
The initial String parameter specifies the instance name.
The final String parameters set the generics , INIT
parent - The parent Cell to the fde_1instanceName - The instance name of the fde_1s0 - The name of the port to which w0 will be connectedw0 - The Wire to be connected to the port specified by s0s1 - The name of the port to which w1 will be connectedw1 - The Wire to be connected to the port specified by s1s2 - The name of the port to which w2 will be connectedw2 - The Wire to be connected to the port specified by s2s3 - The name of the port to which w3 will be connectedw3 - The Wire to be connected to the port specified by s3INIT - The String assignment for generic INIT
public fde_1(Node parent,
ArgBlockList abl)
String-Wire pairs in the ArgBlockList. Any generic assignments are made through String-String pairs in the ArgBlockList.
parent - The parent Cell to the fde_1abl - The list of String-Wire pairs for port assignments, and String-String pairs for generic assignments.
public fde_1(Node parent,
java.lang.String instanceName,
ArgBlockList abl)
String-Wire pairs in the ArgBlockList. Any generic assignments are made through String-String pairs in the ArgBlockList.
The initial String parameter is the instance name.
parent - The parent Cell to the fde_1instanceName - The instance name of the fde_1abl - The list of String-Wire pairs for port assignments, and String-String pairs for generic assignments.| Method Detail |
public java.lang.String getCellName()
Cell
getCellName in class Cellpublic final void clock()
Structural
clock in interface Clockableclock in class Structuralpublic void reset()
Structural
reset in interface Clockablereset in class Structuralpublic final boolean cellInterfaceDeterminesUniqueNetlistStructure()
Cell
cellInterfaceDeterminesUniqueNetlistStructure in class Cellpublic int type()
PreDefinedSchematic
type in interface PreDefinedSchematicpublic static void main(java.lang.String[] argv)
public static void test()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||