public class BlockCreator
extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
BC_DEBUG |
static String |
BLOCK_CACHE_PATH |
static String |
DONE_FILE_PATTERN |
static String |
DONE_FILE_PREFIX |
static String |
IMPL_RUN_SCRIPT_NAME |
static String |
METADATA_FILE_SUFFIX |
static String |
ROUTED_DCP_SUFFIX |
static String |
ROUTED_EDIF_SUFFIX |
static String |
ROUTED_XPN_SUFFIX |
static String |
USED_PBLOCK_FILE_SUFFIX |
Constructor and Description |
---|
BlockCreator() |
Modifier and Type | Method and Description |
---|---|
static ModuleImpls |
createBlock(String routedDCPFileName,
String metadataFileName,
EDIFNetlist e,
int blockImplCount,
String cellInstName) |
static byte[] |
createChecksum(String filename) |
static void |
createDoneFile(String fileName,
BlockGuide bg) |
static Job |
createImplRun(String optDcpFileName,
PBlock pblock,
int implIndex,
BlockGuide blockGuide)
Launches an independent run of an area constrained place and route job
|
static ModuleImpls |
createOrRetrieveBlock(String edifFileName,
String routedDCPFileName,
String cellInstanceName,
String xciFileName,
int blockImplCount)
Relies on the cache to load or create from the prepared design the appropriate module based on the input files.
|
static String |
getMD5Checksum(String filename) |
static String |
getUniqueFileName(String xciFileName) |
static void |
implementBlocks(HashMap<String,String> ipNames,
String cacheDir,
ImplGuide implHelper,
Device dev) |
static void |
main(String[] args) |
static ModuleImpls |
readStoredModule(String commonFileName,
String cellInstanceName)
Read the stored module from disk.
|
public static final String BLOCK_CACHE_PATH
public static final String ROUTED_XPN_SUFFIX
public static final String ROUTED_DCP_SUFFIX
public static final String METADATA_FILE_SUFFIX
public static final String ROUTED_EDIF_SUFFIX
public static final String IMPL_RUN_SCRIPT_NAME
public static final String USED_PBLOCK_FILE_SUFFIX
public static final boolean BC_DEBUG
public static final String DONE_FILE_PREFIX
public static final String DONE_FILE_PATTERN
public static String getUniqueFileName(String xciFileName)
public static ModuleImpls createBlock(String routedDCPFileName, String metadataFileName, EDIFNetlist e, int blockImplCount, String cellInstName)
public static byte[] createChecksum(String filename)
public static String getMD5Checksum(String filename)
public static ModuleImpls readStoredModule(String commonFileName, String cellInstanceName)
commonFileName
- This is the root name of the two files involved that store the module information.public static void implementBlocks(HashMap<String,String> ipNames, String cacheDir, ImplGuide implHelper, Device dev)
public static void createDoneFile(String fileName, BlockGuide bg)
public static Job createImplRun(String optDcpFileName, PBlock pblock, int implIndex, BlockGuide blockGuide)
optDcpFileName
- The name of the input DCP to start withpblock
- The pblock to use to constrain the blockimplIndex
- The implementation index for this blockpublic static ModuleImpls createOrRetrieveBlock(String edifFileName, String routedDCPFileName, String cellInstanceName, String xciFileName, int blockImplCount)
edifFileName
- The EDIF file name (logical netlist)routedDCPFileName
- The routed DCP file namecellInstanceName
- The name of the cell instance (also the IP name in IPI)xciFileName
- The XCI file name (attributes to the IP block that indicate its uniqueness)blockImplCount
- The number of implementations provided for this modulepublic static void main(String[] args)