public class BitstreamHeader
extends Object
Modifier and Type | Field and Description |
---|---|
static byte[] |
BUS_WIDTH_AUTO_DETECT1 |
static byte[] |
BUS_WIDTH_AUTO_DETECT2 |
static byte[] |
DUMMY_WORD |
static byte[] |
INIT_HEADER |
static byte[] |
SYNC_WORD
Common SYNC word, terminates a header
|
Modifier and Type | Method and Description |
---|---|
String |
getDate()
Gets the recorded 'date created' from the bitstream header
|
String |
getDesignName()
Gets the design name as stored in the bitstream header
|
String |
getOptions()
Gets the options used as stored in the bitstream header
|
String |
getPartName()
Gets the part name as stored in the bitstream header
|
String |
getTime()
Gets the recorded 'time created' time stamp as stored in the bitstream header
|
boolean |
isSeries7()
Convenience method to check if this bitstream targets a Series 7 device
|
void |
setDate(String date)
Sets the recorded 'date created' in the bitstream header
|
void |
setDesignName(String designName)
Gets the design name as stored in the bitstream header
|
void |
setOptions(String options)
Sets the options used as stored in the bitstream header
|
void |
setPartName(String partName)
Sets the part name as stored in the bitstream header
|
void |
setTime(String time)
Sets the recorded 'time created' time stamp as stored in the bitstream header
|
public static final byte[] SYNC_WORD
public static final byte[] INIT_HEADER
public static final byte[] DUMMY_WORD
public static final byte[] BUS_WIDTH_AUTO_DETECT1
public static final byte[] BUS_WIDTH_AUTO_DETECT2
public boolean isSeries7()
public String getDesignName()
public String getOptions()
public void setDesignName(String designName)
designName
- The new design namepublic void setOptions(String options)
options
- The desired option string to setpublic String getPartName()
public void setPartName(String partName)
partName
- The desired part namepublic String getDate()
public void setDate(String date)
date
- The new date to setpublic String getTime()
public void setTime(String time)
time
- the desired 'time created' time stamp to set