|
|||||||||||
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.contrib.modgen.Sub
The registers in the pipe can be stalled using a clk_en signal. clk_en can be passed in null for a perpetually enabled design. An exception will be thrown if clk_en is present when the module is unregistered.
Field Summary | |
static CellInterface[] |
cell_interface
Deprecated. |
static java.lang.String |
cellname
Deprecated. |
static int |
EVEN_ALIGNED
Deprecated. constants to determine placement information EVEN_ALIGNED subtracters begin the carry chain with a FORCE. |
static int |
ODD_ALIGNED
Deprecated. |
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 |
Constructor Summary | |
Sub(Node parent,
int alignment,
boolean registered,
Wire clk_en,
Wire cin,
Wire a,
Wire b,
Wire s,
Wire cout)
Deprecated. Use Logic sub call instead (Sub was deprecated since it is XC4000 specific). |
Method Summary | |
boolean |
cellInterfaceDeterminesUniqueNetlistStructure()
Deprecated. 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()
Deprecated. Users define synchronous behavior in this method using standard JHDL constructs. |
static int[] |
compute(int width,
int cin,
int a,
int b)
Deprecated. Compute implements the behavior of the Sub for behavioral modelling of the circuit |
protected boolean |
defaultSimulationModelIsBehavioral()
Deprecated. The default simulation model is behavioral |
java.lang.String |
getCellName()
Deprecated. Access the cell name associated with a derived class. |
void |
propagate()
Deprecated. Users defined propagatable behavior using standard JHDL constructs. |
void |
reset()
Deprecated. If you define a behavior, you must also define a reset method for resetting the synchonous part of your model. |
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 final int EVEN_ALIGNED
public static final int ODD_ALIGNED
public static CellInterface[] cell_interface
public static final java.lang.String cellname
Constructor Detail |
public Sub(Node parent, int alignment, boolean registered, Wire clk_en, Wire cin, Wire a, Wire b, Wire s, Wire cout)
parent
- Parent of this circuitalignment
- EVEN_ALIGNED or ODD_ALIGNEDregistered
- True for output registers, false for no registersclk_en
- Clock enable wirecin
- Carry in wire. Null for no carry in.a
- A operandb
- B operands
- Result wire.cout
- Carry out wire. Null for no carry out.Method Detail |
public java.lang.String getCellName()
Cell
getCellName
in class Cell
public boolean cellInterfaceDeterminesUniqueNetlistStructure()
Cell
cellInterfaceDeterminesUniqueNetlistStructure
in class Cell
protected boolean defaultSimulationModelIsBehavioral()
defaultSimulationModelIsBehavioral
in class Structural
public static int[] compute(int width, int cin, int a, int b)
width
- Wordsize of the Subcin
- carry in to the Suba
- a input.b
- b input.
public void propagate()
Structural
propagate
in interface byucc.jhdl.base.Propagateable
propagate
in class Structural
public void clock()
Structural
clock
in interface Clockable
clock
in class Structural
public void reset()
Structural
reset
in interface Clockable
reset
in class Structural
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |