Skip to content

Commit

Permalink
add .LIB for asap7
Browse files Browse the repository at this point in the history
  • Loading branch information
gadfort committed Feb 21, 2024
1 parent 6960c86 commit 7a154c1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
9 changes: 2 additions & 7 deletions lambdapdk/asap7/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,8 @@ def setup(chip):
pdk.set('pdk', process, 'maxlayer', stackup, 'M7')

# Device models
# TODO: need to resolve corners
chip.set('pdk', process, 'devmodel', 'xyce', 'spice_FF', stackup,
pdkdir + '/spice/hspice/7nm_FF_160803.pm')
chip.set('pdk', process, 'devmodel', 'xyce', 'spice_SS', stackup,
pdkdir + '/spice/hspice/7nm_SS_160803.pm')
chip.set('pdk', process, 'devmodel', 'xyce', 'spice_TT', stackup,
pdkdir + '/spice/hspice/7nm_TT_160803.pm')
pdk.set('pdk', process, 'devmodel', 'xyce', 'hspice', stackup,
pdkdir + '/spice/hspice/7nm.lib')

# Klayout setup file
pdk.set('pdk', process, 'layermap', 'klayout', 'def', 'klayout', stackup,
Expand Down
11 changes: 11 additions & 0 deletions lambdapdk/asap7/base/spice/hspice/7nm.lib
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.LIB TT
.INCLUDE "7nm_TT_160803.pm"
.ENDL TT

.LIB FF
.INCLUDE "7nm_FF_160803.pm"
.ENDL FF

.LIB SS
.INCLUDE "7nm_SS_160803.pm"
.ENDL SS
8 changes: 8 additions & 0 deletions lambdapdk/gf180/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ def setup(chip):
pdk.set('pdk', process, 'display', 'klayout', stackup,
pdkdir + '/setup/klayout/tech/gf180mcu.lyp')

# Device models
pdk.set('pdk', process, 'devmodel', 'xyce', 'spice', stackup,
pdkdir + '/spice/xyce/design.xyce')
pdk.set('pdk', process, 'devmodel', 'xyce', 'spice', stackup,
pdkdir + '/spice/xyce/sm141064.xyce')
pdk.set('pdk', process, 'devmodel', 'xyce', 'spice', stackup,
pdkdir + '/spice/xyce/smbb000149.xyce')

# Openroad global routing grid derating
openroad_layer_adjustments = {
'Metal1': 0.0,
Expand Down

0 comments on commit 7a154c1

Please sign in to comment.