|
|||||||||||
| 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.Virtex.fdr_1_g
FDR is a D-type flip-flop with data (D) and synchronous reset (R) inputs and data output (Q). The synchronous reset (R) input, when high, overrides all other inputs and resets Q to low on a falling clock edge. The data on the D input is propagated to Q on a falling clock edge when R is not high. (Source: XACT Libraries Guide, pg. 3-258, Xilinx Corporation, 1999.)
| Field Summary | |
static CellInterface[] |
cell_interface
|
protected int |
width
The port interface for: fdr_1_g c : implicit (1) d : in ("gw") r : in (1) q : out ("gw") parameter: "gw" (INTEGER). |
| 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 |
fdr_1_g(Node parent)
Used only by child classes to pass up the parent cell. |
|
fdr_1_g(Node parent,
ArgBlockList abl)
Constructs a new fdr_1_g, connecting its ports as given by the String-Wire pairs in the ArgBlockList. |
protected |
fdr_1_g(Node parent,
java.lang.String name)
Used only by child classes to pass up the parent cell and instance name. |
|
fdr_1_g(Node parent,
java.lang.String instanceName,
ArgBlockList abl)
Constructs a new fdr_1_g, connecting its ports as given by the String-Wire pairs in the ArgBlockList. |
|
fdr_1_g(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 fdr_1_g, connecting each Wire to the port whose name is given by the accompanying String parameter
The initial String parameter specifies the instance name. |
|
fdr_1_g(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 fdr_1_g, connecting each Wire to the port whose name is given by the accompanying String parameter
The initial String parameter specifies the instance name. |
|
fdr_1_g(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 fdr_1_g, connecting each Wire to the port whose name is given by the accompanying String parameter
Note: this includes enough wires for the implicit ports. |
|
fdr_1_g(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 fdr_1_g, connecting each Wire to the port whose name is given by the accompanying String parameter
Note: this includes enough wires for the implicit ports. |
|
fdr_1_g(Node parent,
java.lang.String s0,
Wire w0,
java.lang.String s1,
Wire w1,
java.lang.String s2,
Wire w2)
Constructs a new fdr_1_g, connecting each Wire to the port whose name is given by the accompanying String parameter |
|
fdr_1_g(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 fdr_1_g, connecting each Wire to the port whose name is given by the accompanying String parameter
The final String parameters set the generics , INIT |
|
fdr_1_g(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 fdr_1_g, connecting each Wire to the port whose name is given by the accompanying String parameter
Note: this includes enough wires for the implicit ports. |
|
fdr_1_g(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 fdr_1_g, connecting each Wire to the port whose name is given by the accompanying String parameter
Note: this includes enough wires for the implicit ports. |
|
fdr_1_g(Node parent,
java.lang.String instanceName,
Wire d,
Wire r,
Wire q)
Constructs a new fdr_1_g. |
|
fdr_1_g(Node parent,
java.lang.String instanceName,
Wire d,
Wire r,
Wire q,
java.lang.String INIT)
Constructs a new fdr_1_g. |
|
fdr_1_g(Node parent,
java.lang.String instanceName,
Wire c,
Wire d,
Wire r,
Wire q)
Constructs a new fdr_1_g. |
|
fdr_1_g(Node parent,
java.lang.String instanceName,
Wire c,
Wire d,
Wire r,
Wire q,
java.lang.String INIT)
Constructs a new fdr_1_g. |
|
fdr_1_g(Node parent,
Wire d,
Wire r,
Wire q)
Constructs a new fdr_1_g. |
|
fdr_1_g(Node parent,
Wire d,
Wire r,
Wire q,
java.lang.String INIT)
Constructs a new fdr_1_g. |
|
fdr_1_g(Node parent,
Wire c,
Wire d,
Wire r,
Wire q)
Constructs a new fdr_1_g. |
|
fdr_1_g(Node parent,
Wire c,
Wire d,
Wire r,
Wire q,
java.lang.String INIT)
Constructs a new fdr_1_g. |
| 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. |
boolean |
defaultSimulationModelIsBehavioral()
Returns true if the library-level simulation default is behavioral. |
boolean |
isFallingEdgeTriggered()
The default behavior assumes a clock of schedule "01", and that this is rising-edge triggered. |
boolean |
isRisingEdgeTriggered()
The default behavior assumes a clock of schedule "01", and that this is rising-edge triggered. |
static void |
main(java.lang.String[] argv)
|
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 |
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 |
| Field Detail |
protected int width
public static CellInterface[] cell_interface
| Constructor Detail |
protected fdr_1_g(Node parent)
parent - Parent cell
protected fdr_1_g(Node parent,
java.lang.String name)
parent - Parent cellname - Instance name of the cell
public fdr_1_g(Node parent,
Wire d,
Wire r,
Wire q)
parent - The parent Cell to the fdr_1_gd - The Wire to be connected to input port dr - The Wire to be connected to input port rq - The Wire to be connected to output port q
public fdr_1_g(Node parent,
java.lang.String instanceName,
Wire d,
Wire r,
Wire q)
String parameter specifies the instance name.
parent - The parent Cell to the fdr_1_ginstanceName - The instance name of the fdr_1_gd - The Wire to be connected to input port dr - The Wire to be connected to input port rq - The Wire to be connected to output port q
public fdr_1_g(Node parent,
Wire c,
Wire d,
Wire r,
Wire q)
parent - The parent Cell to the fdr_1_gc - The Wire to be connected to implicit port cd - The Wire to be connected to input port dr - The Wire to be connected to input port rq - The Wire to be connected to output port q
public fdr_1_g(Node parent,
java.lang.String instanceName,
Wire c,
Wire d,
Wire r,
Wire q)
String parameter specifies the instance name.
parent - The parent Cell to the fdr_1_ginstanceName - The instance name of the fdr_1_gc - The Wire to be connected to implicit port cd - The Wire to be connected to input port dr - The Wire to be connected to input port rq - The Wire to be connected to output port q
public fdr_1_g(Node parent,
Wire d,
Wire r,
Wire q,
java.lang.String INIT)
String parameters set the generics , INIT
parent - The parent Cell to the fdr_1_gd - The Wire to be connected to input port dr - The Wire to be connected to input port rq - The Wire to be connected to output port qINIT - The String assignment for generic INIT
public fdr_1_g(Node parent,
java.lang.String instanceName,
Wire d,
Wire r,
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 fdr_1_ginstanceName - The instance name of the fdr_1_gd - The Wire to be connected to input port dr - The Wire to be connected to input port rq - The Wire to be connected to output port qINIT - The String assignment for generic INIT
public fdr_1_g(Node parent,
Wire c,
Wire d,
Wire r,
Wire q,
java.lang.String INIT)
String parameters set the generics , INIT
parent - The parent Cell to the fdr_1_gc - The Wire to be connected to implicit port cd - The Wire to be connected to input port dr - The Wire to be connected to input port rq - The Wire to be connected to output port qINIT - The String assignment for generic INIT
public fdr_1_g(Node parent,
java.lang.String instanceName,
Wire c,
Wire d,
Wire r,
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 fdr_1_ginstanceName - The instance name of the fdr_1_gc - The Wire to be connected to implicit port cd - The Wire to be connected to input port dr - The Wire to be connected to input port rq - The Wire to be connected to output port qINIT - The String assignment for generic INIT
public fdr_1_g(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 fdr_1_gs0 - 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 fdr_1_g(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 fdr_1_gs0 - 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 fdr_1_g(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 fdr_1_ginstanceName - The instance name of the fdr_1_gs0 - 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 fdr_1_g(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 fdr_1_ginstanceName - The instance name of the fdr_1_gs0 - 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 fdr_1_g(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 fdr_1_gs0 - 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 fdr_1_g(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 fdr_1_gs0 - 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 fdr_1_g(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 fdr_1_ginstanceName - The instance name of the fdr_1_gs0 - 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 fdr_1_g(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 fdr_1_ginstanceName - The instance name of the fdr_1_gs0 - 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 fdr_1_g(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 fdr_1_gabl - The list of String-Wire pairs for port assignments, and String-String pairs for generic assignments.
public fdr_1_g(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 fdr_1_ginstanceName - The instance name of the fdr_1_gabl - The list of String-Wire pairs for port assignments, and String-String pairs for generic assignments.| Method Detail |
public final void clock()
Structural
clock in interface Clockableclock in class Structuralpublic boolean isRisingEdgeTriggered()
Structural
isRisingEdgeTriggered in interface ClockableisRisingEdgeTriggered in class XilinxFD_1public boolean isFallingEdgeTriggered()
Structural
isFallingEdgeTriggered in interface ClockableisFallingEdgeTriggered in class XilinxFD_1public final boolean cellInterfaceDeterminesUniqueNetlistStructure()
Cell
cellInterfaceDeterminesUniqueNetlistStructure in class Cellpublic int type()
PreDefinedSchematic
type in interface PreDefinedSchematicpublic boolean defaultSimulationModelIsBehavioral()
true if the library-level simulation default is behavioral.
defaultSimulationModelIsBehavioral in class Structuralpublic 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 | ||||||||||