bag.verification.virtuoso
This module handles exporting schematic/layout from Virtuoso.
Module Contents
Classes
the base Checker class for Virtuoso. |
Functions
|
- class bag.verification.virtuoso.VirtuosoChecker(tmp_dir: str, root_dir: Dict[str, str], template: Dict[str, str], env_vars: Dict[str, Dict[str, str]], link_files: Dict[str, List[str]], params: Dict[str, Dict[str, Any]], max_workers: int = 0, source_added_file: str = '', import_ref_lib: str = '', cancel_timeout_ms: int = 10000, enable_color: bool = False, **kwargs: Dict[str, Any])[source]
Bases:
bag.verification.base.SubProcessChecker
,abc.ABC
the base Checker class for Virtuoso.
This class implement layout/schematic export and import procedures.
- Parameters:
tmp_dir (str) – temporary directory to save files in.
root_dir (Dict[str, str]) – dictionary of root run directories.
template (Dict[str, str]) – dictionary of SVRF jinja template files.
env_vars (Dict[str, Dict[str, str]]) – dictionary of environment variables.
params (Dict[str, Dict[str, Any]]) – dictionary of default flow parameters.
max_workers (int) – maximum number of sub-processes BAG can launch.
source_added_file (str) – the Calibre source.added file location. Environment variable is supported. If empty (default), this is not configured.
import_ref_lib (str) – the import reference libraries list file location. Environment variable is supported. If empty (default), this is not configured.
cancel_timeout_ms (int) – cancel timeout in milliseconds.
enable_color (bool) – True to enable coloring in GDS export.
- setup_job(mode: str, lib_name: str, cell_name: str, layout: Optional[str], netlist: Optional[str], lay_view: str, sch_view: str, user_params: Optional[Dict[str, Any]], run_dir_override: Union[str, pathlib.Path]) Tuple[List[bag.verification.base.FlowInfo], pathlib.Path, Optional[Dict[str, str]], Dict[str, Any], Dict[str, Any]] [source]
- setup_export_layout(lib_name: str, cell_name: str, out_file: str, view_name: str = 'layout', params: Optional[Dict[str, Any]] = None) bag.verification.base.ProcInfo [source]
This method performs any setup necessary to export layout.
- Parameters:
- Returns:
args (Union[str, Sequence[str]]) – command to run, as string or list of string arguments.
log (str) – log file name.
env (Optional[Dict[str, str]]) – environment variable dictionary. None to inherit from parent.
cwd (Optional[str]) – working directory path. None to inherit from parent.
- setup_import_layout(in_file: str, lib_name: str, cell_name: str, view_name: str = 'layout', params: Optional[Dict[str, Any]] = None) bag.verification.base.ProcInfo [source]
This method performs any setup necessary to import layout.
- Parameters:
- Returns:
args (Union[str, Sequence[str]]) – command to run, as string or list of string arguments.
log (str) – log file name.
env (Optional[Dict[str, str]]) – environment variable dictionary. None to inherit from parent.
cwd (Optional[str]) – working directory path. None to inherit from parent.
- setup_export_schematic(lib_name: str, cell_name: str, out_file: str, view_name: str = 'schematic', params: Optional[Dict[str, Any]] = None) bag.verification.base.ProcInfo [source]
This method performs any setup necessary to export schematic.
- Parameters:
- Returns:
args (Union[str, Sequence[str]]) – command to run, as string or list of string arguments.
log (str) – log file name.
env (Optional[Dict[str, str]]) – environment variable dictionary. None to inherit from parent.
cwd (Optional[str]) – working directory path. None to inherit from parent.