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