|
|||||||||||
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.Logic.Modules.CORDICS
Note: These methods instance a Cordic in Fractional mode. See the documentation in Cordic form more details.
To instance a Rectangular-to-Polar converter,
the following method would
be used:
CORDICS.RectToPolar(x, y, mag, phase);
To instance a Polar-to-Rectangular converter,
the method would be:
CORDICS.PolarToRect(mag, phase, x, y);
For all available methods, see
Method Summary or
Method Detail.
Field Summary |
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 | |
CORDICS(Node parent)
|
Method Summary | |
static Wire |
buf_o(Node parent,
Wire in,
Wire out,
java.lang.String name)
Constructs a new buffer, with user-supplied wire as its output. |
static Wire |
constant_o(Cell parent,
Wire o,
BV value,
java.lang.String name)
Drives the constant value value onto the wire parameter. |
static Wire |
gnd_o(Cell parent,
Wire o,
java.lang.String name)
Connects wire o to ground, and returns o. |
static Wire |
gnd(Cell parent,
int width)
Returns a new wire of the specified width connected to ground. |
static Wire |
nc(Node parent,
int width)
|
static void |
PolarToRect(Node parent,
Wire mag,
Wire phase,
Wire x,
Wire y)
|
static void |
RectToPolar(Node parent,
Wire x,
Wire y,
Wire mag,
Wire phase)
|
static int |
wWid(Wire a)
|
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 |
Constructor Detail |
public CORDICS(Node parent)
Method Detail |
public static void RectToPolar(Node parent, Wire x, Wire y, Wire mag, Wire phase)
public static void PolarToRect(Node parent, Wire mag, Wire phase, Wire x, Wire y)
public static int wWid(Wire a)
public static Wire buf_o(Node parent, Wire in, Wire out, java.lang.String name)
LogicStatic
public static Wire gnd(Cell parent, int width)
LogicStatic
public static Wire gnd_o(Cell parent, Wire o, java.lang.String name)
LogicStatic
public static Wire nc(Node parent, int width)
public static Wire constant_o(Cell parent, Wire o, BV value, java.lang.String name)
LogicStatic
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |