-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from gdsfactory/multi_pdk
make CORNERSTONE package support all the different pdks
- Loading branch information
Showing
426 changed files
with
2,889 additions
and
1,999 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1 @@ | ||
from gdsfactory.cross_section import get_cross_sections | ||
from gdsfactory.get_factories import get_cells | ||
from gdsfactory.pdk import Pdk | ||
|
||
from cspdk import cells, config, tech | ||
from cspdk.cells import _bend, _straight, _taper | ||
from cspdk.config import PATH | ||
from cspdk.models import get_models | ||
from cspdk.tech import LAYER, LAYER_STACK, LAYER_VIEWS, routing_strategies | ||
|
||
_models = get_models() | ||
_cells = get_cells(cells) | ||
_cells.update( | ||
{ | ||
"_straight": _straight, | ||
"_bend": _bend, | ||
"_taper": _taper, | ||
} | ||
) | ||
_cross_sections = get_cross_sections(tech) | ||
PDK = Pdk( | ||
name="cornerstone", | ||
cells=_cells, | ||
cross_sections=_cross_sections, | ||
layers=dict(LAYER), | ||
layer_stack=LAYER_STACK, | ||
layer_views=LAYER_VIEWS, | ||
models=_models, | ||
routing_strategies=routing_strategies, | ||
) | ||
PDK.activate() | ||
|
||
__all__ = [ | ||
"LAYER", | ||
"LAYER_STACK", | ||
"LAYER_VIEWS", | ||
"PATH", | ||
"cells", | ||
"config", | ||
"tech", | ||
] | ||
__version__ = "0.7.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
from gdsfactory.cross_section import get_cross_sections | ||
from gdsfactory.get_factories import get_cells | ||
from gdsfactory.pdk import Pdk | ||
|
||
from cspdk.si220 import cells, config, tech | ||
from cspdk.si220.cells import _bend, _straight, _taper | ||
from cspdk.si220.config import PATH | ||
from cspdk.si220.models import get_models | ||
from cspdk.si220.tech import LAYER, LAYER_STACK, LAYER_VIEWS, routing_strategies | ||
|
||
_models = get_models() | ||
_cells = get_cells(cells) | ||
_cells.update( | ||
{ | ||
"_straight": _straight, | ||
"_bend": _bend, | ||
"_taper": _taper, | ||
} | ||
) | ||
_cross_sections = get_cross_sections(tech) | ||
PDK = Pdk( | ||
name="cornerstone_si220", | ||
cells=_cells, | ||
cross_sections=_cross_sections, | ||
layers=dict(LAYER), | ||
layer_stack=LAYER_STACK, | ||
layer_views=LAYER_VIEWS, | ||
models=_models, | ||
routing_strategies=routing_strategies, | ||
) | ||
PDK.activate() | ||
|
||
__all__ = [ | ||
"LAYER", | ||
"LAYER_STACK", | ||
"LAYER_VIEWS", | ||
"PATH", | ||
"cells", | ||
"config", | ||
"tech", | ||
] |
Oops, something went wrong.