|
14 | 14 | from coriolis.helpers.technology import setEnclosures
|
15 | 15 | from coriolis.helpers.overlay import CfgCache, UpdateSession
|
16 | 16 |
|
| 17 | +from .arrakeen import c4m_ihpsg13g2, c4m_tech, c4m_export |
| 18 | + |
| 19 | + |
17 | 20 | __all__ = ["setup"]
|
18 | 21 |
|
| 22 | + |
19 | 23 | def createRL(tech, net, layer, coords):
|
20 | 24 | coords = [Point(u(x), u(y)) for x,y in coords]
|
21 | 25 | Rectilinear.create(net, tech.getLayer(layer), coords)
|
@@ -39071,7 +39075,19 @@ def _load():
|
39071 | 39075 | return lib
|
39072 | 39076 |
|
39073 | 39077 | def setup():
|
39074 |
| - lib = _load() |
| 39078 | + from c4m.flexcell import coriolis_export_spec |
| 39079 | + |
| 39080 | + af = CRL.AllianceFramework.get() |
| 39081 | + db = DataBase.getDB() |
| 39082 | + tech = db.getTechnology() |
| 39083 | + rootlib = db.getRootLibrary() |
| 39084 | + |
| 39085 | + lib = c4m_export.library2library( |
| 39086 | + lib=c4m_ihpsg13g2.stdcell3v3lib, |
| 39087 | + pin_prim=c4m_tech.primitives["Metal1"], pin_dir="vertical", |
| 39088 | + excl_cells=("Gallery",), spec=coriolis_export_spec, |
| 39089 | + hurtech=tech, hurrootlib=rootlib, |
| 39090 | + ) |
39075 | 39091 | _routing()
|
39076 | 39092 |
|
39077 | 39093 | spiceDir = Path(__file__).parent / 'libs.ref' / 'StdCell3V3Lib' / 'spice'
|
|
0 commit comments