scripts/klayout/open_design_cmd.py
def open_design(input_lef, pdk_root, pdk, input_def):
    """
    Opens a design in Klayout.
    """
    dir = os.path.dirname(__file__)
    klayout_script_path = os.path.join(dir, "open_design.py")
    env = os.environ.copy()

    env["EXPLICITLY_LISTED_LEFS"] = input_lef
    env["PDK_ROOT"] = pdk_root
    env["PDK"] = pdk
    env["LAYOUT"] = input_def

    subprocess.check_call(
        [
            "klayout",
            "-rm",
            klayout_script_path,
        ],
        env=env,
    )

    Opens a design in Klayout.
    
Opens a design in Klayout.
Opens a design in Klayout .
def open_design(input_lef, pdk_root, pdk, input_def):
    dir = os.path.dirname(__file__)
    klayout_script_path = os.path.join(dir, "open_design.py")
    env = os.environ.copy()
    env["EXPLICITLY_LISTED_LEFS"] = input_lef
    env["PDK_ROOT"] = pdk_root
    env["PDK"] = pdk
    env["LAYOUT"] = input_def
    subprocess.check_call(
        [
            "klayout",
            "-rm",
            klayout_script_path,
        ],
        env=env,
    )
def open_design ( input_lef , pdk_root , pdk , input_def ) : dir = os . path . dirname ( __file__ ) klayout_script_path = os . path . join ( dir , "open_design.py" ) env = os . environ . copy ( ) env [ "EXPLICITLY_LISTED_LEFS" ] = input_lef env [ "PDK_ROOT" ] = pdk_root env [ "PDK" ] = pdk env [ "LAYOUT" ] = input_def subprocess . check_call ( [ "klayout" , "-rm" , klayout_script_path , ] , env = env , )
Opens a design in Klayout.
Opens a design in Klayout .
"""
    Opens a design in Klayout.
    """
input_lef
pdk_root
pdk
input_def