public class ImplGuide
extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BLOCK |
static String |
CLOCK |
static String |
END_BLOCK |
static String |
END_BLOCKS |
static String |
IMPL |
static String |
INST |
static String |
PART |
static String |
SUB_IMPL |
static String |
TCL |
Constructor and Description |
---|
ImplGuide() |
Modifier and Type | Method and Description |
---|---|
BlockGuide |
addBlock(BlockGuide blockGuide)
Adds a block to this implementation guide
|
BlockGuide |
createBlockGuide(String cacheID)
Creates a new block guide with the associated cache ID and
adds it to the impl guide.
|
BlockGuide |
getBlock(String id) |
Set<String> |
getBlockNames() |
Collection<BlockGuide> |
getBlocks() |
Device |
getDevice() |
Part |
getPart() |
boolean |
hasBlock(String id) |
static void |
main(String[] args) |
static ImplGuide |
readImplGuide(String fileName) |
BlockGuide |
removeBlock(String id) |
void |
removeBlocksWithoutPBlocks() |
void |
setDevice(Device device) |
void |
setPart(Part part) |
void |
writeImplGuide(String fileName) |
public static final String PART
public static final String BLOCK
public static final String IMPL
public static final String SUB_IMPL
public static final String INST
public static final String CLOCK
public static final String TCL
public static final String END_BLOCK
public static final String END_BLOCKS
public static ImplGuide readImplGuide(String fileName)
public void writeImplGuide(String fileName)
public Part getPart()
public void setPart(Part part)
part
- the part to setpublic Device getDevice()
public void setDevice(Device device)
device
- the device to setpublic Collection<BlockGuide> getBlocks()
public BlockGuide addBlock(BlockGuide blockGuide)
blockGuide
- The block to add.public BlockGuide createBlockGuide(String cacheID)
cacheID
- The Vivado cache ID for the block to be createdpublic Set<String> getBlockNames()
public BlockGuide getBlock(String id)
public BlockGuide removeBlock(String id)
public void removeBlocksWithoutPBlocks()
public boolean hasBlock(String id)
public static void main(String[] args)