public class Params
extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
RW_COPY_EDNS_ON_DCP_WRITE
Flag to indicate RapidWright should copy *.edn (encrypted cell netlist files)
to the same directory where the DCP is being written to.
|
static String |
RW_COPY_EDNS_ON_DCP_WRITE_NAME |
static long |
RW_DCP_EDIF_EXTRACT_THRESHOLD_BYTES
Minimum uncompressed EDIF size in bytes where RapidWright should extract a
readable EDIF embedded inside a DCP before parsing.
|
static String |
RW_DCP_EDIF_EXTRACT_THRESHOLD_BYTES_NAME
Minimum uncompressed EDIF size in bytes where RapidWright should extract a
readable EDIF embedded inside a DCP before parsing.
|
static String |
RW_DCP_EDIF_TEMP_DIR
Directory where RapidWright should temporarily extract readable EDIF files
embedded inside DCPs before parsing, or null if unset.
|
static String |
RW_DCP_EDIF_TEMP_DIR_NAME
Directory where RapidWright should temporarily extract readable EDIF files
embedded inside DCPs before parsing.
|
static boolean |
RW_DECOMPRESS_GZIPPED_EDIF_TO_DISK
Flag to have RapidWright decompress gzipped EDIF files to disk prior to
parsing.
|
static String |
RW_DECOMPRESS_GZIPPED_EDIF_TO_DISK_NAME |
static boolean |
RW_DISABLE_WRITING_ADV_FLOW_DCPS
Flag to disable RapidWright from writing any DCPs that target Vivado's
Advanced Flow (starting in Vivado 2024.2).
|
static String |
RW_DISABLE_WRITING_ADV_FLOW_DCPS_NAME |
static boolean |
RW_WRITE_DCP_2024_1
Flag to have RapidWright write out DCPs such that they will only be readable
in Vivado 2024.1 and later.
|
static String |
RW_WRITE_DCP_2024_1_NAME |
static int |
RW_ZSTD_COMPRESSION_LEVEL
ZStandard compression effort level to use when compressing files.
|
static String |
RW_ZSTD_COMPRESSION_LEVEL_NAME |
static int |
RW_ZSTD_DEFAULT_COMPRESSION_LEVEL |
| Constructor and Description |
|---|
Params() |
| Modifier and Type | Method and Description |
|---|---|
static Integer |
getParamIntValue(String key)
Gets the integer value of the provided parameter name.
|
static Long |
getParamLongValue(String key)
Gets the long value of the provided parameter name.
|
static int |
getParamOrDefaultIntSetting(String key,
int defaultValue)
Checks the parameter value of the provided key.
|
static long |
getParamOrDefaultLongSetting(String key,
long defaultValue)
Checks the parameter value of the provided key.
|
static String |
getParamValue(String key)
Gets the string value of the provided parameter name.
|
static boolean |
isParamSet(String key)
Checks if the named RapidWright parameter is set via an environment variable
or by a JVM parameter of the same name.
|
static boolean |
isSet(String value)
Checks if a parameter is set by examining the provided value.
|
public static String RW_DECOMPRESS_GZIPPED_EDIF_TO_DISK_NAME
public static String RW_ZSTD_COMPRESSION_LEVEL_NAME
public static int RW_ZSTD_DEFAULT_COMPRESSION_LEVEL
public static String RW_WRITE_DCP_2024_1_NAME
public static String RW_DISABLE_WRITING_ADV_FLOW_DCPS_NAME
public static String RW_COPY_EDNS_ON_DCP_WRITE_NAME
public static String RW_DCP_EDIF_TEMP_DIR_NAME
public static String RW_DCP_EDIF_EXTRACT_THRESHOLD_BYTES_NAME
public static boolean RW_DECOMPRESS_GZIPPED_EDIF_TO_DISK
public static int RW_ZSTD_COMPRESSION_LEVEL
public static boolean RW_WRITE_DCP_2024_1
public static boolean RW_DISABLE_WRITING_ADV_FLOW_DCPS
public static boolean RW_COPY_EDNS_ON_DCP_WRITE
public static String RW_DCP_EDIF_TEMP_DIR
public static long RW_DCP_EDIF_EXTRACT_THRESHOLD_BYTES
public static boolean isParamSet(String key)
key - Name of the global RapidWright parameterParams.isSet(String)),
false otherwisepublic static boolean isSet(String value)
value - An environment variable or JVM parameter valuepublic static Integer getParamIntValue(String key)
key - Name of the system parameter to get.public static Long getParamLongValue(String key)
key - Name of the system parameter to get.public static String getParamValue(String key)
key - Name of the system parameter to get.public static int getParamOrDefaultIntSetting(String key,
int defaultValue)
key - Name of the system parameter to check.defaultValue - The default value to return if the paramter is not set.public static long getParamOrDefaultLongSetting(String key,
long defaultValue)
key - Name of the system parameter to check.defaultValue - The default value to return if the parameter is not set.