Module fnpcell.internal.util.lyp_util

Functions

export_lyp

def export_lyp(TECH: Any, *, file: Union[str, os.PathLike],
                name_format: str = '{layer_name} {layer_no}.{datatype_no}')

Export lyp file .lyp

Usage:

lyp_file = Path(file).with_name("gpdk.lyp")
fp.export_lyp(TECH, file=lyp_file, name_format="{layer_name} {layer_no}.{datatype_no}")