|
|||||||||||
| 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.XilinxCL
byucc.jhdl.Xilinx.XC4000.cy4_mode
The cy4_mode block is the Annotation wrapper to indicate the exact
carry function being implemented to the back end Xilinx tools.
The cy4_mode is constructed with no wire arguments, only a mode
String, which is the number that corresponds to a specific carry mode
as indicated in the XC4K documenation. Based on the String,
the cy4_mode creates the correct constant (corresponding to the
programming code for the carry mode). This wire is then
accessible to the user via the getModeWire() method.
| Field Summary | |
static CellInterface[] |
cell_interface
The portnames for cy4_mode: { "c" } |
| Fields inherited from class byucc.jhdl.Xilinx.XilinxCL |
implicit_interface |
| 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 | |
cy4_mode(Node parent,
java.lang.String name,
java.lang.String s_c0,
Wire c0,
java.lang.String s_c1,
Wire c1,
java.lang.String s_c2,
Wire c2,
java.lang.String s_c3,
Wire c3,
java.lang.String s_c4,
Wire c4,
java.lang.String s_c5,
Wire c5,
java.lang.String s_c6,
Wire c6,
java.lang.String s_c7,
Wire c7,
java.lang.String MODE)
|
|
cy4_mode(Node parent,
java.lang.String s_c0,
Wire c0,
java.lang.String s_c1,
Wire c1,
java.lang.String s_c2,
Wire c2,
java.lang.String s_c3,
Wire c3,
java.lang.String s_c4,
Wire c4,
java.lang.String s_c5,
Wire c5,
java.lang.String s_c6,
Wire c6,
java.lang.String s_c7,
Wire c7,
java.lang.String MODE)
|
|
cy4_mode(Node parent,
Wire cin,
java.lang.String MODE)
Creates a new cy4_mode block of the mode specified by the String parameter. |
|
cy4_mode(Node parent,
Wire c0,
Wire c1,
Wire c2,
Wire c3,
Wire c4,
Wire c5,
Wire c6,
Wire c7,
java.lang.String MODE)
|
|
| 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. |
java.lang.String |
getCellName()
Returns the netlist name of the cy4_mode cell. |
BV |
getConstantValue()
Returns a BV containing the value of the constant |
static int |
modeNumber(java.lang.String mode_name)
get the mode number for a given CY4 mode string |
void |
propagate()
Users defined propagatable behavior using standard JHDL constructs. |
| Methods inherited from class byucc.jhdl.Xilinx.XilinxCL |
connectImplicitPorts |
| 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 |
public static CellInterface[] cell_interface
{ "c" }
| Constructor Detail |
public cy4_mode(Node parent,
Wire cin,
java.lang.String MODE)
String parameter.
parent - The parent Node to be used for this
cy4_mode.MODE - The mode initialization String used
to set the carry-mode of this cell. Note that
this string must be a number between 1 and 42
inclusive which corresponds to the desired carry
mode as per the Xilinx XC4000 documentation.
public cy4_mode(Node parent,
Wire c0,
Wire c1,
Wire c2,
Wire c3,
Wire c4,
Wire c5,
Wire c6,
Wire c7,
java.lang.String MODE)
public cy4_mode(Node parent,
java.lang.String s_c0,
Wire c0,
java.lang.String s_c1,
Wire c1,
java.lang.String s_c2,
Wire c2,
java.lang.String s_c3,
Wire c3,
java.lang.String s_c4,
Wire c4,
java.lang.String s_c5,
Wire c5,
java.lang.String s_c6,
Wire c6,
java.lang.String s_c7,
Wire c7,
java.lang.String MODE)
public cy4_mode(Node parent,
java.lang.String name,
java.lang.String s_c0,
Wire c0,
java.lang.String s_c1,
Wire c1,
java.lang.String s_c2,
Wire c2,
java.lang.String s_c3,
Wire c3,
java.lang.String s_c4,
Wire c4,
java.lang.String s_c5,
Wire c5,
java.lang.String s_c6,
Wire c6,
java.lang.String s_c7,
Wire c7,
java.lang.String MODE)
| Method Detail |
public boolean cellInterfaceDeterminesUniqueNetlistStructure()
Cell
cellInterfaceDeterminesUniqueNetlistStructure in class Cellpublic java.lang.String getCellName()
getCellName in class Cellpublic BV getConstantValue()
ConstantSource
getConstantValue in interface ConstantSourcepublic void propagate()
Structural
propagate in interface byucc.jhdl.base.Propagateablepropagate in class Structuralpublic static int modeNumber(java.lang.String mode_name)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||