piel.tools.openlane.v2
#
Module Contents#
Functions#
|
Returns a dictionary of all the metrics for all the designs in the output directory. |
|
Read design metrics from OpenLane v2 run files. |
|
Runs the OpenLane v2 flow. |
- get_all_designs_metrics_openlane_v2(output_directory: piel.types.piel_path_types, target_prefix: str)[source]#
Returns a dictionary of all the metrics for all the designs in the output directory.
Usage:
- Parameters:
output_directory (piel_path_types) – The path to the output directory.
target_prefix (str) – The prefix of the designs to get the metrics for.
- Returns:
A dictionary of all the metrics for all the designs in the output directory.
- Return type:
dict
- read_metrics_openlane_v2(design_directory: piel.types.piel_path_types) dict [source]#
Read design metrics from OpenLane v2 run files.
- Parameters:
design_directory (piel_path_types) – Design directory PATH.
- Returns:
Metrics dictionary.
- Return type:
dict
- run_openlane_flow(configuration: dict | None = None, design_directory: piel.types.piel_path_types = '.', parallel_asynchronous_run: bool = False, only_generate_flow_setup: bool = False)[source]#
Runs the OpenLane v2 flow.
- Parameters:
configuration (dict) – OpenLane configuration dictionary. If none is present it will default to the config.json file on the design_directory.
design_directory (piel_path_types) – Design directory PATH.
parallel_asynchronous_run (bool) – Run the flow in parallel.
only_generate_flow_setup (bool) – Only generate the flow setup.
Returns: