piel.tools.openlane.v2#
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, creates a custom configuration according to the type of the digital logic implementation. |
Module Contents#
- get_all_designs_metrics_openlane_v2(output_directory: piel.types.PathTypes, target_prefix: str)[source]#
Returns a dictionary of all the metrics for all the designs in the output directory.
Usage:
- Parameters:
output_directory (PathTypes) – 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.PathTypes) dict[source]#
Read design metrics from OpenLane v2 run files.
- Parameters:
design_directory (PathTypes) – Design directory PATH.
- Returns:
Metrics dictionary.
- Return type:
dict
- run_openlane_flow(configuration: dict | None = None, design_directory: piel.types.PathTypes = '.', logic_implementation_type: piel.types.LogicImplementationType = 'combinatorial', parallel_asynchronous_run: bool = False, only_generate_flow_setup: bool = False)[source]#
Runs the OpenLane v2 flow, creates a custom configuration according to the type of the digital logic implementation.
- Parameters:
configuration (dict) – OpenLane configuration dictionary. If none is present it will default to the config.json file on the design_directory.
design_directory (PathTypes) – Design directory PATH.
parallel_asynchronous_run (bool) – Run the flow in parallel.
only_generate_flow_setup (bool) – Only generate the flow setup.
logic_implementation_type (LogicImplementationType) – Type of digital synthesis to determine the openlane build flow.
- Returns:
Flow