public class ReplaceFrameData
extends Object
Constructor and Description |
---|
ReplaceFrameData() |
Modifier and Type | Method and Description |
---|---|
void |
extract(Bitstream b,
List<Integer> rows,
List<Integer> cols)
Extract "NO OP" bits from the given config rows and columns of the given bitstream.
|
void |
extractForExamplePlatform(Bitstream b)
Extract "NO OP" bits from the given bitstream according to the example platform.
|
void |
incTemplateDataRowIndex(int inc)
Increase row address of the "NO OP" bits by the number of row specified.
|
void |
load(String filename)
Load the "NO OP" frame data from a file.
|
static void |
main(String[] args) |
void |
replace(Bitstream b,
List<Integer> rows,
List<Integer> cols)
Replace "NO OP" bits to the given config rows and columns of the given bitstream.
|
void |
replaceForExamplePlatform(Bitstream b)
Replace "NO OP" bits on the bitstream according to the given example platform.
|
void |
save(String filename)
Save the "NO OP" frame data to a file
|
public void extractForExamplePlatform(Bitstream b)
b
- The bitstream to be replacedpublic void replaceForExamplePlatform(Bitstream b)
b
- The bitstream to be replacedpublic void extract(Bitstream b, List<Integer> rows, List<Integer> cols)
b
- The bitstream to be replacedrows
- The list of config rowscols
- The list of config colspublic void replace(Bitstream b, List<Integer> rows, List<Integer> cols)
b
- The bitstream to be replacedrows
- The list of config rowscols
- The list of config colspublic void save(String filename)
public void load(String filename)
public void incTemplateDataRowIndex(int inc)
inc
- The number of rows to incrementpublic static void main(String[] args)