From 481bbaaf2d0465786845377d5495f7555ea25c21 Mon Sep 17 00:00:00 2001 From: Joaquin Matres <4514346+joamatab@users.noreply.github.com> Date: Mon, 4 Mar 2024 22:26:24 -0800 Subject: [PATCH] simpler __init__ --- sky130/__init__.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sky130/__init__.py b/sky130/__init__.py index b956b82d3..0e87d5c3f 100644 --- a/sky130/__init__.py +++ b/sky130/__init__.py @@ -1,12 +1,10 @@ """sky130 - skywater gdsfactory pdk""" import pathlib -from gdsfactory.config import logger from gdsfactory.get_factories import get_cells from gdsfactory.pdk import Pdk from sky130 import components, pcells -from sky130.config import PATH, module_path from sky130.layers import LAYER, LAYER_STACK, LAYER_VIEWS from sky130.tech import cross_sections @@ -17,16 +15,13 @@ name="sky130", cells=cells, cross_sections=cross_sections, - layers=LAYER.dict(), + layers=dict(LAYER), layer_stack=LAYER_STACK, layer_views=LAYER_VIEWS, - sparameters_path=PATH.sparameters, ) PDK.register_cells_yaml(dirpath=pathlib.Path(__file__).parent.absolute()) PDK.activate() -logger.info(f"load sky130 PDK {__version__!r} installed at {str(module_path)!r}") - __all__ = ["cells", "PDK"] if __name__ == "__main__":