|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--com.xilinx.JBits.CoreTemplate.RTPCore
|
+--bitser.primatives.slice.TwosComplementSlice
Implements a Bit-serial Two's Complement operation on LSB (Least Significant Bit) first serial data.
The control signal must be asserted HI during the LSB to ensure proper reseting of the core for the next data word.
Copyright (c) 2001 by Alex Carreira
| Constructor Summary | |
TwosComplementSlice(java.lang.String instanceName,
com.xilinx.JBits.CoreTemplate.Net clk,
com.xilinx.JBits.CoreTemplate.Net control,
com.xilinx.JBits.CoreTemplate.Net sampleIn,
com.xilinx.JBits.CoreTemplate.Net complementOut)
Creates an instance of a TwosComplementSlice. |
|
| Method Summary | |
static int |
calcHeight()
Compute and return the height of a TwosComplementSlice core. |
static int |
calcHeightGran()
Compute and return the vertical granularity of a TwosComplementSlice core. |
static int |
calcWidth()
Compute and return the width of a TwosComplementSlice core. |
static int |
calcWidthGran()
Compute and return the horizontal granularity of a TwosComplementSlice core. |
void |
connect()
Connect the internal nets of the core. |
static int |
getCtrlFO()
|
static int |
getSerDataFO()
|
void |
implement()
Implement this TwosComplementSlice instance. |
| Methods inherited from class com.xilinx.JBits.CoreTemplate.RTPCore |
addChild,
addChild,
addFixedResource,
calcAbsoluteOffset,
getChild,
getFixedResource,
getHeight,
getHeight,
getHeightGran,
getHierName,
getName,
getParent,
getPort,
getPort,
getRelativeOffset,
getTag,
getWidth,
getWidth,
getWidthGran,
isProtected,
newBus,
newBus,
newInputPort,
newInputPort,
newNet,
newNet,
newNet,
newNoConnectBus,
newOutputPort,
newOutputPort,
newPort,
newPort,
numChildren,
numFixedResources,
numPorts,
removeDescendants,
toString |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public TwosComplementSlice(java.lang.String instanceName,
com.xilinx.JBits.CoreTemplate.Net clk,
com.xilinx.JBits.CoreTemplate.Net control,
com.xilinx.JBits.CoreTemplate.Net sampleIn,
com.xilinx.JBits.CoreTemplate.Net complementOut)
throws com.xilinx.JBits.CoreTemplate.CoreException
instanceName - The name assigned to this TwosComplementSlice instance.clk - The external net to be connected to the clock port.control - The external net to be connected to the control port.sampleIn - The external net to be connected to the sample in port.complementOut - The external net to be connected to the complement out port.| Method Detail |
public static int calcHeightGran()
public static int calcWidthGran()
public static int calcHeight()
public static int calcWidth()
public static int getSerDataFO()
public static int getCtrlFO()
public final void implement()
throws com.xilinx.JBits.CoreTemplate.CoreException
public void connect()
throws com.xilinx.JBits.CoreTemplate.CoreException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||