byucc.jhdl.platforms.util.readback
Interface NativeReadWriteBackInterface

All Superinterfaces:
NativeReadBackInterface

public interface NativeReadWriteBackInterface
extends NativeReadBackInterface

This interface must be implemented instead of NativeReadBackInterface for use with any writeback functionality.

Author:
Wes Landaker

Field Summary
static int RB_FAILURE
          Constant indicating the failure of an operation
static int RB_SUCCESS
          Constant indicating the success of an operation
 
Method Summary
 int nativeWriteBackPE(int peNum, byte[] bitstream)
          This method takes a core readback bitstream in a byte array format.
 
Methods inherited from interface byucc.jhdl.platforms.util.readback.NativeReadBackInterface
findJhdlCell, nativeReadBackPE
 

Field Detail

RB_FAILURE

public static final int RB_FAILURE
Constant indicating the failure of an operation

See Also:
Constant Field Values

RB_SUCCESS

public static final int RB_SUCCESS
Constant indicating the success of an operation

See Also:
Constant Field Values
Method Detail

nativeWriteBackPE

public int nativeWriteBackPE(int peNum,
                             byte[] bitstream)
This method takes a core readback bitstream in a byte array format. The byte array must be allocated before being passed in as a parameter.

Parameters:
peNum - This indicates the number of the PE which is to be readback. The numbering of PEs used by the ReadBackManager and ReadBackData objects starts with zero.
bitstream - The array of bytes which is filled with the bitstream information. The length of the bitstream array is determined by the ReadBackData object via the ReadBackPEType object retrieved via nativePEType.
Returns:
The method should return RB_FAILURE if the operation failed, otherwise, RB_SUCCESS should be returned.


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.