|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.xilinx.JBits.Virtex.RTPCore.Core | +--MyRTPCore.RecodingConstMult
This design implements a constant multiplier using signed canonical recoding, i.e. it implements for example x*7 as x<<3 - x instead of x + x<<1 + x<<2
Field Summary | |
protected static int |
K
The constant K |
com.xilinx.JRoute.Virtex.Router.Port[] |
Out
The output will be the product of X by K. |
protected static int |
sizeK
The size in bits of the constant K |
protected static int |
sizeX
The size in bits of the X input |
static boolean |
verbose
The user may set the verbose level |
com.xilinx.JRoute.Virtex.Router.Port[] |
X
The X input, will be of size sizeX |
com.xilinx.JRoute.Virtex.Router.Port |
Zero
The Zero port: the user of the core should feed it a logical zero |
Fields inherited from class com.xilinx.JBits.Virtex.RTPCore.Core |
clbColumn,
clbHeight,
clbRow,
clbWidth,
name,
state,
tag,
uniqueTag,
written |
Constructor Summary | |
RecodingConstMult(int _sizeX,
int _sizeK,
int _K)
Constructor of the multiplier. |
Method Summary | |
static void |
main(java.lang.String[] arg)
The main method tests the booth encoding functions |
void |
set(com.xilinx.JBits.Virtex.JBits jBits,
int row,
int col)
Instantiates the multiplier in the case when there is no router object available. |
void |
set(com.xilinx.JBits.Virtex.JBits jBits,
com.xilinx.JRoute.Virtex.Router.RouterWithPorts router,
int row,
int col)
Instantiates the multiplier. |
static void |
testBooth()
Test function |
Methods inherited from class com.xilinx.JBits.Virtex.RTPCore.Core |
getClbColumn,
getClbHeight,
getClbRow,
getClbWidth,
getName,
getState,
getTag,
getUniqueTag,
protect,
setName,
setTag,
setUniqueTag |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static int sizeX
protected static int sizeK
protected static int K
public com.xilinx.JRoute.Virtex.Router.Port Zero
public com.xilinx.JRoute.Virtex.Router.Port[] X
public com.xilinx.JRoute.Virtex.Router.Port[] Out
public static boolean verbose
Constructor Detail |
public RecodingConstMult(int _sizeX, int _sizeK, int _K)
Method Detail |
public static void testBooth()
public void set(com.xilinx.JBits.Virtex.JBits jBits, int row, int col) throws com.xilinx.JBits.Virtex.ConfigurationException
public void set(com.xilinx.JBits.Virtex.JBits jBits, com.xilinx.JRoute.Virtex.Router.RouterWithPorts router, int row, int col) throws com.xilinx.JBits.Virtex.ConfigurationException
public static void main(java.lang.String[] arg)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |