Skip to content

Commit

Permalink
simpler __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
joamatab committed Mar 5, 2024
1 parent e111b9f commit 481bbaa
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions sky130/__init__.py
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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__":
Expand Down

0 comments on commit 481bbaa

Please sign in to comment.