tech
 scmos
end

version
 version 2001a
 description "SCMOS: Submit as technology.lambda.vendor: SCN3M_SUBM.40.HP [to process: HPcmos26g]"
end

planes
  well,w
  implant,i
  select,s
  active,a
  metal1,m1
  metal2,m2
  metal3,m3
  oxide,ox
  comment
  xp
  contact
  via1,v1
  via2,v2
  fill
end

types
  well  nwell,nw
  well  pwell,pw
  implant  n_field_implant,nfi
  implant  p_field_implant,pfi
  select  nselect,ns
  select  pselect,ps
  active  ntransistor,nfet
  active  ptransistor,pfet
  active  diffusion,diff
  active  transistor,fet
  active  ndiffusion,ndif,green
  active  pdiffusion,pdif,brown
  active  ndcontact,ndc
  active  pdcontact,pdc
  active  psubstratepdiff,pohmicdiff,pod,ppdiff,ppd,psd
  active  nsubstratendiff,nohmicdiff,nod,nndiff,nnd,nsd
  active  psubstratepcontact,pohmiccontact,poc,pwcontact,pwc,psc
  active  nsubstratencontact,nohmiccontact,noc,nwcontact,nwc,nsc
  active  polysilicon,red,poly,p
  active  polycontact,pcontact,polycut,pc
  contact  genericcontact,gcontact,gc
  metal1  metal1,m1,blue
  metal1  pseudo_rmetal1,prm1
  metal1  rmetal1,rm1
  metal1  fillm1,fm1
  metal1  m2contact,m2cut,m2c,via1,v1
  metal2  metal2,m2,purple
  metal2  pseudo_rmetal2,prm2
  metal2  rmetal2,rm2
  metal2  fillm2,fm2
  via1  gv1
  metal2  m3contact,m3cut,m3c,via2,v2
  metal2  m123contact,m123c
  metal3  metal3,m3,cyan
  metal3  pseudo_rmetal3,prm3
  metal3  rmetal3,rm3
  metal3  fillm3,fm3
  via2    gv2
  metal3  pad
  oxide  glass
  active  pseudo_rpoly,prp
  active  rpoly,rp
  active  pseudo_rndiffusion,prnd
  active  rndiffusion,rndiff,rnd
  active  pseudo_rpdiffusion,prpd
  active  rpdiffusion,rpdiff,rpd
  active  pseudo_rnwell,prnwell,prnw
  active  rnwell,rnw
  implant  filln,fn
  fill  filla,fa
  fill  fillb,fb
  active  fillp,fp
  active  fillapm,fapm
  xp  xp
  xp  m1p
  xp  m2p
  xp  m3p
  comment  comment
  comment  bb
end

contact
  pc  poly  metal1
  ndc  ndiff  metal1
  pdc  pdiff  metal1
  nsc  nsd  metal1
  psc  psd  metal1
  m2c  metal1  metal2
  m3c  metal2  metal3
  m123c  metal1  metal2  metal3
end

styles
 styletype  mos
  nwell  12
  pwell  13
  nfi  53
  pfi  54
  nselect  43
  pselect  44
  diff  25
  tran  2
  tran  4
  ndiff  2
  pdiff  4
  nsd  3
  psd  5
  nfet  6
  nfet  7
  pfet  8
  pfet  9
  ndc  2
  ndc  20
  ndc  32
  pdc  4
  pdc  20
  pdc  32
  nsc  3
  nsc  20
  nsc  32
  psc  5
  psc  20
  psc  32
  poly  1
  pcontact  1
  pcontact  20
  pcontact  32
  gc  32
  metal1  20
  rm1  20
  rm1  48
  prm1  48
  m1p  20
  m1p  34
  fm1  20
  fm1  34
  fp  1
  fp  34
  fa  32
  fb  45
  fb  34
  fn  45
  fn  34
  fapm  1
  fapm  20
  fapm  21
  fapm  34
  gv1  55
  m2contact  20
  m2contact  21
  m2contact  55
  metal2  21
  rm2  21
  rm2  48
  prm2  48
  m2p  21
  m2p  34
  fm2  21
  fm2  34
  gv2  56
  m3contact  21
  m3contact  22
  m3contact  56
  m123c  20
  m123c  21
  m123c  22
  m123c  55
  m123c  56
  metal3  22
  rm3  22
  rm3  48
  prm3  48
  m3p  22
  m3p  34
  fm3  22
  fm3  34
  pad  22
  pad  23
  pad  34
  pad  38
  glass  34
  xp  25
  xp  34
  rp  47
  rp  48
  prp  48
  rnd  2
  rnd  48
  prnd  48
  rpd  4
  rpd  53
  prpd  53
  rnw  12
  rnw  53
  prnw  54
  comment  45
  bb  32
  error_p  42
  error_s  42
  error_ps  42
  magnet  54
  rotate  57
  fence  59
end

compose
  compose  nfet  poly  ndiff
  compose  pfet  poly  pdiff
  paint  diff  nselect ndiff
  paint  diff  pselect pdiff
  compose  tran  poly  diff
  paint  tran  nselect nfet
  paint  tran  pselect pfet
  paint  psd ns  ndiff
  paint  nsd ps  pdiff
  paint  ndiff ps  psd
  paint  pdiff ns  nsd
  paint  pad  m1  pad
  paint  pad  m2  pad
  paint  pad  m2c  pad
  paint  pfi  nwell  nfi
  paint  nfi  pwell  pfi
  paint  ndc  nwell  pdc
  paint  nfet  nwell  pfet
  paint  ndiff  nwell  pdiff
  paint  psd  nwell  nsd
  paint  psc  nwell  nsc
  paint  pdc  pwell  ndc
  paint  pfet  pwell  nfet
  paint  pdiff  pwell  ndiff
  paint  nsd  pwell  psd
  paint  nsc  pwell  psc
  paint  pad  m3  pad
#CRE/CRM
  compose  rm1  prm1 m1
  compose  rm2  prm2 m2
  compose  rm3  prm3 m3
  compose  rp  prp poly
  compose  rnd  prnd ndiff
  compose  rpd  prpd pdiff
  paint  nwell  rnw space
  paint  nwell  prnw space
  paint poly fp fp
  paint m1 fm1 fm1
  paint m2 fm2 fm2
  paint m3 fm3 fm3
end

connect
  nwell,nsc/a,nsd  nwell,nsc/a,nsd
  pwell,psc/a,psd  pwell,psc/a,psd
  m1,fm1,fapm,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1  m1,fm1,fapm,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
  m2,fm2,fapm,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2  m2,fm2,fapm,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
  m3,fm3,fapm,m3c/m3,m123c/m3  m3,fm3,fapm,m3c/m3,m123c/m3
  ndiff,nsd,ndc/a,nsc/a,pdiff,psd,pdc/a,psc/a  ndiff,nsd,ndc/a,nsc/a,pdiff,psd,pdc/a,psc/a
  poly,fp,nfet,pfet,fet,fapm,pc/a  poly,fp,nfet,pfet,fet,fapm,pc/a
  gc  poly,fp,ndiff,pdiff,nsd,psd,m1,fm1,fapm,m2c/m1,m123c/m1
  gv1  m1,fm1,fapm,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2,fm2,fapm,m3c/m2,m123c/m2
  gv2  m2,fm2,fapm,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3,fm3,fapm
  pad  m1,fm1,m2,fm2,m3,fm3
  rm1  prm1
  rm2  prm2
  rm3  prm3
  rnw  prnw
  rp  prp
  rnd  prnd
  rpd  prpd
end

cifoutput

style  lambda=0.40(p)
 scalefactor  40 20

 layer CWN nwell,rnw
 bloat-or pdiff,rpd,pdc/a,pfet * 240
 bloat-or nsd,nsc/a * 120
 bloat-or nfi * 160
 grow 120
 shrink 120
 labels nwell,rnw
 calma 42 0

 layer CWP pwell
 bloat-or ndiff,rnd,ndc/a,nfet * 240
 bloat-or psd,psc/a * 120
 bloat-or pfi * 160
 grow 120
 shrink 120
 and-not CWN
 labels pwell
 calma 41 0

 templayer TNS ns

 templayer TPS ps

#we give priority to selects autogenerated around diffusions (vrs. ohmics)
#XDP = (pdiff*80) Or ps
#XDN = (ndiff*80) Or ns
#FSP = ((pdiff*80,psc*80) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*80,nsc*80) Or XDN And-Not FDP Or ns shrink-grow
#CSN = FSN
#CSP = FSP

#diffusion auto-nselect (will have priority)
 templayer XDN
 bloat-or ndiff,rnd,ndc/a * 80 psd,psc/a 0
#PEZ poly exclusion zone
 bloat-or nfet * 120
 or TNS

#diffusion auto-pselect (will have priority)
 templayer XDP
 bloat-or pdiff,rpd,pdc/a * 80 nsd,nsc/a 0
#PEZ poly exclusion zone
 bloat-or pfet * 120
 or TPS

#final pselect 
 templayer FSP
 bloat-or pdiff,rpd,pfet,psd,pdc/a,psc/a,pfet * 80 ndiff,rnd,ndc/a,nsd,nsc/a,nfet 0
 or XDP
#give diff nselect priority
 and-not XDN
 or TPS
 shrink 20
 grow 20
 grow 20
 shrink 20

#final nselect
 templayer FSN
 bloat-or ndiff,rnd,nfet,nsd,ndc/a,nsc/a,nfet * 80 pdiff,rpd,pdc/a,psd,psc/a,pfet 0
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 20
 grow 20
 grow 20
 shrink 20

 layer CSN FSN
 calma 45 0

 layer CSP FSP
 calma 44 0

 layer CAA diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,pfet,pfet,fet
 labels diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,pfet,pfet,fet
 calma 43 0

 layer CCA ndc/m1,nsc/m1
 squares 40 80 120
 calma 48 0

 layer CCA pdc/m1,psc/m1
 squares 40 80 120
 calma 48 0

 layer CPG poly,rp,nfet,pfet,fet,pc/a
 labels poly,rp,nfet,pfet,fet,pc/a
 calma 46 0

 layer CCP pc/m1
 squares 40 80 120
 calma 47 0

 layer CCC gc
 squares 0 80 120
 calma 25 0

 layer CV1 m2c/m1,m123c/m1
 squares 40 80 120
 calma 50 0

 layer CV1 gv1
 squares 0 80 120
 calma 50 0

 layer CV2 m3c/m2,m123c/m2
 squares 40 80 120
 calma 61 0

 layer CV2 gv2
 squares 0 80 120
 calma 61 0

 layer CM3 pad
 labels pad
  grow 20
 calma 62 0

 templayer XPAD1 pad
 shrink 240

 templayer XPAD2 XPAD1
 shrink 240

 layer CV2 XPAD1
 and-not XPAD2
 squares 40 80 120
 calma 61 0

 layer CM2 pad
 and-not XPAD2
 calma 51 0

 layer CV1 pad
 and-not XPAD1
 squares 40 80 120
 calma 50 0

 layer CM1 pad
 and-not XPAD2
 calma 49 0

 layer CM1 m1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 labels m1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 calma 49 0

 layer CM2 m2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 labels m2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 calma 51 0

 layer CMFP m1p
 labels m1p
 calma 81 0

 layer CMSP m2p
 labels m2p
 calma 82 0

 layer 100 fp
 labels fp
 calma 100 0

 layer 101 fm1
 labels fm1
 calma 101 0

 layer 102 fm2
 labels fm2
 calma 102 0

 layer 103 fm3
 labels fm3
 calma 103 0

 layer 109 fa
 or fb
 squares 0 200 160
 labels fa
 calma 109 0

 layer 119 fn
 calma 119 0

 layer 110 fapm
 labels fapm
 calma 110 0

# layer CPG fp
 layer CPG fp,fapm
 squares 0 200 160
 labels fp
 calma 46 0

# layer CM1 fm1
 layer CM1 fm1,fapm
 squares 0 200 160
 labels fm1
 calma 49 0

# layer CM2 fm2
 layer CM2 fm2,fapm

 squares 0 200 160
 labels fm2
 calma 51 0

# layer CM3 fm3
 layer CM3 fm3,fapm

 squares 0 200 160
 labels fm3
 calma 62 0

 layer CM3 m3,rm3,m3c/m3,m123c/m3
 labels m3,rm3,m3c/m3,m123c/m3
  grow 20
 calma 62 0

 layer CMTP m3p
 labels m3p
  grow 20
 calma 83 0

 layer COG pad
 shrink 600
 labels pad
 calma 52 0

 layer COG glass
 labels glass
 calma 52 0

 layer CFI nfi,pfi
 labels nfi,pfi
 calma 27 0

#CRE/CRM
 layer CRW rnw,prnw
 labels rnw,prnw
 calma 65 0
 layer CRG rp,prp
 labels rp,prp
 calma 67 0
 layer CRD rnd,rpd,prnd,prpd
 labels rnd,rpd,prnd,prpd
 calma 66 0
 layer CRE rnw,rp,rnd,rpd
 labels rnw,rp,rnd,rpd
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRT rm3,prm3
 labels rm3,prm3
  grow 20
 calma 73 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3
#CRE/CRM calma 70 0

 layer CX comment
 labels comment
 calma 63 0

 layer XP pad,xp
 labels pad,xp
 calma 26 0

style  fill-only
 scalefactor  40 20

 layer 100 fp
 calma 100 0

 layer 101 fm1
 calma 101 0

 layer 102 fm2
 calma 102 0

 layer 103 fm3
 calma 103 0

 layer 109 fa
 or fb
 calma 109 0

 layer 119 fn
 calma 119 0

style fapm-boxes

# this output style creates fill boxes automatically (to meet minimum
# density requirements for poly and metal layers) 5 microns outside of
# drawn layout IF: 1. you have a flattened version of your chip,
# 2. over which you paint the special fill layer 'fa', preferably with
# a size that is a multiple of 5 + n * (5 + 4), 3. set 'cif
# ostype fapm-boxes' and cif out to a file (this actually creates the
# fill boxes on cif/strm layer '110' using the magic 'squares'
# command), 4. cif in the resulting file (which creates boxes on magic
# layer 'fapm') and place this cell onto your chip (and verify absence
# of drc errors or shorts), then 5. cif out under your regular cif out
# style, where the 'fapm' layer creates fill boxes on poly and all
# metal layers.

 scalefactor  40 20

 templayer CRIT fapm,fn,diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,pfet,pfet,fet,poly,rp,nfet,pfet,fet,pc/a
 or fm1,m1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 or fm2,m2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 or fm3,m3,rm3,m3c/m3,m123c/m3
 or glass,pad
 grow 500
 and fa

 layer 110 fa
 squares 0 200 160
 and-not CRIT
 shrink 80
 grow 80
 or fapm
 labels fapm
 calma 110 0

style fapm-stripes
 scalefactor  40 20

# this output style creates the above layer 110 as stripes for reduced size
# HOWEVER it requires each 'fa' box to first be an exact multiple as above
# and then *replacing* the left side (1-lambda wide) stripe of each 'fa' box
# to be a 1-lambda wide layer 'fb' box -- else you won't get strips!

 templayer CRIT fapm,fn,diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,pfet,pfet,fet,poly,rp,nfet,pfet,fet,pc/a
 or fm1,m1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 or fm2,m2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 or fm3,m3,rm3,m3c/m3,m123c/m3
 or glass,pad
 grow 500
 and fa

 templayer FB fa
 or fb
 squares 0 200 160
 and-not CRIT

 layer 110 fa
 squares 0 200 160
 and-not CRIT
 or FB
 shrink 80
 grow 80
 or fapm
 labels fapm
 calma 110 0


style  lambda=0.40(cp)
 scalefactor  40 20

 layer CWN nwell,rnw
 bloat-or pdiff,rpd,pdc/a,pfet * 240
 bloat-or nsd,nsc/a * 120
 bloat-or nfi * 160
 grow 120
 shrink 120
 labels nwell,rnw
 calma 42 0

 layer CWP pwell
 bloat-or ndiff,rnd,ndc/a,nfet * 240
 bloat-or psd,psc/a * 120
 bloat-or pfi * 160
 grow 120
 shrink 120
 and-not CWN
 labels pwell
 calma 41 0

 templayer TNS ns

 templayer TPS ps

#we give priority to selects autogenerated around diffusions (vrs. ohmics)
#XDP = (pdiff*80) Or ps
#XDN = (ndiff*80) Or ns
#FSP = ((pdiff*80,psc*80) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*80,nsc*80) Or XDN And-Not FDP Or ns shrink-grow
#CSN = FSN
#CSP = FSP

#diffusion auto-nselect (will have priority)
 templayer XDN
 bloat-or ndiff,rnd,ndc/a * 80 psd,psc/a 0
#PEZ poly exclusion zone
 bloat-or nfet * 120
 or TNS

#diffusion auto-pselect (will have priority)
 templayer XDP
 bloat-or pdiff,rpd,pdc/a * 80 nsd,nsc/a 0
#PEZ poly exclusion zone
 bloat-or pfet * 120
 or TPS

#final pselect 
 templayer FSP
 bloat-or pdiff,rpd,pfet,psd,pdc/a,psc/a,pfet * 80 ndiff,rnd,ndc/a,nsd,nsc/a,nfet 0
 or XDP
#give diff nselect priority
 and-not XDN
 or TPS
 shrink 20
 grow 20
 grow 20
 shrink 20

#final nselect
 templayer FSN
 bloat-or ndiff,rnd,nfet,nsd,ndc/a,nsc/a,nfet * 80 pdiff,rpd,pdc/a,psd,psc/a,pfet 0
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 20
 grow 20
 grow 20
 shrink 20

 layer CSN FSN
 calma 45 0

 layer CSP FSP
 calma 44 0

 layer CAA diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,pfet,pfet,fet
 labels diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,pfet,pfet,fet
 calma 43 0

 layer CCC ndc/m1,nsc/m1
 squares 40 80 120
 calma 25 0

 layer CCC pdc/m1,psc/m1
 squares 40 80 120
 calma 25 0

 layer CPG poly,rp,nfet,pfet,fet,pc/a
 labels poly,rp,nfet,pfet,fet,pc/a
 calma 46 0

 layer CCC pc/m1
 squares 40 80 120
 calma 25 0

 layer CCC gc
 squares 0 80 120
 calma 25 0

 layer CV1 m2c/m1,m123c/m1
 squares 40 80 120
 calma 50 0

 layer CV1 gv1
 squares 0 80 120
 calma 50 0

 layer CV2 m3c/m2,m123c/m2
 squares 40 80 120
 calma 61 0

 layer CV2 gv2
 squares 0 80 120
 calma 61 0

 layer CM3 pad
 labels pad
  grow 20
 calma 62 0

 templayer XPAD1 pad
 shrink 240

 templayer XPAD2 XPAD1
 shrink 240

 layer CV2 XPAD1
 and-not XPAD2
 squares 40 80 120
 calma 61 0

 layer CM2 pad
 and-not XPAD2
 calma 51 0

 layer CV1 pad
 and-not XPAD1
 squares 40 80 120
 calma 50 0

 layer CM1 pad
 and-not XPAD2
 calma 49 0

 layer CM1 m1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 labels m1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 calma 49 0

 layer CM2 m2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 labels m2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 calma 51 0

 layer CMFP m1p
 labels m1p
 calma 81 0

 layer CMSP m2p
 labels m2p
 calma 82 0

 layer 100 fp
 labels fp
 calma 100 0

 layer 101 fm1
 labels fm1
 calma 101 0

 layer 102 fm2
 labels fm2
 calma 102 0

 layer 103 fm3
 labels fm3
 calma 103 0

 layer 109 fa
 or fb
 squares 0 200 160
 labels fa
 calma 109 0

 layer 119 fn
 calma 119 0

 layer 110 fapm
 labels fapm
 calma 110 0

# layer CPG fp
 layer CPG fp,fapm
 squares 0 200 160
 labels fp
 calma 46 0

# layer CM1 fm1
 layer CM1 fm1,fapm
 squares 0 200 160
 labels fm1
 calma 49 0

# layer CM2 fm2
 layer CM2 fm2,fapm

 squares 0 200 160
 labels fm2
 calma 51 0

# layer CM3 fm3
 layer CM3 fm3,fapm

 squares 0 200 160
 labels fm3
 calma 62 0

 layer CM3 m3,rm3,m3c/m3,m123c/m3
 labels m3,rm3,m3c/m3,m123c/m3
  grow 20
 calma 62 0

 layer CMTP m3p
 labels m3p
  grow 20
 calma 83 0

 layer COG pad
 shrink 600
 labels pad
 calma 52 0

 layer COG glass
 labels glass
 calma 52 0

 layer CFI nfi,pfi
 labels nfi,pfi
 calma 27 0

#CRE/CRM
 layer CRW rnw,prnw
 labels rnw,prnw
 calma 65 0
 layer CRG rp,prp
 labels rp,prp
 calma 67 0
 layer CRD rnd,rpd,prnd,prpd
 labels rnd,rpd,prnd,prpd
 calma 66 0
 layer CRE rnw,rp,rnd,rpd
 labels rnw,rp,rnd,rpd
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRT rm3,prm3
 labels rm3,prm3
  grow 20
 calma 73 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3
#CRE/CRM calma 70 0

 layer CX comment
 labels comment
 calma 63 0

 layer XP pad,xp
 labels pad,xp
 calma 26 0


style  lambda=0.40(c)
 scalefactor  40 20

 layer CWN nwell,rnw
 bloat-or pdiff,rpd,pdc/a,pfet * 240
 bloat-or nsd,nsc/a * 120
 bloat-or nfi * 160
 grow 120
 shrink 120
 labels nwell,rnw
 calma 42 0

 templayer TNS ns

 templayer TPS ps

#we give priority to selects autogenerated around diffusions (vrs. ohmics)
#XDP = (pdiff*80) Or ps
#XDN = (ndiff*80) Or ns
#FSP = ((pdiff*80,psc*80) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*80,nsc*80) Or XDN And-Not FDP Or ns shrink-grow
#CSN = FSN
#CSP = FSP

#diffusion auto-nselect (will have priority)
 templayer XDN
 bloat-or ndiff,rnd,ndc/a * 80 psd,psc/a 0
#PEZ poly exclusion zone
 bloat-or nfet * 120
 or TNS

#diffusion auto-pselect (will have priority)
 templayer XDP
 bloat-or pdiff,rpd,pdc/a * 80 nsd,nsc/a 0
#PEZ poly exclusion zone
 bloat-or pfet * 120
 or TPS

#final pselect 
 templayer FSP
 bloat-or pdiff,rpd,pfet,psd,pdc/a,psc/a,pfet * 80 ndiff,rnd,ndc/a,nsd,nsc/a,nfet 0
 or XDP
#give diff nselect priority
 and-not XDN
 or TPS
 shrink 20
 grow 20
 grow 20
 shrink 20

#final nselect
 templayer FSN
 bloat-or ndiff,rnd,nfet,nsd,ndc/a,nsc/a,nfet * 80 pdiff,rpd,pdc/a,psd,psc/a,pfet 0
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 20
 grow 20
 grow 20
 shrink 20

 layer CSN FSN
 calma 45 0

 layer CSP FSP
 calma 44 0

 layer CAA diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,pfet,pfet,fet
 labels diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,pfet,pfet,fet
 calma 43 0

 layer CCC ndc/m1,nsc/m1
 squares 40 80 120
 calma 25 0

 layer CCC pdc/m1,psc/m1
 squares 40 80 120
 calma 25 0

 layer CPG poly,rp,nfet,pfet,fet,pc/a
 labels poly,rp,nfet,pfet,fet,pc/a
 calma 46 0

 layer CCC pc/m1
 squares 40 80 120
 calma 25 0

 layer CCC gc
 squares 0 80 120
 calma 25 0

 layer CV1 m2c/m1,m123c/m1
 squares 40 80 120
 calma 50 0

 layer CV1 gv1
 squares 0 80 120
 calma 50 0

 layer CV2 m3c/m2,m123c/m2
 squares 40 80 120
 calma 61 0

 layer CV2 gv2
 squares 0 80 120
 calma 61 0

 layer CM3 pad
 labels pad
  grow 20
 calma 62 0

 templayer XPAD1 pad
 shrink 240

 templayer XPAD2 XPAD1
 shrink 240

 layer CV2 XPAD1
 and-not XPAD2
 squares 40 80 120
 calma 61 0

 layer CM2 pad
 and-not XPAD2
 calma 51 0

 layer CV1 pad
 and-not XPAD1
 squares 40 80 120
 calma 50 0

 layer CM1 pad
 and-not XPAD2
 calma 49 0

 layer CM1 m1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 labels m1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 calma 49 0

 layer CM2 m2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 labels m2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 calma 51 0

 layer CMFP m1p
 labels m1p
 calma 81 0

 layer CMSP m2p
 labels m2p
 calma 82 0

 layer 100 fp
 labels fp
 calma 100 0

 layer 101 fm1
 labels fm1
 calma 101 0

 layer 102 fm2
 labels fm2
 calma 102 0

 layer 103 fm3
 labels fm3
 calma 103 0

 layer 109 fa
 or fb
 squares 0 200 160
 labels fa
 calma 109 0

 layer 119 fn
 calma 119 0

 layer 110 fapm
 labels fapm
 calma 110 0

# layer CPG fp
 layer CPG fp,fapm
 squares 0 200 160
 labels fp
 calma 46 0

# layer CM1 fm1
 layer CM1 fm1,fapm
 squares 0 200 160
 labels fm1
 calma 49 0

# layer CM2 fm2
 layer CM2 fm2,fapm

 squares 0 200 160
 labels fm2
 calma 51 0

# layer CM3 fm3
 layer CM3 fm3,fapm

 squares 0 200 160
 labels fm3
 calma 62 0

 layer CM3 m3,rm3,m3c/m3,m123c/m3
 labels m3,rm3,m3c/m3,m123c/m3
  grow 20
 calma 62 0

 layer CMTP m3p
 labels m3p
  grow 20
 calma 83 0

 layer COG pad
 shrink 600
 labels pad
 calma 52 0

 layer COG glass
 labels glass
 calma 52 0

 layer CFI nfi,pfi
 labels nfi,pfi
 calma 27 0

#CRE/CRM
 layer CRW rnw,prnw
 labels rnw,prnw
 calma 65 0
 layer CRG rp,prp
 labels rp,prp
 calma 67 0
 layer CRD rnd,rpd,prnd,prpd
 labels rnd,rpd,prnd,prpd
 calma 66 0
 layer CRE rnw,rp,rnd,rpd
 labels rnw,rp,rnd,rpd
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRT rm3,prm3
 labels rm3,prm3
  grow 20
 calma 73 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3
#CRE/CRM calma 70 0

 layer CX comment
 labels comment
 calma 63 0

 layer XP pad,xp
 labels pad,xp
 calma 26 0


style  lambda=0.40()
 scalefactor  40 20

 layer CWN nwell,rnw
 bloat-or pdiff,rpd,pdc/a,pfet * 240
 bloat-or nsd,nsc/a * 120
 bloat-or nfi * 160
 grow 120
 shrink 120
 labels nwell,rnw
 calma 42 0

 templayer TNS ns

 templayer TPS ps

#we give priority to selects autogenerated around diffusions (vrs. ohmics)
#XDP = (pdiff*80) Or ps
#XDN = (ndiff*80) Or ns
#FSP = ((pdiff*80,psc*80) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*80,nsc*80) Or XDN And-Not FDP Or ns shrink-grow
#CSN = FSN
#CSP = FSP

#diffusion auto-nselect (will have priority)
 templayer XDN
 bloat-or ndiff,rnd,ndc/a * 80 psd,psc/a 0
#PEZ poly exclusion zone
 bloat-or nfet * 120
 or TNS

#diffusion auto-pselect (will have priority)
 templayer XDP
 bloat-or pdiff,rpd,pdc/a * 80 nsd,nsc/a 0
#PEZ poly exclusion zone
 bloat-or pfet * 120
 or TPS

#final pselect 
 templayer FSP
 bloat-or pdiff,rpd,pfet,psd,pdc/a,psc/a,pfet * 80 ndiff,rnd,ndc/a,nsd,nsc/a,nfet 0
 or XDP
#give diff nselect priority
 and-not XDN
 or TPS
 shrink 20
 grow 20
 grow 20
 shrink 20

#final nselect
 templayer FSN
 bloat-or ndiff,rnd,nfet,nsd,ndc/a,nsc/a,nfet * 80 pdiff,rpd,pdc/a,psd,psc/a,pfet 0
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 20
 grow 20
 grow 20
 shrink 20

 layer CSN FSN
 calma 45 0

 layer CSP FSP
 calma 44 0

 layer CAA diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,pfet,pfet,fet
 labels diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,pfet,pfet,fet
 calma 43 0

 layer CCA ndc/m1,nsc/m1
 squares 40 80 120
 calma 48 0

 layer CCA pdc/m1,psc/m1
 squares 40 80 120
 calma 48 0

 layer CPG poly,rp,nfet,pfet,fet,pc/a
 labels poly,rp,nfet,pfet,fet,pc/a
 calma 46 0

 layer CCP pc/m1
 squares 40 80 120
 calma 47 0

 layer CCC gc
 squares 0 80 120
 calma 25 0

 layer CV1 m2c/m1,m123c/m1
 squares 40 80 120
 calma 50 0

 layer CV1 gv1
 squares 0 80 120
 calma 50 0

 layer CV2 m3c/m2,m123c/m2
 squares 40 80 120
 calma 61 0

 layer CV2 gv2
 squares 0 80 120
 calma 61 0

 layer CM3 pad
 labels pad
  grow 20
 calma 62 0

 templayer XPAD1 pad
 shrink 240

 templayer XPAD2 XPAD1
 shrink 240

 layer CV2 XPAD1
 and-not XPAD2
 squares 40 80 120
 calma 61 0

 layer CM2 pad
 and-not XPAD2
 calma 51 0

 layer CV1 pad
 and-not XPAD1
 squares 40 80 120
 calma 50 0

 layer CM1 pad
 and-not XPAD2
 calma 49 0

 layer CM1 m1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 labels m1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 calma 49 0

 layer CM2 m2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 labels m2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 calma 51 0

 layer CMFP m1p
 labels m1p
 calma 81 0

 layer CMSP m2p
 labels m2p
 calma 82 0

 layer 100 fp
 labels fp
 calma 100 0

 layer 101 fm1
 labels fm1
 calma 101 0

 layer 102 fm2
 labels fm2
 calma 102 0

 layer 103 fm3
 labels fm3
 calma 103 0

 layer 109 fa
 or fb
 squares 0 200 160
 labels fa
 calma 109 0

 layer 119 fn
 calma 119 0

 layer 110 fapm
 labels fapm
 calma 110 0

# layer CPG fp
 layer CPG fp,fapm
 squares 0 200 160
 labels fp
 calma 46 0

# layer CM1 fm1
 layer CM1 fm1,fapm
 squares 0 200 160
 labels fm1
 calma 49 0

# layer CM2 fm2
 layer CM2 fm2,fapm

 squares 0 200 160
 labels fm2
 calma 51 0

# layer CM3 fm3
 layer CM3 fm3,fapm

 squares 0 200 160
 labels fm3
 calma 62 0

 layer CM3 m3,rm3,m3c/m3,m123c/m3
 labels m3,rm3,m3c/m3,m123c/m3
  grow 20
 calma 62 0

 layer CMTP m3p
 labels m3p
  grow 20
 calma 83 0

 layer COG pad
 shrink 600
 labels pad
 calma 52 0

 layer COG glass
 labels glass
 calma 52 0

 layer CFI nfi,pfi
 labels nfi,pfi
 calma 27 0

#CRE/CRM
 layer CRW rnw,prnw
 labels rnw,prnw
 calma 65 0
 layer CRG rp,prp
 labels rp,prp
 calma 67 0
 layer CRD rnd,rpd,prnd,prpd
 labels rnd,rpd,prnd,prpd
 calma 66 0
 layer CRE rnw,rp,rnd,rpd
 labels rnw,rp,rnd,rpd
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRT rm3,prm3
 labels rm3,prm3
  grow 20
 calma 73 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3
#CRE/CRM calma 70 0

 layer CX comment
 labels comment
 calma 63 0

 layer XP pad,xp
 labels pad,xp
 calma 26 0


style  CASCADE_HP26G()
 scalefactor  40 5

 layer CNW nwell,rnw
 bloat-or pdiff,rpd,pdc/a,pfet * 200
 bloat-or nsd,nsc/a * 120
 grow 120
 shrink 120
 labels nwell,rnw
 calma 1 0

 templayer TNS ns

 templayer TPS ps

#we give priority to selects autogenerated around diffusions (vrs. ohmics)
#XDP = (pdiff*80) Or ps
#XDN = (ndiff*80) Or ns
#FSP = ((pdiff*80,psc*80) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*80,nsc*80) Or XDN And-Not FDP Or ns shrink-grow
#CSN = FSN
#CSP = FSP

#diffusion auto-nselect (will have priority)
 templayer XDN
 bloat-or ndiff,rnd,ndc/a * 80 psd,psc/a 0
#PEZ poly exclusion zone
 bloat-or nfet * 120
 or TNS

#diffusion auto-pselect (will have priority)
 templayer XDP
 bloat-or pdiff,rpd,pdc/a * 80 nsd,nsc/a 0
#PEZ poly exclusion zone
 bloat-or pfet * 120
 or TPS

#final pselect 
 templayer FSP
 bloat-or pdiff,rpd,pfet,psd,pdc/a,psc/a,pfet * 80 ndiff,rnd,ndc/a,nsd,nsc/a,nfet 0
 or XDP
#give diff nselect priority
 and-not XDN
 or TPS
 shrink 20
 grow 20
 grow 20
 shrink 20

#final nselect
 templayer FSN
 bloat-or ndiff,rnd,nfet,nsd,ndc/a,nsc/a,nfet * 80 pdiff,rpd,pdc/a,psd,psc/a,pfet 0
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 20
 grow 20
 grow 20
 shrink 20

 layer CNP FSN
 calma 5 0

 layer CPP FSP
 calma 7 0

 layer CD diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,pfet,pfet,fet
 labels diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,pfet,pfet,fet
 calma 2 0

 layer CCA ndc/m1,nsc/m1
 squares 10 60 80
 grow 10
 calma 48 0

 layer CCA pdc/m1,psc/m1
 squares 10 60 80
 grow 10
 calma 48 0

 layer CP poly,fp,rp,nfet,pfet,fet,pc/a
 labels poly,fp,rp,nfet,pfet,fet,pc/a
 calma 4 0

 layer CC gc
 squares 0 60 80
 grow 10
 calma 8 0

 layer CV m2c/m1,m123c/m1
 squares 10 60 80
 grow 10
 calma 10 0

 layer CV gv1
 squares 0 60 80
 grow 10
 calma 10 0

 layer CV2 m3c/m2,m123c/m2
 squares 10 60 80
 grow 10
 calma 12 0

 layer CV2 gv2
 squares 0 60 80
 grow 10
 calma 12 0

 layer CM3 pad
 or m3,fm3,rm3,m3c/m3,m123c/m3
 labels pad,m3,fm3,rm3,m3c/m3,m123c/m3
 calma 13 0

 templayer XPAD1 pad
 shrink 240

 templayer XPAD2 XPAD1
 shrink 240

 layer CV2 XPAD1
 and-not XPAD2
 squares 10 60 80
 grow 10
 calma 12 0

 layer CM2 pad
 and-not XPAD2
 or m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 labels m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 calma 11 0

 layer CV pad
 and-not XPAD1
 squares 10 60 80
 grow 10
 calma 10 0

 layer CM pad
 and-not XPAD2
 or m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 labels m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 calma 9 0

 layer CG pad
 shrink 600
 or glass,xp
 labels pad
 calma 14 0

#CRE/CRM
 layer CRW rnw,prnw
 labels rnw,prnw
 calma 65 0
 layer CRG rp,prp
 labels rp,prp
 calma 67 0
 layer CRD rnd,rpd,prnd,prpd
 labels rnd,rpd,prnd,prpd
 calma 66 0
 layer CRE rnw,rp,rnd,rpd
 labels rnw,rp,rnd,rpd
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRT rm3,prm3
 labels rm3,prm3
  grow 20
 calma 73 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3
#CRE/CRM calma 70 0


style  CASCADE_HP26G(i)
 scalefactor  40 5

 layer CNW nwell,rnw
 bloat-or pdiff,rpd,pdc/a,pfet * 200
 bloat-or nsd,nsc/a * 120
 grow 120
 shrink 120
 labels nwell,rnw
 calma 1 0

 templayer TNS ns

 templayer TPS ps

#we give priority to selects autogenerated around diffusions (vrs. ohmics)
#XDP = (pdiff*80) Or ps
#XDN = (ndiff*80) Or ns
#FSP = ((pdiff*80,psc*80) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*80,nsc*80) Or XDN And-Not FDP Or ns shrink-grow
#CSN = FSN
#CSP = FSP

#diffusion auto-nselect (will have priority)
 templayer XDN
 bloat-or ndiff,rnd,ndc/a * 80 psd,psc/a 0
#PEZ poly exclusion zone
 bloat-or nfet * 120
 or TNS

#diffusion auto-pselect (will have priority)
 templayer XDP
 bloat-or pdiff,rpd,pdc/a * 80 nsd,nsc/a 0
#PEZ poly exclusion zone
 bloat-or pfet * 120
 or TPS

#final pselect 
 templayer FSP
 bloat-or pdiff,rpd,pfet,psd,pdc/a,psc/a,pfet * 80 ndiff,rnd,ndc/a,nsd,nsc/a,nfet 0
 or XDP
#give diff nselect priority
 and-not XDN
 or TPS
 shrink 20
 grow 20
 grow 20
 shrink 20

#final nselect
 templayer FSN
 bloat-or ndiff,rnd,nfet,nsd,ndc/a,nsc/a,nfet * 80 pdiff,rpd,pdc/a,psd,psc/a,pfet 0
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 20
 grow 20
 grow 20
 shrink 20

 layer CNP FSN
 calma 5 0

 layer CPP FSP
 calma 7 0

 layer CNI ndiff,rnd,nfet,nsd,ndc/a,nsc/a,nfet
 labels ndiff,rnd,nfet,nsd,ndc/a,nsc/a,nfet
 calma 21 0

 layer CPI pdiff,rpd,pfet,psd,pdc/a,psc/a,pfet
 labels pdiff,rpd,pfet,psd,pdc/a,psc/a,pfet
 calma 22 0

 layer CCA ndc/m1,nsc/m1
 squares 10 60 80
 grow 10
 calma 48 0

 layer CCA pdc/m1,psc/m1
 squares 10 60 80
 grow 10
 calma 48 0

 layer CP poly,fp,rp,nfet,pfet,fet,pc/a
 labels poly,fp,rp,nfet,pfet,fet,pc/a
 calma 4 0

 layer CC gc
 squares 0 60 80
 grow 10
 calma 8 0

 layer CV m2c/m1,m123c/m1
 squares 10 60 80
 grow 10
 calma 10 0

 layer CV gv1
 squares 0 60 80
 grow 10
 calma 10 0

 layer CV2 m3c/m2,m123c/m2
 squares 10 60 80
 grow 10
 calma 12 0

 layer CV2 gv2
 squares 0 60 80
 grow 10
 calma 12 0

 layer CM3 pad
 or m3,fm3,rm3,m3c/m3,m123c/m3
 labels pad,m3,fm3,rm3,m3c/m3,m123c/m3
 calma 13 0

 templayer XPAD1 pad
 shrink 240

 templayer XPAD2 XPAD1
 shrink 240

 layer CV2 XPAD1
 and-not XPAD2
 squares 10 60 80
 grow 10
 calma 12 0

 layer CM2 pad
 and-not XPAD2
 or m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 labels m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2
 calma 11 0

 layer CV pad
 and-not XPAD1
 squares 10 60 80
 grow 10
 calma 10 0

 layer CM pad
 and-not XPAD2
 or m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 labels m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1
 calma 9 0

 layer CG pad
 shrink 600
 or glass,xp
 labels pad
 calma 14 0

#CRE/CRM
 layer CRW rnw,prnw
 labels rnw,prnw
 calma 65 0
 layer CRG rp,prp
 labels rp,prp
 calma 67 0
 layer CRD rnd,rpd,prnd,prpd
 labels rnd,rpd,prnd,prpd
 calma 66 0
 layer CRE rnw,rp,rnd,rpd
 labels rnw,rp,rnd,rpd
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRT rm3,prm3
 labels rm3,prm3
  grow 20
 calma 73 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3
#CRE/CRM calma 70 0

end

cifinput

style  lambda=0.40(p)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *

 layer pwell CWP
 and-not CTA
 labels CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 calma CSN 45 *

 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer pc CCP
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer pc CCP
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer gc CCP
 and-not CPG
 and-not CPC
 calma CCP 47 *

 layer gc CCP
 and-not CM1
 calma CCP 47 *

 layer gc CCA
 and-not COP
 and-not CAA
 and-not CBA
 calma CCA 48 *

 layer gc CCA
 and-not COP
 and-not CM1
 calma CCA 48 *

 layer gc CCC
 and-not COP
 and-not CPG
 and-not CPC
 and-not CEL
 and-not CAA
 and-not CBA
 calma CCC 25 *

 layer gc CCC
 and-not COP
 and-not CM1
 calma CCC 25 *

 layer gc CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc CCE
 and-not CM1
 calma CCE 55 *

 layer gv1 CV1
 and-not COP
 and-not CM1
 calma CV1 50 *

 layer gv1 CV1
 and-not COP
 and-not CM2
 calma CV1 50 *

 layer gv2 CV2
 and-not COP
 and-not CM2
 calma CV2 61 *

 layer gv2 CV2
 and-not COP
 and-not CM3
 calma CV2 61 *

 layer m2c CV1
 and-not CV2
 and-not CCC
 and-not CCP
 and-not CCA
 and-not XP
 grow 40
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV1 50 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 and-not XP
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 and-not XP
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer m3c CM3
 shrink 20
 and CV2

 and-not CV1
 and-not XP
 grow 40
 and CM2
 grow 20
 shrink 20
 calma CV2 61 *

 layer m123c CM3
 shrink 20
 and CV2

 and CV1
 and-not XP
 grow 40
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV2 61 *

 layer m3 CM3
 shrink 20
 and-not CRM
 and-not CRT
 and-not XP
 labels CM3
 calma CM3 62 *

 layer rm3 CM3
 shrink 20
 and CRM
 calma CRM 70 *

 layer rm3 CM3
 shrink 20
 and CRT
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer pad XP
 labels pad
 calma XP 26 *

 layer glass COG
 and-not COP
 and-not XP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(s)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *


 ignore CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer nselect CSN
 calma CSN 45 *

 layer pselect CSP
 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer pc CCP
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer pc CCP
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer gc CCP
 and-not CPG
 and-not CPC
 calma CCP 47 *

 layer gc CCP
 and-not CM1
 calma CCP 47 *

 layer gc CCA
 and-not COP
 and-not CAA
 and-not CBA
 calma CCA 48 *

 layer gc CCA
 and-not COP
 and-not CM1
 calma CCA 48 *

 layer gc CCC
 and-not COP
 and-not CPG
 and-not CPC
 and-not CEL
 and-not CAA
 and-not CBA
 calma CCC 25 *

 layer gc CCC
 and-not COP
 and-not CM1
 calma CCC 25 *

 layer gc CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc CCE
 and-not CM1
 calma CCE 55 *

 layer gv1 CV1
 and-not COP
 and-not CM1
 calma CV1 50 *

 layer gv1 CV1
 and-not COP
 and-not CM2
 calma CV1 50 *

 layer gv2 CV2
 and-not COP
 and-not CM2
 calma CV2 61 *

 layer gv2 CV2
 and-not COP
 and-not CM3
 calma CV2 61 *

 layer m2c CV1
 and-not CV2
 and-not CCC
 and-not CCP
 and-not CCA
 and-not XP
 grow 40
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV1 50 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 and-not XP
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 and-not XP
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer m3c CM3
 shrink 20
 and CV2

 and-not CV1
 and-not XP
 grow 40
 and CM2
 grow 20
 shrink 20
 calma CV2 61 *

 layer m123c CM3
 shrink 20
 and CV2

 and CV1
 and-not XP
 grow 40
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV2 61 *

 layer m3 CM3
 shrink 20
 and-not CRM
 and-not CRT
 and-not XP
 labels CM3
 calma CM3 62 *

 layer rm3 CM3
 shrink 20
 and CRM
 calma CRM 70 *

 layer rm3 CM3
 shrink 20
 and CRT
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer pad XP
 labels pad
 calma XP 26 *

 layer glass COG
 and-not COP
 and-not XP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(ps)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *

 layer pwell CWP
 and-not CTA
 labels CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer nselect CSN
 calma CSN 45 *

 layer pselect CSP
 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer pc CCP
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer pc CCP
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer gc CCP
 and-not CPG
 and-not CPC
 calma CCP 47 *

 layer gc CCP
 and-not CM1
 calma CCP 47 *

 layer gc CCA
 and-not COP
 and-not CAA
 and-not CBA
 calma CCA 48 *

 layer gc CCA
 and-not COP
 and-not CM1
 calma CCA 48 *

 layer gc CCC
 and-not COP
 and-not CPG
 and-not CPC
 and-not CEL
 and-not CAA
 and-not CBA
 calma CCC 25 *

 layer gc CCC
 and-not COP
 and-not CM1
 calma CCC 25 *

 layer gc CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc CCE
 and-not CM1
 calma CCE 55 *

 layer gv1 CV1
 and-not COP
 and-not CM1
 calma CV1 50 *

 layer gv1 CV1
 and-not COP
 and-not CM2
 calma CV1 50 *

 layer gv2 CV2
 and-not COP
 and-not CM2
 calma CV2 61 *

 layer gv2 CV2
 and-not COP
 and-not CM3
 calma CV2 61 *

 layer m2c CV1
 and-not CV2
 and-not CCC
 and-not CCP
 and-not CCA
 and-not XP
 grow 40
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV1 50 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 and-not XP
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 and-not XP
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer m3c CM3
 shrink 20
 and CV2

 and-not CV1
 and-not XP
 grow 40
 and CM2
 grow 20
 shrink 20
 calma CV2 61 *

 layer m123c CM3
 shrink 20
 and CV2

 and CV1
 and-not XP
 grow 40
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV2 61 *

 layer m3 CM3
 shrink 20
 and-not CRM
 and-not CRT
 and-not XP
 labels CM3
 calma CM3 62 *

 layer rm3 CM3
 shrink 20
 and CRM
 calma CRM 70 *

 layer rm3 CM3
 shrink 20
 and CRT
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer pad XP
 labels pad
 calma XP 26 *

 layer glass COG
 and-not COP
 and-not XP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40()
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *


 ignore CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 calma CSN 45 *

 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer pc CCP
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer pc CCP
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer gc CCP
 and-not CPG
 and-not CPC
 calma CCP 47 *

 layer gc CCP
 and-not CM1
 calma CCP 47 *

 layer gc CCA
 and-not COP
 and-not CAA
 and-not CBA
 calma CCA 48 *

 layer gc CCA
 and-not COP
 and-not CM1
 calma CCA 48 *

 layer gc CCC
 and-not COP
 and-not CPG
 and-not CPC
 and-not CEL
 and-not CAA
 and-not CBA
 calma CCC 25 *

 layer gc CCC
 and-not COP
 and-not CM1
 calma CCC 25 *

 layer gc CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc CCE
 and-not CM1
 calma CCE 55 *

 layer gv1 CV1
 and-not COP
 and-not CM1
 calma CV1 50 *

 layer gv1 CV1
 and-not COP
 and-not CM2
 calma CV1 50 *

 layer gv2 CV2
 and-not COP
 and-not CM2
 calma CV2 61 *

 layer gv2 CV2
 and-not COP
 and-not CM3
 calma CV2 61 *

 layer m2c CV1
 and-not CV2
 and-not CCC
 and-not CCP
 and-not CCA
 and-not XP
 grow 40
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV1 50 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 and-not XP
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 and-not XP
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer m3c CM3
 shrink 20
 and CV2

 and-not CV1
 and-not XP
 grow 40
 and CM2
 grow 20
 shrink 20
 calma CV2 61 *

 layer m123c CM3
 shrink 20
 and CV2

 and CV1
 and-not XP
 grow 40
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV2 61 *

 layer m3 CM3
 shrink 20
 and-not CRM
 and-not CRT
 and-not XP
 labels CM3
 calma CM3 62 *

 layer rm3 CM3
 shrink 20
 and CRM
 calma CRM 70 *

 layer rm3 CM3
 shrink 20
 and CRT
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer pad XP
 labels pad
 calma XP 26 *

 layer glass COG
 and-not COP
 and-not XP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(c)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *


 ignore CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 calma CSN 45 *

 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer gc CCA
 and CPG
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and CPG
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and CPG
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and CPG
 and-not CEL
 calma CCE 55 *

 layer gc CCA
 and-not COP
 and-not CPC
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and-not COP
 and-not CPC
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and-not COP
 and-not CPC
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and-not COP
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV1
 calma CV1 50 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 61 *

 layer m3 CM3
 shrink 20
 and-not CRM
 and-not CRT
 labels CM3
 calma CM3 62 *

 layer rm3 CM3
 shrink 20
 and CRM
 calma CRM 70 *

 layer rm3 CM3
 shrink 20
 and CRT
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer xp XP
 calma XP 26 *

 layer glass COG
 and-not COP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(cs)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *


 ignore CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer nselect CSN
 calma CSN 45 *

 layer pselect CSP
 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer gc CCA
 and CPG
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and CPG
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and CPG
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and CPG
 and-not CEL
 calma CCE 55 *

 layer gc CCA
 and-not COP
 and-not CPC
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and-not COP
 and-not CPC
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and-not COP
 and-not CPC
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and-not COP
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV1
 calma CV1 50 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 61 *

 layer m3 CM3
 shrink 20
 and-not CRM
 and-not CRT
 labels CM3
 calma CM3 62 *

 layer rm3 CM3
 shrink 20
 and CRM
 calma CRM 70 *

 layer rm3 CM3
 shrink 20
 and CRT
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer xp XP
 calma XP 26 *

 layer glass COG
 and-not COP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(cps)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *

 layer pwell CWP
 and-not CTA
 labels CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer nselect CSN
 calma CSN 45 *

 layer pselect CSP
 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer gc CCA
 and CPG
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and CPG
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and CPG
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and CPG
 and-not CEL
 calma CCE 55 *

 layer gc CCA
 and-not COP
 and-not CPC
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and-not COP
 and-not CPC
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and-not COP
 and-not CPC
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and-not COP
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV1
 calma CV1 50 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 61 *

 layer m3 CM3
 shrink 20
 and-not CRM
 and-not CRT
 labels CM3
 calma CM3 62 *

 layer rm3 CM3
 shrink 20
 and CRM
 calma CRM 70 *

 layer rm3 CM3
 shrink 20
 and CRT
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer xp XP
 calma XP 26 *

 layer glass COG
 and-not COP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(cp)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *

 layer pwell CWP
 and-not CTA
 labels CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 calma CSN 45 *

 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer gc CCA
 and CPG
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and CPG
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and CPG
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and CPG
 and-not CEL
 calma CCE 55 *

 layer gc CCA
 and-not COP
 and-not CPC
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and-not COP
 and-not CPC
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and-not COP
 and-not CPC
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and-not COP
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV1
 calma CV1 50 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 61 *

 layer m3 CM3
 shrink 20
 and-not CRM
 and-not CRT
 labels CM3
 calma CM3 62 *

 layer rm3 CM3
 shrink 20
 and CRM
 calma CRM 70 *

 layer rm3 CM3
 shrink 20
 and CRT
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer xp XP
 calma XP 26 *

 layer glass COG
 and-not COP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(np)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *

 layer pwell CWP
 and-not CTA
 labels CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 calma CSN 45 *

 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer pc CCP
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer pc CCP
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer gc CCP
 and-not CPG
 and-not CPC
 calma CCP 47 *

 layer gc CCP
 and-not CM1
 calma CCP 47 *

 layer gc CCA
 and-not COP
 and-not CAA
 and-not CBA
 calma CCA 48 *

 layer gc CCA
 and-not COP
 and-not CM1
 calma CCA 48 *

 layer gc CCC
 and-not COP
 and-not CPG
 and-not CPC
 and-not CEL
 and-not CAA
 and-not CBA
 calma CCC 25 *

 layer gc CCC
 and-not COP
 and-not CM1
 calma CCC 25 *

 layer gc CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc CCE
 and-not CM1
 calma CCE 55 *

 layer gv1 CV1
 and-not COP
 and-not CM1
 calma CV1 50 *

 layer gv1 CV1
 and-not COP
 and-not CM2
 calma CV1 50 *

 layer gv2 CV2
 and-not COP
 and-not CM2
 calma CV2 61 *

 layer gv2 CV2
 and-not COP
 and-not CM3
 calma CV2 61 *

 layer m2c CV1
 and-not CV2
 and-not CCC
 and-not CCP
 and-not CCA
 and-not XP
 grow 40
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV1 50 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 and-not XP
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 and-not XP
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer m3c CV2

 and-not CV1
 and-not XP
 grow 40
 and CM3
 and CM2
 grow 20
 shrink 20
 calma CV2 61 *

 layer m123c CV2

 and CV1
 and-not XP
 grow 40
 and CM3
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV2 61 *

 layer m3 CM3
 and-not CRM
 and-not CRT
 and-not XP
 labels CM3
 calma CM3 62 *

 layer rm3 CRM
 and CM3
 calma CRM 70 *

 layer rm3 CRT
 and CM3
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer pad XP
 labels pad
 calma XP 26 *

 layer glass COG
 and-not COP
 and-not XP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(ns)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *


 ignore CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer nselect CSN
 calma CSN 45 *

 layer pselect CSP
 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer pc CCP
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer pc CCP
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer gc CCP
 and-not CPG
 and-not CPC
 calma CCP 47 *

 layer gc CCP
 and-not CM1
 calma CCP 47 *

 layer gc CCA
 and-not COP
 and-not CAA
 and-not CBA
 calma CCA 48 *

 layer gc CCA
 and-not COP
 and-not CM1
 calma CCA 48 *

 layer gc CCC
 and-not COP
 and-not CPG
 and-not CPC
 and-not CEL
 and-not CAA
 and-not CBA
 calma CCC 25 *

 layer gc CCC
 and-not COP
 and-not CM1
 calma CCC 25 *

 layer gc CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc CCE
 and-not CM1
 calma CCE 55 *

 layer gv1 CV1
 and-not COP
 and-not CM1
 calma CV1 50 *

 layer gv1 CV1
 and-not COP
 and-not CM2
 calma CV1 50 *

 layer gv2 CV2
 and-not COP
 and-not CM2
 calma CV2 61 *

 layer gv2 CV2
 and-not COP
 and-not CM3
 calma CV2 61 *

 layer m2c CV1
 and-not CV2
 and-not CCC
 and-not CCP
 and-not CCA
 and-not XP
 grow 40
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV1 50 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 and-not XP
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 and-not XP
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer m3c CV2

 and-not CV1
 and-not XP
 grow 40
 and CM3
 and CM2
 grow 20
 shrink 20
 calma CV2 61 *

 layer m123c CV2

 and CV1
 and-not XP
 grow 40
 and CM3
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV2 61 *

 layer m3 CM3
 and-not CRM
 and-not CRT
 and-not XP
 labels CM3
 calma CM3 62 *

 layer rm3 CRM
 and CM3
 calma CRM 70 *

 layer rm3 CRT
 and CM3
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer pad XP
 labels pad
 calma XP 26 *

 layer glass COG
 and-not COP
 and-not XP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(nps)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *

 layer pwell CWP
 and-not CTA
 labels CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer nselect CSN
 calma CSN 45 *

 layer pselect CSP
 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer pc CCP
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer pc CCP
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer gc CCP
 and-not CPG
 and-not CPC
 calma CCP 47 *

 layer gc CCP
 and-not CM1
 calma CCP 47 *

 layer gc CCA
 and-not COP
 and-not CAA
 and-not CBA
 calma CCA 48 *

 layer gc CCA
 and-not COP
 and-not CM1
 calma CCA 48 *

 layer gc CCC
 and-not COP
 and-not CPG
 and-not CPC
 and-not CEL
 and-not CAA
 and-not CBA
 calma CCC 25 *

 layer gc CCC
 and-not COP
 and-not CM1
 calma CCC 25 *

 layer gc CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc CCE
 and-not CM1
 calma CCE 55 *

 layer gv1 CV1
 and-not COP
 and-not CM1
 calma CV1 50 *

 layer gv1 CV1
 and-not COP
 and-not CM2
 calma CV1 50 *

 layer gv2 CV2
 and-not COP
 and-not CM2
 calma CV2 61 *

 layer gv2 CV2
 and-not COP
 and-not CM3
 calma CV2 61 *

 layer m2c CV1
 and-not CV2
 and-not CCC
 and-not CCP
 and-not CCA
 and-not XP
 grow 40
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV1 50 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 and-not XP
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 and-not XP
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer m3c CV2

 and-not CV1
 and-not XP
 grow 40
 and CM3
 and CM2
 grow 20
 shrink 20
 calma CV2 61 *

 layer m123c CV2

 and CV1
 and-not XP
 grow 40
 and CM3
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV2 61 *

 layer m3 CM3
 and-not CRM
 and-not CRT
 and-not XP
 labels CM3
 calma CM3 62 *

 layer rm3 CRM
 and CM3
 calma CRM 70 *

 layer rm3 CRT
 and CM3
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer pad XP
 labels pad
 calma XP 26 *

 layer glass COG
 and-not COP
 and-not XP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(n)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *


 ignore CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 calma CSN 45 *

 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 40
 grow 20
 shrink 20
 calma CCC 25 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer pc CCP
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer pc CCP
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 40
 and CM1
 grow 20
 shrink 20
 calma CCC 25 *

 layer gc CCP
 and-not CPG
 and-not CPC
 calma CCP 47 *

 layer gc CCP
 and-not CM1
 calma CCP 47 *

 layer gc CCA
 and-not COP
 and-not CAA
 and-not CBA
 calma CCA 48 *

 layer gc CCA
 and-not COP
 and-not CM1
 calma CCA 48 *

 layer gc CCC
 and-not COP
 and-not CPG
 and-not CPC
 and-not CEL
 and-not CAA
 and-not CBA
 calma CCC 25 *

 layer gc CCC
 and-not COP
 and-not CM1
 calma CCC 25 *

 layer gc CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc CCE
 and-not CM1
 calma CCE 55 *

 layer gv1 CV1
 and-not COP
 and-not CM1
 calma CV1 50 *

 layer gv1 CV1
 and-not COP
 and-not CM2
 calma CV1 50 *

 layer gv2 CV2
 and-not COP
 and-not CM2
 calma CV2 61 *

 layer gv2 CV2
 and-not COP
 and-not CM3
 calma CV2 61 *

 layer m2c CV1
 and-not CV2
 and-not CCC
 and-not CCP
 and-not CCA
 and-not XP
 grow 40
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV1 50 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 and-not XP
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 and-not XP
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer m3c CV2

 and-not CV1
 and-not XP
 grow 40
 and CM3
 and CM2
 grow 20
 shrink 20
 calma CV2 61 *

 layer m123c CV2

 and CV1
 and-not XP
 grow 40
 and CM3
 and CM2
 and CM1
 grow 20
 shrink 20
 calma CV2 61 *

 layer m3 CM3
 and-not CRM
 and-not CRT
 and-not XP
 labels CM3
 calma CM3 62 *

 layer rm3 CRM
 and CM3
 calma CRM 70 *

 layer rm3 CRT
 and CM3
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer pad XP
 labels pad
 calma XP 26 *

 layer glass COG
 and-not COP
 and-not XP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(nc)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *


 ignore CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 calma CSN 45 *

 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer gc CCA
 and CPG
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and CPG
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and CPG
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and CPG
 and-not CEL
 calma CCE 55 *

 layer gc CCA
 and-not COP
 and-not CPC
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and-not COP
 and-not CPC
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and-not COP
 and-not CPC
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and-not COP
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV1
 calma CV1 50 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 61 *

 layer m3 CM3
 and-not CRM
 and-not CRT
 labels CM3
 calma CM3 62 *

 layer rm3 CRM
 and CM3
 calma CRM 70 *

 layer rm3 CRT
 and CM3
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer xp XP
 calma XP 26 *

 layer glass COG
 and-not COP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(ncs)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *


 ignore CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer nselect CSN
 calma CSN 45 *

 layer pselect CSP
 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer gc CCA
 and CPG
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and CPG
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and CPG
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and CPG
 and-not CEL
 calma CCE 55 *

 layer gc CCA
 and-not COP
 and-not CPC
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and-not COP
 and-not CPC
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and-not COP
 and-not CPC
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and-not COP
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV1
 calma CV1 50 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 61 *

 layer m3 CM3
 and-not CRM
 and-not CRT
 labels CM3
 calma CM3 62 *

 layer rm3 CRM
 and CM3
 calma CRM 70 *

 layer rm3 CRT
 and CM3
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer xp XP
 calma XP 26 *

 layer glass COG
 and-not COP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(ncps)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *

 layer pwell CWP
 and-not CTA
 labels CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer nselect CSN
 calma CSN 45 *

 layer pselect CSP
 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer gc CCA
 and CPG
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and CPG
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and CPG
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and CPG
 and-not CEL
 calma CCE 55 *

 layer gc CCA
 and-not COP
 and-not CPC
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and-not COP
 and-not CPC
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and-not COP
 and-not CPC
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and-not COP
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV1
 calma CV1 50 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 61 *

 layer m3 CM3
 and-not CRM
 and-not CRT
 labels CM3
 calma CM3 62 *

 layer rm3 CRM
 and CM3
 calma CRM 70 *

 layer rm3 CRT
 and CM3
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer xp XP
 calma XP 26 *

 layer glass COG
 and-not COP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  lambda=0.40(ncp)
 scalefactor  40

 layer nwell CWN
 and-not CWNR
 and-not CTA
 labels CWN
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer rnw CWN
 and-not CWNR
 and CRW
 and-not CRD
 and-not CAA
 and-not CPG
 calma CWN 42 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *

 layer pwell CWP
 and-not CTA
 labels CWP
 calma CWP 41 *

 layer diff CAA
 and-not CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer tran CAA
 and-not CTA
 and CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 calma CSN 45 *

 calma CSP 44 *

 layer ndiff CAA
 and CSN
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer rnd CAA
 and CSN
 and-not CWNR
 and CRD
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and-not CWN
 and-not CSP
 and CSN
 and-not CBA
 calma CRD 66 *

 layer pdiff CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer rpd CAA
 and CSP
 and-not CWNR
 and CRD
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CAA 43 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CAA
 and-not CSB
 and-not CPG
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 calma CRD 66 *

 layer nfet CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer pfet CAA
 and CSP
 and-not CWNR
 and-not CTA
 and CPG
 and-not CEL
 and CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer nsd CAA
 and CSN
 and-not CWNR
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer psd CAA
 and CSP
 and-not CWNR
 and-not CTA
 and-not CWN
 and-not CSN
 and-not CPS
 and CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer gc CCA
 and CPG
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and CPG
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and CPG
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and CPG
 and-not CEL
 calma CCE 55 *

 layer gc CCA
 and-not COP
 and-not CPC
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and-not COP
 and-not CPC
 and-not CEL
 calma CCP 47 *

 layer gc CCC
 and-not COP
 and-not CPC
 and-not CEL
 calma CCC 25 *

 layer gc CCE
 and-not COP
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer poly CPG
 and-not CRE
 labels CPG
 calma CPG 46 *

 layer rp CPG
 and CRE
 and-not CSB
 calma CPG 46 *

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer m1 CM1
 and-not CRM
 and-not CRF
 labels CM1
 calma CM1 49 *

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV1
 calma CV1 50 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 labels CM2
 calma CM2 51 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 61 *

 layer m3 CM3
 and-not CRM
 and-not CRT
 labels CM3
 calma CM3 62 *

 layer rm3 CRM
 and CM3
 calma CRM 70 *

 layer rm3 CRT
 and CM3
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer xp XP
 calma XP 26 *

 layer glass COG
 and-not COP
 labels COG
 calma COG 52 *

 layer nfi CFI
 and CWN
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CWN
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  CASCADE_HP26G()
 scalefactor  27

 layer nwell CNW
 and-not CWNR
 and-not CTA
 labels CNW
 calma CNW 1 *

 layer rnw CNW
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CD
 and-not CP
 calma CNW 1 *

 layer rnw CNW
 and-not CWNR
 and CRW
 and-not CRD
 and-not CD
 and-not CP
 calma CNW 1 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *


 ignore CWP
 calma CWP 41 *

 layer diff CD
 and-not CTA
 and-not CP
 and-not CWNR
 and-not COP
 and-not CNP
 and-not CPP
 labels CD
 calma CD 2 *

 layer tran CD
 and-not CTA
 and CP
 and-not CWNR
 and-not COP
 and-not CNP
 and-not CPP
 labels CD
 calma CD 2 *

 calma CNP 5 *

 calma CPP 7 *

 layer ndiff CD
 and CNP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer rnd CD
 and CNP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and-not CBA
 calma CD 2 *

 layer rnd CD
 and CNP
 and-not CWNR
 and CRD
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and-not CBA
 calma CD 2 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CD
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and CNP
 and-not CBA
 calma CRD 66 *

 layer pdiff CD
 and CPP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer rpd CD
 and CPP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 calma CD 2 *

 layer rpd CD
 and CPP
 and-not CWNR
 and CRD
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 calma CD 2 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CD
 and-not CSB
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 calma CRD 66 *

 layer nfet CD
 and CNP
 and-not CWNR
 and-not CTA
 and CP
 and-not CEL
 and-not CNW
 and-not CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer pfet CD
 and CPP
 and-not CWNR
 and-not CTA
 and CP
 and-not CEL
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer nsd CD
 and CNP
 and-not CWNR
 and-not CTA
 and CNW
 and-not CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer psd CD
 and CPP
 and-not CWNR
 and-not CTA
 and-not CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer ndc CD
 and CNP
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer ndc CD
 and CNP
 and CC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer nsc CD
 and CNP
 and CCA
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer nsc CD
 and CNP
 and CC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer pdc CD
 and CPP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer pdc CD
 and CPP
 and CC
 and-not CV1
 and-not CTA
 
 and-not CPS
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer psc CD
 and CPP
 and CCA
 and-not CV1
 and-not CTA
 
 and-not CPS
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer psc CD
 and CPP
 and CC
 and-not CV1
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer ndc CD
 and CNP
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer ndc CD
 and CNP
 and CC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer nsc CD
 and CNP
 and CCA
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer nsc CD
 and CNP
 and CC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer pdc CD
 and CPP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer pdc CD
 and CPP
 and CC
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer psc CD
 and CPP
 and CCA
 and CV1
 and CV2
 and-not CTA
 
 and-not CPS
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer psc CD
 and CPP
 and CC
 and CV1
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer poly CP
 and-not CRE
 labels CP
 calma CP 4 *

 layer rp CP
 and CRE
 and-not CSB
 calma CP 4 *

 layer rp CP
 and CRG
 calma CP 4 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer pc CCP
 and-not CV1
 and CP
 and-not CPC
 and-not CEL
 and-not CD
 grow 27
 and CM
 grow 14
 shrink 14
 calma CCP 47 *

 layer pc CC
 and-not CV1
 and CP
 and-not CPC
 and-not CEL
 and-not CD
 grow 27
 and CM
 grow 14
 shrink 14
 calma CC 8 *

 layer pc CCP
 and CV1
 and CV2
 and CP
 and-not CPC
 and-not CEL
 and-not CD
 grow 27
 and CM
 grow 14
 shrink 14
 calma CCP 47 *

 layer pc CC
 and CV1
 and CV2
 and CP
 and-not CPC
 and-not CEL
 and-not CD
 grow 27
 and CM
 grow 14
 shrink 14
 calma CC 8 *

 layer gc CCP
 and-not CP
 and-not CPC
 calma CCP 47 *

 layer gc CCP
 and-not CM
 calma CCP 47 *

 layer gc CCA
 and-not COP
 and-not CD
 and-not CBA
 calma CCA 48 *

 layer gc CCA
 and-not COP
 and-not CM
 calma CCA 48 *

 layer gc CC
 and-not COP
 and-not CP
 and-not CPC
 and-not CEL
 and-not CD
 and-not CBA
 calma CC 8 *

 layer gc CC
 and-not COP
 and-not CM
 calma CC 8 *

 layer gc CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc CCE
 and-not CM
 calma CCE 55 *

 layer gv1 CV
 and-not COP
 and-not CM
 calma CV 10 *

 layer gv1 CV
 and-not COP
 and-not CM2
 calma CV 10 *

 layer gv2 CV2
 and-not COP
 and-not CM2
 calma CV2 12 *

 layer gv2 CV2
 and-not COP
 and-not CM3
 calma CV2 12 *

 layer m2c CV
 and-not CV2
 and-not CC
 and-not CCP
 and-not CCA
 and-not XP
 grow 27
 and CM2
 and CM
 grow 14
 shrink 14
 calma CV 10 *

 layer m1 CM
 and-not CRM
 and-not CRF
 and-not XP
 labels CM
 calma CM 9 *

 layer rm1 CRM
 and CM
 calma CRM 70 *

 layer rm1 CRF
 and CM
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 and-not XP
 labels CM2
 calma CM2 11 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer m3c CM3
 shrink 20
 and CV2

 and-not CV
 and-not XP
 grow 27
 and CM2
 grow 14
 shrink 14
 calma CV2 12 *

 layer m123c CM3
 shrink 20
 and CV2

 and CV
 and-not XP
 grow 27
 and CM2
 and CM
 grow 14
 shrink 14
 calma CV2 12 *

 layer m3 CM3
 shrink 20
 and-not CRM
 and-not CRT
 and-not XP
 labels CM3
 calma CM3 13 *

 layer rm3 CM3
 shrink 20
 and CRM
 calma CRM 70 *

 layer rm3 CM3
 shrink 20
 and CRT
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer pad XP
 labels pad
 calma XP 26 *

 layer glass CG
 and-not COP
 and-not XP
 labels CG
 calma CG 14 *

 layer nfi CFI
 and CNW
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CNW
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  CASCADE_HP26G(s)
 scalefactor  27

 layer nwell CNW
 and-not CWNR
 and-not CTA
 labels CNW
 calma CNW 1 *

 layer rnw CNW
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CD
 and-not CP
 calma CNW 1 *

 layer rnw CNW
 and-not CWNR
 and CRW
 and-not CRD
 and-not CD
 and-not CP
 calma CNW 1 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *


 ignore CWP
 calma CWP 41 *

 layer diff CD
 and-not CTA
 and-not CP
 and-not CWNR
 and-not COP
 and-not CNP
 and-not CPP
 labels CD
 calma CD 2 *

 layer tran CD
 and-not CTA
 and CP
 and-not CWNR
 and-not COP
 and-not CNP
 and-not CPP
 labels CD
 calma CD 2 *

 layer nselect CNP
 calma CNP 5 *

 layer pselect CPP
 calma CPP 7 *

 layer ndiff CD
 and CNP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer rnd CD
 and CNP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and-not CBA
 calma CD 2 *

 layer rnd CD
 and CNP
 and-not CWNR
 and CRD
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and-not CBA
 calma CD 2 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CD
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and CNP
 and-not CBA
 calma CRD 66 *

 layer pdiff CD
 and CPP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer rpd CD
 and CPP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 calma CD 2 *

 layer rpd CD
 and CPP
 and-not CWNR
 and CRD
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 calma CD 2 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CD
 and-not CSB
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 calma CRD 66 *

 layer nfet CD
 and CNP
 and-not CWNR
 and-not CTA
 and CP
 and-not CEL
 and-not CNW
 and-not CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer pfet CD
 and CPP
 and-not CWNR
 and-not CTA
 and CP
 and-not CEL
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer nsd CD
 and CNP
 and-not CWNR
 and-not CTA
 and CNW
 and-not CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer psd CD
 and CPP
 and-not CWNR
 and-not CTA
 and-not CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer ndc CD
 and CNP
 and CCA
 and-not CV
 and-not CWNR
 and-not CTA
 
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer ndc CD
 and CNP
 and CC
 and-not CV
 and-not CWNR
 and-not CTA
 
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer nsc CD
 and CNP
 and CCA
 and-not CV
 and-not CWNR
 and-not CTA
 
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer nsc CD
 and CNP
 and CC
 and-not CV
 and-not CWNR
 and-not CTA
 
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer pdc CD
 and CPP
 and CCA
 and-not CV
 and-not CTA
 
 and-not CPS
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer pdc CD
 and CPP
 and CC
 and-not CV
 and-not CTA
 
 and-not CPS
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer psc CD
 and CPP
 and CCA
 and-not CV
 and-not CTA
 
 and-not CPS
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer psc CD
 and CPP
 and CC
 and-not CV
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer ndc CD
 and CNP
 and CCA
 and CV
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer ndc CD
 and CNP
 and CC
 and CV
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer nsc CD
 and CNP
 and CCA
 and CV
 and CV2
 and-not CWNR
 and-not CTA
 
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer nsc CD
 and CNP
 and CC
 and CV
 and CV2
 and-not CWNR
 and-not CTA
 
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer pdc CD
 and CPP
 and CCA
 and CV
 and CV2
 and-not CTA
 
 and-not CPS
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer pdc CD
 and CPP
 and CC
 and CV
 and CV2
 and-not CTA
 
 and-not CPS
 and CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer psc CD
 and CPP
 and CCA
 and CV
 and CV2
 and-not CTA
 
 and-not CPS
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CCA 48 *

 layer psc CD
 and CPP
 and CC
 and CV
 and CV2
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CNW
 and CM
 grow 27
 grow 14
 shrink 14
 calma CC 8 *

 layer poly CP
 and-not CRE
 labels CP
 calma CP 4 *

 layer rp CP
 and CRE
 and-not CSB
 calma CP 4 *

 layer rp CP
 and CRG
 calma CP 4 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer pc CCP
 and-not CV
 and CP
 and-not CPC
 and-not CEL
 and-not CD
 grow 27
 and CM
 grow 14
 shrink 14
 calma CCP 47 *

 layer pc CC
 and-not CV
 and CP
 and-not CPC
 and-not CEL
 and-not CD
 grow 27
 and CM
 grow 14
 shrink 14
 calma CC 8 *

 layer pc CCP
 and CV
 and CV2
 and CP
 and-not CPC
 and-not CEL
 and-not CD
 grow 27
 and CM
 grow 14
 shrink 14
 calma CCP 47 *

 layer pc CC
 and CV
 and CV2
 and CP
 and-not CPC
 and-not CEL
 and-not CD
 grow 27
 and CM
 grow 14
 shrink 14
 calma CC 8 *

 layer gc CCP
 and-not CP
 and-not CPC
 calma CCP 47 *

 layer gc CCP
 and-not CM
 calma CCP 47 *

 layer gc CCA
 and-not COP
 and-not CD
 and-not CBA
 calma CCA 48 *

 layer gc CCA
 and-not COP
 and-not CM
 calma CCA 48 *

 layer gc CC
 and-not COP
 and-not CP
 and-not CPC
 and-not CEL
 and-not CD
 and-not CBA
 calma CC 8 *

 layer gc CC
 and-not COP
 and-not CM
 calma CC 8 *

 layer gc CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc CCE
 and-not CM
 calma CCE 55 *

 layer gv1 CV
 and-not COP
 and-not CM
 calma CV 10 *

 layer gv1 CV
 and-not COP
 and-not CM2
 calma CV 10 *

 layer gv2 CV2
 and-not COP
 and-not CM2
 calma CV2 12 *

 layer gv2 CV2
 and-not COP
 and-not CM3
 calma CV2 12 *

 layer m2c CV
 and-not CV2
 and-not CC
 and-not CCP
 and-not CCA
 and-not XP
 grow 27
 and CM2
 and CM
 grow 14
 shrink 14
 calma CV 10 *

 layer m1 CM
 and-not CRM
 and-not CRF
 and-not XP
 labels CM
 calma CM 9 *

 layer rm1 CRM
 and CM
 calma CRM 70 *

 layer rm1 CRF
 and CM
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 and-not XP
 labels CM2
 calma CM2 11 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer m3c CM3
 shrink 20
 and CV2

 and-not CV
 and-not XP
 grow 27
 and CM2
 grow 14
 shrink 14
 calma CV2 12 *

 layer m123c CM3
 shrink 20
 and CV2

 and CV
 and-not XP
 grow 27
 and CM2
 and CM
 grow 14
 shrink 14
 calma CV2 12 *

 layer m3 CM3
 shrink 20
 and-not CRM
 and-not CRT
 and-not XP
 labels CM3
 calma CM3 13 *

 layer rm3 CM3
 shrink 20
 and CRM
 calma CRM 70 *

 layer rm3 CM3
 shrink 20
 and CRT
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer pad XP
 labels pad
 calma XP 26 *

 layer glass CG
 and-not COP
 and-not XP
 labels CG
 calma CG 14 *

 layer nfi CFI
 and CNW
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CNW
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  CASCADE_HP26G(cs)
 scalefactor  27

 layer nwell CNW
 and-not CWNR
 and-not CTA
 labels CNW
 calma CNW 1 *

 layer rnw CNW
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CD
 and-not CP
 calma CNW 1 *

 layer rnw CNW
 and-not CWNR
 and CRW
 and-not CRD
 and-not CD
 and-not CP
 calma CNW 1 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *


 ignore CWP
 calma CWP 41 *

 layer diff CD
 and-not CTA
 and-not CP
 and-not CWNR
 and-not COP
 and-not CNP
 and-not CPP
 labels CD
 calma CD 2 *

 layer tran CD
 and-not CTA
 and CP
 and-not CWNR
 and-not COP
 and-not CNP
 and-not CPP
 labels CD
 calma CD 2 *

 layer nselect CNP
 calma CNP 5 *

 layer pselect CPP
 calma CPP 7 *

 layer ndiff CD
 and CNP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer rnd CD
 and CNP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and-not CBA
 calma CD 2 *

 layer rnd CD
 and CNP
 and-not CWNR
 and CRD
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and-not CBA
 calma CD 2 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CD
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and CNP
 and-not CBA
 calma CRD 66 *

 layer pdiff CD
 and CPP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer rpd CD
 and CPP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 calma CD 2 *

 layer rpd CD
 and CPP
 and-not CWNR
 and CRD
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 calma CD 2 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CD
 and-not CSB
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 calma CRD 66 *

 layer nfet CD
 and CNP
 and-not CWNR
 and-not CTA
 and CP
 and-not CEL
 and-not CNW
 and-not CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer pfet CD
 and CPP
 and-not CWNR
 and-not CTA
 and CP
 and-not CEL
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer nsd CD
 and CNP
 and-not CWNR
 and-not CTA
 and CNW
 and-not CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer psd CD
 and CPP
 and-not CWNR
 and-not CTA
 and-not CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer gc CCA
 and CP
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and CP
 and-not CEL
 calma CCP 47 *

 layer gc CC
 and CP
 and-not CEL
 calma CC 8 *

 layer gc CCE
 and CP
 and-not CEL
 calma CCE 55 *

 layer gc CCA
 and-not COP
 and-not CPC
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and-not COP
 and-not CPC
 and-not CEL
 calma CCP 47 *

 layer gc CC
 and-not COP
 and-not CPC
 and-not CEL
 calma CC 8 *

 layer gc CCE
 and-not COP
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer poly CP
 and-not CRE
 labels CP
 calma CP 4 *

 layer rp CP
 and CRE
 and-not CSB
 calma CP 4 *

 layer rp CP
 and CRG
 calma CP 4 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer m1 CM
 and-not CRM
 and-not CRF
 labels CM
 calma CM 9 *

 layer rm1 CRM
 and CM
 calma CRM 70 *

 layer rm1 CRF
 and CM
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV
 calma CV 10 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 labels CM2
 calma CM2 11 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 12 *

 layer m3 CM3
 shrink 20
 and-not CRM
 and-not CRT
 labels CM3
 calma CM3 13 *

 layer rm3 CM3
 shrink 20
 and CRM
 calma CRM 70 *

 layer rm3 CM3
 shrink 20
 and CRT
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer xp XP
 calma XP 26 *

 layer glass CG
 and-not COP
 labels CG
 calma CG 14 *

 layer nfi CFI
 and CNW
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CNW
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *


style  CASCADE_HP26G(c)
 scalefactor  27

 layer nwell CNW
 and-not CWNR
 and-not CTA
 labels CNW
 calma CNW 1 *

 layer rnw CNW
 and-not CWNR
 and CRE
 and-not CSB
 and-not CRD
 and-not CD
 and-not CP
 calma CNW 1 *

 layer rnw CNW
 and-not CWNR
 and CRW
 and-not CRD
 and-not CD
 and-not CP
 calma CNW 1 *

 layer pseudo_rnwell CRW
 and-not CRE
 calma CRW 65 *


 ignore CWP
 calma CWP 41 *

 layer diff CD
 and-not CTA
 and-not CP
 and-not CWNR
 and-not COP
 and-not CNP
 and-not CPP
 labels CD
 calma CD 2 *

 layer tran CD
 and-not CTA
 and CP
 and-not CWNR
 and-not COP
 and-not CNP
 and-not CPP
 labels CD
 calma CD 2 *

 calma CNP 5 *

 calma CPP 7 *

 layer ndiff CD
 and CNP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer rnd CD
 and CNP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and-not CBA
 calma CD 2 *

 layer rnd CD
 and CNP
 and-not CWNR
 and CRD
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and-not CBA
 calma CD 2 *

 layer pseudo_rndiff CRD
 and-not CRE
 and-not CD
 and-not CSB
 and-not CP
 and-not CNW
 and-not CPP
 and CNP
 and-not CBA
 calma CRD 66 *

 layer pdiff CD
 and CPP
 and-not CWNR
 and-not CTA
 and-not CRE
 and-not CSB
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer rpd CD
 and CPP
 and-not CWNR
 and CRE
 and-not CSB
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 calma CD 2 *

 layer rpd CD
 and CPP
 and-not CWNR
 and CRD
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 calma CD 2 *

 layer pseudo_rpdiff CRD
 and-not CRE
 and-not CD
 and-not CSB
 and-not CP
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 calma CRD 66 *

 layer nfet CD
 and CNP
 and-not CWNR
 and-not CTA
 and CP
 and-not CEL
 and-not CNW
 and-not CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer pfet CD
 and CPP
 and-not CWNR
 and-not CTA
 and CP
 and-not CEL
 and CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer nsd CD
 and CNP
 and-not CWNR
 and-not CTA
 and CNW
 and-not CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer psd CD
 and CPP
 and-not CWNR
 and-not CTA
 and-not CNW
 and-not CNP
 and-not CPS
 and CPP
 and-not CBA
 labels CD
 calma CD 2 *

 layer gc CCA
 and CP
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and CP
 and-not CEL
 calma CCP 47 *

 layer gc CC
 and CP
 and-not CEL
 calma CC 8 *

 layer gc CCE
 and CP
 and-not CEL
 calma CCE 55 *

 layer gc CCA
 and-not COP
 and-not CPC
 and-not CEL
 calma CCA 48 *

 layer gc CCP
 and-not COP
 and-not CPC
 and-not CEL
 calma CCP 47 *

 layer gc CC
 and-not COP
 and-not CPC
 and-not CEL
 calma CC 8 *

 layer gc CCE
 and-not COP
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer poly CP
 and-not CRE
 labels CP
 calma CP 4 *

 layer rp CP
 and CRE
 and-not CSB
 calma CP 4 *

 layer rp CP
 and CRG
 calma CP 4 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

 layer m1 CM
 and-not CRM
 and-not CRF
 labels CM
 calma CM 9 *

 layer rm1 CRM
 and CM
 calma CRM 70 *

 layer rm1 CRF
 and CM
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV
 calma CV 10 *

 layer m2 CM2
 and-not CRM
 and-not CRS
 labels CM2
 calma CM2 11 *

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 12 *

 layer m3 CM3
 shrink 20
 and-not CRM
 and-not CRT
 labels CM3
 calma CM3 13 *

 layer rm3 CM3
 shrink 20
 and CRM
 calma CRM 70 *

 layer rm3 CM3
 shrink 20
 and CRT
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer xp XP
 calma XP 26 *

 layer glass CG
 and-not COP
 labels CG
 calma CG 14 *

 layer nfi CFI
 and CNW
 labels CFI
 calma CFI 27 *

 layer pfi CFI
 and-not CNW
 labels CFI
 calma CFI 27 *

 layer comment CX
 labels CX
 calma CX 63 *

 calma CTA 60 *

#CRE/CRM
 calma CRW 65 *
 calma CRG 67 *
 calma CRD 66 *
 calma CRE 64 *
 calma CRF 71 *
 calma CRS 72 *
 calma CRT 73 *
 calma CRM 70 *

style  fill-only
 scalefactor  27
# scalefactor  100

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fa 109
 or fb
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

end

mzrouter
 style irouter
#		layer	hCost	vCost	jogCost	hintCost 
 layer		metal3	1	2	2	1
 layer		metal2	2	1	2	1
 layer		metal1	2	3	2	1
 layer		poly	10	10	11	1
 contact	m3contact	metal3	metal2	5
 contact	m2contact	metal2	metal1	6
 contact	pcontact	metal1	poly	7
 notactive	poly	pcontact

style	garouter
 layer	m2	32	64	256	1
 layer	m1	64	32	256	1
 contact	m2contact	metal1	metal2	1024

end

drc
 width nwell 12 \
 "N-well width < 12 (Mosis #1.1)"

 width rnw 12 \
 "rnwell (for resistor L/W extraction) width < 12 (Mosis #1.1)"

 width pwell 12 \
 "P-well width < 12 (Mosis #1.1)"

 width diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a 3 \
 "Diffusion width < 3 (Mosis #2.1)"

 width poly,fp,rp,pc/a,nfet,pfet,fet 2 \
 "Poly width < 2 (Mosis #3.1)"

 width nselect 2 \
 "N-Select width < 2 (Mosis #4.4)"

 width pselect 2 \
 "P-Select width < 2 (Mosis #4.4)"

 width pc/m1 4 \
 "Poly contact width < 4 (Mosis #5.1)"

 width gc 2 \
 "GC contact width < 2 (Mosis #6.1)"

 width ndc/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width nsc/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width pdc/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width psc/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1 3 \
 "Metal1 width < 3 (Mosis #7.1)"

 width gv1 2 \
 "GV1 via width < 2 (Mosis #8.1)"

 width m2c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width m123c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2 3 \
 "Metal2 width < 3 (Mosis #9.1)"

 width gv2 2 \
 "GV2 via width < 2 (Mosis #14.1)"

 width m3c/m2 4 \
 "Metal3 contact width < 4 (Mosis #14.1)"

 width m123c/m2 4 \
 "Metal3 contact width < 4 (Mosis #14.1)"

 width m3,fm3,rm3,m3c/m3,m123c/m3,pad 4 \
 "Metal3 width < 4 (Mosis #15.1)"

 width nfi,pfi 4 \
 "N/P_field-implant width < 4 (Mosis #29.1)"

 spacing nwell nwell 6 touching_ok \
 "N-well(at-same-potential) spacing < 6 (Mosis #1.3)"

 spacing pwell pwell 6 touching_ok \
 "P-well(at-same-potential) spacing < 6 (Mosis #1.3)"

 spacing rnw nwell 18 touching_illegal \
 "rnw (for resistor L/W extraction) spacing to N-well < 18 (Mosis #2.3)"

 edge4way ~(pwell)/well pwell 1 ~(rnw)/active 0 0 \
 "P-well cannot touch rnw (for resistor L/W extraction) (Mosis #1.4)" active

 spacing diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a 3 touching_ok \
 "Diffusion spacing < 3 (Mosis #2.2)"

 spacing nwell ndiff,rnd,nfet,ndc/a 6 touching_illegal \
 "N-well spacing to N-Diffusion < 6 (Mosis #2.3)"

 spacing pwell pdiff,rpd,pfet,pdc/a 6 touching_illegal \
 "P-well spacing to P-Diffusion < 6 (Mosis #2.3)"

 spacing ndiff,rnd,nfet,ndc/a pdiff,rpd,pfet,pdc/a 12 touching_illegal \
 "N-Diffusion spacing to P-Diffusion < 12 (Mosis #2.3+2.3)"

 edge4way ~(nwell)/well nwell 6 ~(pdiff,rpd,pfet,pdc/a)/active nwell 6 \
 "N-well overlap of P-Diffusion < 6 (Mosis #2.4)" active

 edge4way ~(pwell)/well pwell 6 ~(ndiff,rnd,nfet,ndc/a)/active pwell 6 \
 "P-well overlap of N-Diffusion < 6 (Mosis #2.4)" active

 edge4way ~(nwell)/well nwell 3 ~(nsd,nsc/a)/active nwell 3 \
 "N-well overlap of N-Ohmic < 3 (Mosis #2.4)" active

 edge4way ~(pwell)/well pwell 3 ~(psd,psc/a)/active pwell 3 \
 "P-well overlap of P-Ohmic < 3 (Mosis #2.4)" active

 spacing ndiff,rnd,ndc/a nsd,nsc/a 9 touching_illegal \
 "N-Diffusion spacing to N-Ohmic < 9 (Mosis #2.3+2.4)"

 spacing pdiff,rpd,pdc/a psd,psc/a 9 touching_illegal \
 "P-Diffusion spacing to P-Ohmic < 9 (Mosis #2.3+2.4)"

 spacing nwell psd,psc/a 3 touching_illegal \
 "N-well spacing to P-Ohmic < 3 (Mosis #2.4)"

 spacing pwell nsd,nsc/a 3 touching_illegal \
 "P-well spacing to N-Ohmic < 3 (Mosis #2.4)"

 spacing psd,psc/a rnw,prnw 3 touching_illegal \
 "P-Ohmic spacing to rnw,prnw < 3 (Mosis #2.4)"

 spacing nsd,nsc/a psd,psc/a 6 touching_illegal \
 "N-Ohmic spacing to P-Ohmic < 6 (Mosis #2.4+2.4)"

 spacing ndiff,rnd,nfet,ndc/a,nfet psd,psc/a 4 touching_ok \
 "N-Diffusion spacing to P-Ohmic < 4 (Mosis #2.5)"

 spacing pdiff,rpd,pfet,pdc/a,pfet nsd,nsc/a 4 touching_ok \
 "P-Diffusion spacing to N-Ohmic < 4 (Mosis #2.5)"

 spacing poly,rp,pc/a,nfet,pfet,fet poly,rp,pc/a,nfet,pfet,fet 3 touching_ok \
 "Poly spacing < 3 (Mosis #3.2)"

 spacing poly,rp,pc/a,nfet,pfet,fet fp,fapm 3 touching_illegal \
 "Poly spacing to fill layer (fp) < 3 (Mosis #3.2)"

 spacing fp fp 4 touching_ok \
 "Poly fill layer (fp) spacing < 4 (Mosis #0)"

 edge4way nfet,pfet,fet space/active,poly,fp,rp,pc/a 2 poly,fp,rp,pc/a 0 0 \
 "Poly overhang of Transistor < 2 (Mosis #3.3)" active

 edge4way nfet,pfet,fet space/active,ndiff,rnd,ndc/a,pdiff,rpd,pdc/a 3 ndiff,rnd,ndc/a,pdiff,rpd,pdc/a,nfet,pfet,fet 0 0 \
 "N-Diffusion,P-Diffusion overhang of Transistor < 3 (Mosis #3.4)" active

 edge4way poly,fp,rp,pc/a ~(poly,fp,rp,pc/a,nfet,pfet,fet,prp)/active 1 space space 1 \
 "Poly spacing to Diffusion < 1 (Mosis #3.5)"

 edge4way nfet ~(nfet)/active 3 ~(pselect)/select ~(nfet)/active 3 \
 "N-Transistor space to P-Select < 3 (Mosis #4.1)" select

 edge4way pfet ~(pfet)/active 3 ~(nselect)/select ~(pfet)/active 3 \
 "P-Transistor space to N-Select < 3 (Mosis #4.1)" select

 edge4way nfet ~(nfet)/active 3 ~(psd,psc/a)/active ~(nfet)/active 2 \
 "N-Transistor space to P-Ohmic < 3 (Mosis #4.1)" active

 edge4way pfet ~(pfet)/active 3 ~(nsd,nsc/a)/active ~(pfet)/active 2 \
 "P-Transistor space to N-Ohmic < 3 (Mosis #4.1)" active

#PEZ edge4way psd,psc/a space  ~(nfet)/active space  \
#PEZ "P-Ohmic space to N-Transistor <  (Mosis #4.1)" active

#PEZ edge4way nsd,nsc/a space  ~(pfet)/active space  \
#PEZ "N-Ohmic space to P-Transistor <  (Mosis #4.1)" active

 edge4way ~(nselect,pselect)/select nselect,pselect 2 ~(diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a)/active nselect,pselect 2 \
 "N-Select,P-Select overlap of Diffusion < 2 (Mosis #4.2_)" active

 edge4way space nselect,pselect 2 ~(ndiff,rnd,nfet,ndc/a)/active nselect 2 \
 "N-Select space to N-Diffusion < 2 (Mosis #4.2a)" active

 edge4way nselect,pselect space 2 ~(ndiff,rnd,nfet,ndc/a)/active nselect 2 \
 "N-Select space to N-Diffusion < 2 (Mosis #4.2b)" active

 edge4way nselect,pselect space 2 ~(ndiff,rnd,nfet,ndc/a)/active space,nselect,pselect 2 \
 "N-Select space to N-Diffusion < 2 (Mosis #4.2c)" active

 edge4way space nselect,pselect 2 ~(pdiff,rpd,pfet,pdc/a)/active pselect 2 \
 "P-Select space to P-Diffusion < 2 (Mosis #4.2aa)" active

 edge4way nselect,pselect space 2 ~(pdiff,rpd,pfet,pdc/a)/active pselect 2 \
 "P-Select space to P-Diffusion < 2 (Mosis #4.2bb)" active

 edge4way nselect,pselect space 2 ~(pdiff,rpd,pfet,pdc/a)/active space,nselect,pselect 2 \
 "P-Select space to P-Diffusion < 2 (Mosis #4.2cc)" active

  area nsd,psd,nsc/a,psc/a 16 3 \
 "Ohmic-Diffusion area < 16 (Mosis #+++)"

 edge4way diff space 2 nselect space 2 \
 "N-Select must overlap Diffusion by 2 (Mosis #4.2)" select

 edge4way diff space 2 pselect space 2 \
 "P-Select must overlap Diffusion by 2 (Mosis #4.2)" select

 edge4way ndiff,rnd,nfet,ndc/a space 2 ~(pselect)/select space 2 \
 "P-Select space to N-Diffusion < 2 (Mosis #4.2e)" select

 edge4way pdiff,rpd,pfet,pdc/a space 2 ~(nselect)/select space 2 \
 "N-Select space to P-Diffusion < 2 (Mosis #4.2e)" select

 edge4way ~(pdiff,rpd,pfet,pdc/a,psd,psc/a)/active pdiff,rpd,pfet,pdc/a,psd,psc/a 1 ~(nselect)/select 0 0 \
 "N-Select cannot touch P-Diffusion,P-Ohmic (Mosis #4.2f)" select

 edge4way ~(ndiff,rnd,nfet,ndc/a,nsd,nsc/a)/active ndiff,rnd,nfet,ndc/a,nsd,nsc/a 1 ~(pselect)/select 0 0 \
 "P-Select cannot touch N-Diffusion,N-Ohmic (Mosis #4.2f)" select

 spacing nselect nselect 2 touching_ok \
 "N-Select spacing < 2 (Mosis #4.4)"

 spacing pselect pselect 2 touching_ok \
 "P-Select spacing < 2 (Mosis #4.4)"

  edge4way ndiff,rnd,ndc/a psd,psc/a 2 ~(ndiff,rnd,ndc/a)/active 0 0 \
 "P-Ohmic(that touches N-Diffusion) width < 2 (Mosis #4.4)"

  edge4way pdiff,rpd,pdc/a nsd,nsc/a 2 ~(pdiff,rpd,pdc/a)/active 0 0 \
 "N-Ohmic(that touches P-Diffusion) width < 2 (Mosis #4.4)"

 edge4way gc ~(gc)/contact 1 poly,fp,rp,pc/a,diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a ~(gc)/contact 1 \
 "Poly,Diffusion overlap of GC contact < 1 (Mosis #5.2)" active

 edge4way gc space 1 poly,fp,rp,pc/a,diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a space 1 \
 "one of: Poly,Diffusion must overlap GC contact by 1 (Mosis #5.2a,6.2a)" active

 edge4way ~(poly,fp,rp,pc/a,diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a)/active poly,fp,rp,pc/a,diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a 1 ~(gc)/contact 0 0 \
 "Edge to one of: Poly,Diffusion cannot touch GC contact (Mosis #5.2a,6.2a)" contact

 spacing gc gc 3 touching_ok \
 "Generic contact spacing < 3 (Mosis #5.3)"

 edge4way ~(gc)/contact gc 1 ~(ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1)/metal1 0 0 \
 "GC contact cannot touch Metal1 contacts (Mosis #0)" metal1

 spacing gv1 m2c/m2,m123c/m2 2 touching_illegal \
 "GV1 via spacing to Metal2 contacts < 2 (Mosis #14.2)"

#PSC spacing poly,fp,rp,pc/a pc/a 4 touching_ok \
#PSC "Poly spacing to Poly contact < 4 (Mosis #5.5.b)"

 edge4way gc ~(gc)/contact 1 diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,poly,fp,rp,pc/a ~(gc)/contact 1 \
 "Diffusion,Poly overlap of GC contact < 1 (Mosis #6.2)" active

 spacing gc pc/a,ndc/a,pdc/a,psc/a,nsc/a 2 touching_illegal \
 "Generic contact spacing to Poly contact,Diffusion contact < 2 (Mosis #5.3)"

 spacing nsc/m1 pdc/m1 1 touching_illegal \
 "nsc spacing to pdc < 1 (Mosis #6.3)"

 spacing psc/m1 ndc/m1 1 touching_illegal \
 "psc spacing to ndc < 1 (Mosis #6.3)"

 spacing m123c/m2 m2c/m2,m3c/m2 1 touching_illegal \
 "m123c spacing to m2c or m3c < 1 (Mosis #6.3)"

 spacing nfet,pfet ndc/a,pdc/a,psc/a,nsc/a 1 touching_illegal \
 "N-Transistor,P-Transistor spacing to Diffusion contact < 1 (Mosis #6.4)"

 spacing nfet,pfet gc 2 touching_illegal \
 "N-Transistor,P-Transistor spacing to Generic contact < 2 (Mosis #6.4)"

 spacing diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a pc/a 1 touching_illegal \
 "Diffusion spacing to Poly contact < 1 (Mosis #6.5.b)"

 spacing diff,ndiff,rnd,nfet,nsd,pdiff,rpd,pfet,psd,ndc/a,nsc/a,pdc/a,psc/a,nfet,pfet ndc/a,pdc/a,psc/a,nsc/a 4 touching_ok \
 "Diffusion spacing to Diffusion contact < 4 (Mosis #6.5.b)"

 spacing pc/a ndc/a,pdc/a,psc/a,nsc/a 2 touching_illegal \
 "pc/a spacing to ndc/a,pdc/a,psc/a,nsc/a < 2 (Mosis #6.7)"

 spacing m1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1 m1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1 3 touching_ok \
 "Metal1 spacing < 3 (Mosis #7.2)"

 spacing m1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1 fm1,fapm 3 touching_illegal \
 "Metal1 spacing to fill layer (fm1) < 3 (Mosis #7.2)"

 spacing fm1 fm1 4 touching_ok \
 "Metal1 fill layer (fm1) spacing < 4 (Mosis #0)"

 edge4way gc space 1 m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1 space 1 \
 "Metal1 must overlap GC contact by 1 (Mosis #7.3,7.4)" metal1

 edge4way ~(m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1)/metal1 m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1 1 ~(gc)/contact 0 0 \
 "Metal1(edge) cannot touch GC contact (Mosis #7.3+7.4)" contact

 spacing gv1 gv1 3 touching_ok \
 "GV1 via spacing < 3 (Mosis #8.2)"

 edge4way gv1 ~(gv1)/via1 1 m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1 ~(gv1)/via1 1 \
 "Metal1 overlap of GV1 via < 1 (Mosis #8.3)" metal1

 edge4way gv1 space 1 m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1 space 1 \
 "Metal1 must overlap GV1 via by 1 (Mosis #8.3)" metal1

 edge4way ~(m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1)/metal1 m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1 1 ~(gv1)/via1 0 0 \
 "Metal1(edge) cannot touch GV1 via (Mosis #8.3)" via1

 spacing gc gv1 2 touching_illegal \
 "GC contact spacing to GV1 via < 2 (Mosis #8.4)"

 spacing gc m2c/m2,m123c/m2 2 touching_illegal \
 " spacing to Metal2 contacts < 2 (Mosis #14.2)"

 spacing gc m2c/m2,m123c/m2 2 touching_illegal \
 "GC contact spacing to Metal2 contacts < 2 (Mosis #8.4)"

 spacing m2,rm2,m2c/m2,m123c/m2,m3c/m2 m2,rm2,m2c/m2,m123c/m2,m3c/m2 3 touching_ok \
 "Metal2 spacing < 3 (Mosis #9.2)"

 spacing m2,rm2,m2c/m2,m123c/m2,m3c/m2 fm2,fapm 3 touching_illegal \
 "Metal2 spacing to fill layer (fm2) < 3 (Mosis #9.2)"

 spacing fm2 fm2 4 touching_ok \
 "Metal2 fill layer (fm2) spacing < 4 (Mosis #0)"

 edge4way gv1 space 1 m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2 space 1 \
 "Metal2 must overlap GV1 via by 1 (Mosis #9.3)" metal2

 edge4way ~(m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2)/metal2 m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2 1 ~(gv1)/via1 0 0 \
 "Metal2(edge) cannot touch GV1 via (Mosis #9.3)" via1

 width glass 10 \
 "COG width < 10 (Mosis #10.2)"

 edge4way ~(pad)/metal3 pad 15 ~(glass)/oxide pad 15 \
 "pad overlap of COG < 15 (Mosis #10.3)" oxide

 spacing gv2 gv2 3 touching_ok \
 "GV2 via spacing < 3 (Mosis #14.2)"

 spacing gv2 m3c/m2,m123c/m2 2 touching_illegal \
 "GV2 via spacing to Metal3 contact < 2 (Mosis #14.2)"

 edge4way gv2 space 1 m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2 space 1 \
 "Metal2 must overlap GV2 via by 1 (Mosis #14.3)" metal2

 edge4way ~(m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2)/metal2 m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2 1 ~(gv2)/via2 0 0 \
 "Metal2(edge) cannot touch GV2 via (Mosis #14.3)" via2

 spacing m3,rm3,m3c/m3,m123c/m3,pad m3,rm3,m3c/m3,m123c/m3,pad 4 touching_ok \
 "Metal3 spacing < 4 (Mosis #15.2)"

 spacing m3,rm3,m3c/m3,m123c/m3,pad fm3,fapm 4 touching_illegal \
 "Metal3 spacing to fill layer (fm3) < 4 (Mosis #15.2)"

 spacing fm3 fm3 4 touching_ok \
 "Metal3 fill layer (fm3) spacing < 4 (Mosis #0)"

 edge4way gv2 space 1 m3,fm3,rm3,m3c/m3,m123c/m3,pad space 1 \
 "Metal3 must overlap GV2 via by 1 (Mosis #15.3)" metal3

 edge4way ~(m3,fm3,rm3,m3c/m3,m123c/m3,pad)/metal3 m3,fm3,rm3,m3c/m3,m123c/m3,pad 1 ~(gv2)/via2 0 0 \
 "Metal3(edge) cannot touch GV2 via (Mosis #15.3)" via2

 spacing nfi nfi 4 touching_ok \
 "N_field-implant spacing < 4 (Mosis #35.2)"

 spacing pfi pfi 4 touching_ok \
 "P_field-implant spacing < 4 (Mosis #35.2)"

 spacing nfi pfi 4 touching_illegal \
 "N_field-implant spacing to P_field-implant < 4 (Mosis #35.2)"

 spacing nwell,pdiff,rpd,pfet,pdc/a pfi 4 touching_illegal \
 "N-well,P-Diffusion spacing to P_field-implant < 4 (Mosis #2.1)"

 spacing pwell,ndiff,rnd,nfet,ndc/a nfi 4 touching_illegal \
 "P-well,N-Diffusion spacing to N_field-implant < 4 (Mosis #2.1)"

 edge4way ~(nwell)/well nwell 4 ~(nfi)/implant nwell 4 \
 "N-well overlap of N_field-implant < 4 (Mosis #21.2)" implant

 edge4way ~(pwell)/well pwell 4 ~(pfi)/implant pwell 4 \
 "P-well overlap of P_field-implant < 4 (Mosis #21.2)" implant

 spacing fa fapm 4 touching_illegal \
 "fill layer fa spacing to fill layer fapm < 4 (Mosis #0)"

 width fa 5 \
 "filla width < 5 (Mosis #0)"

 width fapm 5 \
 "fillapm width < 5 (Mosis #0)"

 width fp 5 \
 "fillp width < 5 (Mosis #0)"

 width fm1 5 \
 "fillm1 width < 5 (Mosis #0)"

 width fm2 5 \
 "fillm2 width < 5 (Mosis #0)"

 width fm3 5 \
 "fillm3 width < 5 (Mosis #0)"

 edge4way fa ~(fa)/fill 1 ~(fa)/fill (~(fa),fa)/fill 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fb ~(fb)/fill 1 ~(fb)/fill (~(fb),fb)/fill 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fapm ~(fapm)/active 1 ~(fapm)/active (~(fapm),fapm)/active 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fp ~(fp)/active 1 ~(fp)/active (~(fp),fp)/active 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fm1 ~(fm1)/metal1 1 ~(fm1)/metal1 (~(fm1),fm1)/metal1 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fm2 ~(fm2)/metal2 1 ~(fm2)/metal2 (~(fm2),fm2)/metal2 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fm3 ~(fm3)/metal3 1 ~(fm3)/metal3 (~(fm3),fm3)/metal3 1 \
 "Contact not rectangular (Magic rule)"

 edge4way rp space/active 1 prp 0 0 \
 "prp overhang of rpoly (for resistor L/W extraction) < 1 (Mosis #0)" active

 edge4way rnw space/active 1 prnw 0 0 \
 "prnw overhang of rnwell (for resistor L/W extraction) < 1 (Mosis #0)" active

 edge4way rpd space/active 1 prpd 0 0 \
 "prpd overhang of rpdiff (for resistor L/W extraction) < 1 (Mosis #0)" active

 edge4way rnd space/active 1 prnd 0 0 \
 "prnd overhang of rndiff (for resistor L/W extraction) < 1 (Mosis #0)" active

 edge4way rm1 space/metal1 1 prm1 0 0 \
 "prm1 overhang of rmetal1 (for resistor L/W extraction) < 1 (Mosis #0)" metal1

 edge4way rm2 space/metal2 1 prm2 0 0 \
 "prm2 overhang of rmetal2 (for resistor L/W extraction) < 1 (Mosis #0)" metal2

 edge4way rm3 space/metal3 1 prm3 0 0 \
 "prm3 overhang of rmetal3 (for resistor L/W extraction) < 1 (Mosis #0)" metal3

 edge4way ndc/a,nsc/a ~(ndc/a,nsc/a)/active 1 ~(ndc/a,nsc/a)/active (~(ndc/a,nsc/a),ndc/a,nsc/a)/active 1 \
 "Contact not rectangular (Magic rule)"

 edge4way pdc/a,psc/a ~(pdc/a,psc/a)/active 1 ~(pdc/a,psc/a)/active (~(pdc/a,psc/a),pdc/a,psc/a)/active 1 \
 "Contact not rectangular (Magic rule)"

 edge4way pc/a ~(pc/a)/active 1 ~(pc/a)/active (~(pc/a),pc/a)/active 1 \
 "Contact not rectangular (Magic rule)"

 edge4way gc ~(gc)/contact 1 ~(gc)/contact (~(gc),gc)/contact 1 \
 "Contact not rectangular (Magic rule)"

 edge4way gv1 ~(gv1)/via1 1 ~(gv1)/via1 (~(gv1),gv1)/via1 1 \
 "Contact not rectangular (Magic rule)"

 edge4way m2c/m1,m123c/m1 ~(m2c/m1,m123c/m1)/metal1 1 ~(m2c/m1,m123c/m1)/metal1 (~(m2c/m1,m123c/m1),m2c/m1,m123c/m1)/metal1 1 \
 "Contact not rectangular (Magic rule)"

 edge4way gv2 ~(gv2)/via2 1 ~(gv2)/via2 (~(gv2),gv2)/via2 1 \
 "Contact not rectangular (Magic rule)"

 edge4way m3c/m2,m123c/m2 ~(m3c/m2,m123c/m2)/metal2 1 ~(m3c/m2,m123c/m2)/metal2 (~(m3c/m2,m123c/m2),m3c/m2,m123c/m2)/metal2 1 \
 "Contact not rectangular (Magic rule)"

 exact_overlap gc,ndc/a,pdc/a,psc/a,nsc/a,gc,pc/a,gc

 edge4way pad ~(pad)/m3 1 ~(pad)/m3 (~(pad),pad)/m3 1 \
 "Contact not rectangular (Magic rule)"

 exact_overlap ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1

 exact_overlap m2c/m2,m123c/m2

 exact_overlap m3c/m3,m123c/m3

 exact_overlap gv1

 exact_overlap gv2

# edge4way nfet,pfet,fet ~(nfet,pfet,fet)/active 1 ~(nfet,pfet,fet)/active nfet,pfet,fet 1 \
# "Transistor cannot bend in this process (Mosis #?.?)"


 width m1p 4 \
 "Metal1 PIN width < 4 (do_pins)"

 spacing m1p m1p 4 touching_ok \
 "Metal1 PIN spacing < 4 (do_pins)"

 width m2p 4 \
 "Metal2 PIN width < 4 (do_pins)"

 spacing m2p m2p 4 touching_ok \
 "Metal2 PIN spacing < 4 (do_pins)"

 width m3p 4 \
 "Metal3 PIN width < 4 (do_pins)"

 spacing m3p m3p 4 touching_ok \
 "Metal3 PIN spacing < 4 (do_pins)"

#CC cifstyle  lambda=0.40(p) 
#CC cifwidth CNW 480 \
#CC "generated CIF layer CNW width will be < 12 (';cif see CNW')"
#CC cifspacing CNW CNW 240 touching_ok \
#CC "generated CIF layer CNW spacing will be < 6 (';cif see CNW')"
#CC cifwidth CWP 480 \
#CC "generated CIF layer CWP width will be < 12 (';cif see CWP')"
#CC cifspacing CWP CWP 240 touching_ok \
#CC "generated CIF layer CWP spacing will be < 6 (';cif see CWP')"
#CC cifwidth CNP 80 \
#CC "generated CIF layer CNP width will be < 2 (';cif see CNP')"
#CC cifspacing CNP CNP 80 touching_ok \
#CC "generated CIF layer CNP spacing will be < 2 (';cif see CNP')"
#CC cifwidth CPP 80 \
#CC "generated CIF layer CPP width will be < 2 (';cif see CPP')"
#CC cifspacing CPP CPP 80 touching_ok \
#CC "generated CIF layer CPP spacing will be < 2 (';cif see CPP')"

 stepsize 400

end

extract
 style Nom:sparse:HP0.8um(hpcmos26g)
 cscale 1
 lambda 40
 step   100
 sidehalo 8
 planeorder well 0
 planeorder implant 1
 planeorder select 2
 planeorder active 3
 planeorder metal1 4
 planeorder metal2 5
 planeorder metal3 6
 planeorder oxide 7
 planeorder xp 8
 planeorder comment 9
 planeorder contact 10
 planeorder via1 11
 planeorder via2 12
 planeorder fill 13

 resist (ndiff,rnd,ndc,nsd,nsc)/active 2300
 resist (pdiff,rpd,pdc,psd,psc)/active 2000
 resist (nwell)/well 1600000
 resist (rnw)/active 1600000
 resist (pwell)/well 1
 resist (poly,fp,rp,pc,pc,nfet,pfet,fet)/active 2000
 resist (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c,m2c,m123c)/metal1  70
 resist (m2,fm2,rm2,m2c,m123c,m3c,m3c,m123c)/metal2  70
 resist (m3,fm3,rm3,m3c,m123c,pad)/metal3  50

 contact ndc 4 1400
 contact pdc 4 1200
 contact pc 4 1200
 contact m2c 4 500
 contact m3c 4 370


#nwell,cwell,pwell
 areacap (nwell)/well   6.400

#rnw
 areacap (rnw)/active   6.400

#ndiff
# MODEL HANDLES THIS: areacap (ndiff,ndc)/active  48
# MODEL HANDLES THIS: overlap (ndiff,ndc)/active ~space/w  48
# MODEL HANDLES THIS: perimc (ndiff,ndc)/active ~(ndiff,ndc,nfet,pfet,fet)/active 170
# MODEL HANDLES THIS: sideoverlap (ndiff,ndc)/active ~(ndiff,ndc,nfet,pfet,fet)/active ~space/w 170

 areacap (rnd)/active  48
 overlap (rnd)/active ~space/w  48
 perimc (rnd)/active ~(rnd)/active 170
 sideoverlap (rnd)/active ~(rnd)/active ~space/w 170

#pdiff
# MODEL HANDLES THIS: areacap (pdiff,pdc)/active  87.680
# MODEL HANDLES THIS: overlap (pdiff,pdc)/active ~space/w  87.680
# MODEL HANDLES THIS: perimc (pdiff,pdc)/active ~(pdiff,pdc,nfet,pfet,fet)/active  73.600
# MODEL HANDLES THIS: sideoverlap (pdiff,pdc)/active ~(pdiff,pdc,nfet,pfet,fet)/active ~space/w  73.600

 areacap (rpd)/active  87.680
 overlap (rpd)/active ~space/w  87.680
 perimc (rpd)/active ~(rpd)/active  73.600
 sideoverlap (rpd)/active ~(rpd)/active ~space/w  73.600

#rnw

#poly
# MODEL HANDLES THIS: overlap (nfet)/active (ndiff,rnd,ndc)/active 327.040
# MODEL HANDLES THIS: sideoverlap (nfet)/active ~(nfet)/active (ndiff,rnd,ndc)/active 101.200
# MODEL HANDLES THIS: overlap (pfet)/active (pdiff,rpd,pdc)/active 316
# MODEL HANDLES THIS: sideoverlap (pfet)/active ~(pfet)/active (pdiff,rpd,pdc)/active 103.200

 sidewall (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active (poly,fp,rp,pc)/active  16.665
 areacap (poly,fp,rp,pc)/active   1.778
 overlap (poly,fp,rp,pc)/active ~space/w   1.778
 perimc (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active   4.444
 sideoverlap (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active ~space/w   4.444

#poly2

#rnw

#metal1
 sidewall (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1  16.665
 areacap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1   1.778

#metal1-sub blocked by ~space/a
 overlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~space/w   1.778 ~space/a
 perimc (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1   4.444
 sideoverlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~space/w   4.444 ~space/a

#rnw
 overlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 rnw/active   1.778 
 sideoverlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 rnw/active   4.444 

#metal1-diff blocked by 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (ndiff,rnd,ndc)/active   1.778 
 sideoverlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (ndiff,rnd,ndc)/active   4.444 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (pdiff,rpd,pdc)/active   1.778 
 sideoverlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (pdiff,rpd,pdc)/active   4.444 

#metal1-poly blocked by 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (poly,fp,rp,pc,nfet,pfet,fet)/active   9.920 

#metal2
 sidewall (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (m2,fm2,rm2,m2c,m123c,m3c)/metal2  16.665
 areacap (m2,fm2,rm2,m3c,m123c)/metal2   1.778

#metal2-sub blocked by 
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 ~space/w   1.778 ~space/a,~space/m1
 perimc (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2   4.444
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~space/w   4.444 ~space/a,~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 rnw/active   1.778 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 rnw/active   4.444 ~space/m1

#metal2-*diff blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (ndiff,rnd,ndc)/active   1.778 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (ndiff,rnd,ndc)/active   4.444 ~space/m1
 overlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 (pdiff,rpd,pdc)/active   1.778 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (pdiff,rpd,pdc)/active   4.444 ~space/m1

#metal2-poly blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (poly,fp,rp,pc,nfet,pfet,fet)/active   3.360 ~space/m1

#M2->M1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1   4.640

#metal3
 sidewall (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (m3,fm3,rm3,m3c,m123c,pad)/metal3  16.665
 areacap (m3,fm3,rm3,pad)/metal3   1.778

#metal3-sub blocked by ~space/a,~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 ~space/w   1.778 ~space/a,~space/m1,~space/m2
 perimc (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3   4.444
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 ~space/w   4.444 ~space/a,~space/m1,~space/m2

#rnw
 overlap (m3,fm3,rm3,pad)/metal3 rnw/active   1.778 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 rnw/active   4.444 ~space/m1,~space/m2

#metal3-*diff blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (ndiff,rnd,ndc)/active   1.778 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (ndiff,rnd,ndc)/active   4.444 ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (pdiff,rpd,pdc)/active   1.778 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (pdiff,rpd,pdc)/active   4.444 ~space/m1,~space/m2

#metal3-poly blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (poly,fp,rp,pc,nfet,pfet,fet)/active   2.080 ~space/m1,~space/m2

#M3->M1
 overlap (m3,fm3,rm3,pad)/metal3 (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1   2.400 ~space/m2

#metal3-metal1 blocked by ~space/m2

#M3->M2
 overlap (m3,fm3,rm3,pad)/metal3 (m2,fm2,rm2,m2c,m123c,m3c)/metal2   4.640

#metal4

#metal5

#metal6

#metal7

#metali

#fets

 fet  pfet pdiff,pdc 2 pfet Vdd! nwell 103 316
 fet  pfet pdiff,pdc 1 pfet Vdd! nwell 103 316

 fet  nfet ndiff,ndc 2 nfet Gnd! pwell 101 327
 fet  nfet ndiff,ndc 1 nfet Gnd! pwell 101 327

 fetresis  pfet linear		13713
 fetresis  pfet saturation	13713
 fetresis  nfet linear		4678
 fetresis  nfet saturation	4678

 fet  rnwell	nsd,nsc	2	nwellResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly	poly,pc	2	polyResistor	Gnd!	nwell,pwell 0 0
 fet  rndiff	ndiff,ndc	2	ndiffResistor	Gnd!	nwell,pwell 0 0
 fet  rpdiff	pdiff,pdc	2	pdiffResistor	Gnd!	nwell,pwell 0 0

 fet  rmetal1	metal1	2	metal1Resistor	Gnd!	nwell,pwell 0 0
 fet  rmetal2	metal2	2	metal2Resistor	Gnd!	nwell,pwell 0 0
 fet  rmetal3	metal3	2	metal3Resistor	Gnd!	nwell,pwell 0 0

 style Nom:dense:HP0.8um(hpcmos26g)
 cscale 1
 lambda 40
 step   100
 sidehalo 8
 planeorder well 0
 planeorder implant 1
 planeorder select 2
 planeorder active 3
 planeorder metal1 4
 planeorder metal2 5
 planeorder metal3 6
 planeorder oxide 7
 planeorder xp 8
 planeorder comment 9
 planeorder contact 10
 planeorder via1 11
 planeorder via2 12
 planeorder fill 13

 resist (ndiff,rnd,ndc,nsd,nsc)/active 2300
 resist (pdiff,rpd,pdc,psd,psc)/active 2000
 resist (nwell)/well 1600000
 resist (rnw)/active 1600000
 resist (pwell)/well 1
 resist (poly,fp,rp,pc,pc,nfet,pfet,fet)/active 2000
 resist (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c,m2c,m123c)/metal1  70
 resist (m2,fm2,rm2,m2c,m123c,m3c,m3c,m123c)/metal2  70
 resist (m3,fm3,rm3,m3c,m123c,pad)/metal3  50

 contact ndc 4 1400
 contact pdc 4 1200
 contact pc 4 1200
 contact m2c 4 500
 contact m3c 4 370


#nwell,cwell,pwell
 areacap (nwell)/well   6.400

#rnw
 areacap (rnw)/active   6.400

#ndiff
# MODEL HANDLES THIS: areacap (ndiff,ndc)/active  48
# MODEL HANDLES THIS: overlap (ndiff,ndc)/active ~space/w  48
# MODEL HANDLES THIS: perimc (ndiff,ndc)/active ~(ndiff,ndc,nfet,pfet,fet)/active 170
# MODEL HANDLES THIS: sideoverlap (ndiff,ndc)/active ~(ndiff,ndc,nfet,pfet,fet)/active ~space/w 170

 areacap (rnd)/active  48
 overlap (rnd)/active ~space/w  48
 perimc (rnd)/active ~(rnd)/active 170
 sideoverlap (rnd)/active ~(rnd)/active ~space/w 170

#pdiff
# MODEL HANDLES THIS: areacap (pdiff,pdc)/active  87.680
# MODEL HANDLES THIS: overlap (pdiff,pdc)/active ~space/w  87.680
# MODEL HANDLES THIS: perimc (pdiff,pdc)/active ~(pdiff,pdc,nfet,pfet,fet)/active  73.600
# MODEL HANDLES THIS: sideoverlap (pdiff,pdc)/active ~(pdiff,pdc,nfet,pfet,fet)/active ~space/w  73.600

 areacap (rpd)/active  87.680
 overlap (rpd)/active ~space/w  87.680
 perimc (rpd)/active ~(rpd)/active  73.600
 sideoverlap (rpd)/active ~(rpd)/active ~space/w  73.600

#rnw

#poly
# MODEL HANDLES THIS: overlap (nfet)/active (ndiff,rnd,ndc)/active 327.040
# MODEL HANDLES THIS: sideoverlap (nfet)/active ~(nfet)/active (ndiff,rnd,ndc)/active 101.200
# MODEL HANDLES THIS: overlap (pfet)/active (pdiff,rpd,pdc)/active 316
# MODEL HANDLES THIS: sideoverlap (pfet)/active ~(pfet)/active (pdiff,rpd,pdc)/active 103.200

 sidewall (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active (poly,fp,rp,pc)/active   5.555
 areacap (poly,fp,rp,pc)/active   1.778
 overlap (poly,fp,rp,pc)/active ~space/w   1.778
 perimc (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active   4.444
 sideoverlap (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active ~space/w   4.444

#poly2

#rnw

#metal1
 sidewall (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1   5.555
 areacap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1   1.778

#metal1-sub blocked by ~space/a
 overlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~space/w   1.778 ~space/a
 perimc (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1   4.444
 sideoverlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~space/w   4.444 ~space/a

#rnw
 overlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 rnw/active   1.778 
 sideoverlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 rnw/active   4.444 

#metal1-diff blocked by 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (ndiff,rnd,ndc)/active   1.778 
 sideoverlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (ndiff,rnd,ndc)/active   4.444 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (pdiff,rpd,pdc)/active   1.778 
 sideoverlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (pdiff,rpd,pdc)/active   4.444 

#metal1-poly blocked by 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (poly,fp,rp,pc,nfet,pfet,fet)/active   9.920 

#metal2
 sidewall (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (m2,fm2,rm2,m2c,m123c,m3c)/metal2   5.555
 areacap (m2,fm2,rm2,m3c,m123c)/metal2   1.778

#metal2-sub blocked by 
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 ~space/w   1.778 ~space/a,~space/m1
 perimc (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2   4.444
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~space/w   4.444 ~space/a,~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 rnw/active   1.778 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 rnw/active   4.444 ~space/m1

#metal2-*diff blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (ndiff,rnd,ndc)/active   1.778 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (ndiff,rnd,ndc)/active   4.444 ~space/m1
 overlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 (pdiff,rpd,pdc)/active   1.778 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (pdiff,rpd,pdc)/active   4.444 ~space/m1

#metal2-poly blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (poly,fp,rp,pc,nfet,pfet,fet)/active   3.360 ~space/m1

#M2->M1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1   4.640

#metal3
 sidewall (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (m3,fm3,rm3,m3c,m123c,pad)/metal3   5.555
 areacap (m3,fm3,rm3,pad)/metal3   1.778

#metal3-sub blocked by ~space/a,~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 ~space/w   1.778 ~space/a,~space/m1,~space/m2
 perimc (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3   4.444
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 ~space/w   4.444 ~space/a,~space/m1,~space/m2

#rnw
 overlap (m3,fm3,rm3,pad)/metal3 rnw/active   1.778 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 rnw/active   4.444 ~space/m1,~space/m2

#metal3-*diff blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (ndiff,rnd,ndc)/active   1.778 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (ndiff,rnd,ndc)/active   4.444 ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (pdiff,rpd,pdc)/active   1.778 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (pdiff,rpd,pdc)/active   4.444 ~space/m1,~space/m2

#metal3-poly blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (poly,fp,rp,pc,nfet,pfet,fet)/active   2.080 ~space/m1,~space/m2

#M3->M1
 overlap (m3,fm3,rm3,pad)/metal3 (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1   2.400 ~space/m2

#metal3-metal1 blocked by ~space/m2

#M3->M2
 overlap (m3,fm3,rm3,pad)/metal3 (m2,fm2,rm2,m2c,m123c,m3c)/metal2   4.640

#metal4

#metal5

#metal6

#metal7

#metali

#fets

 fet  pfet pdiff,pdc 2 pfet Vdd! nwell 103 316
 fet  pfet pdiff,pdc 1 pfet Vdd! nwell 103 316

 fet  nfet ndiff,ndc 2 nfet Gnd! pwell 101 327
 fet  nfet ndiff,ndc 1 nfet Gnd! pwell 101 327

 fetresis  pfet linear		13713
 fetresis  pfet saturation	13713
 fetresis  nfet linear		4678
 fetresis  nfet saturation	4678

 fet  rnwell	nsd,nsc	2	nwellResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly	poly,pc	2	polyResistor	Gnd!	nwell,pwell 0 0
 fet  rndiff	ndiff,ndc	2	ndiffResistor	Gnd!	nwell,pwell 0 0
 fet  rpdiff	pdiff,pdc	2	pdiffResistor	Gnd!	nwell,pwell 0 0

 fet  rmetal1	metal1	2	metal1Resistor	Gnd!	nwell,pwell 0 0
 fet  rmetal2	metal2	2	metal2Resistor	Gnd!	nwell,pwell 0 0
 fet  rmetal3	metal3	2	metal3Resistor	Gnd!	nwell,pwell 0 0

 style Nom:vast:HP0.8um(hpcmos26g)
 cscale 1
 lambda 40
 step   100
 sidehalo 8
 planeorder well 0
 planeorder implant 1
 planeorder select 2
 planeorder active 3
 planeorder metal1 4
 planeorder metal2 5
 planeorder metal3 6
 planeorder oxide 7
 planeorder xp 8
 planeorder comment 9
 planeorder contact 10
 planeorder via1 11
 planeorder via2 12
 planeorder fill 13

 resist (ndiff,rnd,ndc,nsd,nsc)/active 2300
 resist (pdiff,rpd,pdc,psd,psc)/active 2000
 resist (nwell)/well 1600000
 resist (rnw)/active 1600000
 resist (pwell)/well 1
 resist (poly,fp,rp,pc,pc,nfet,pfet,fet)/active 2000
 resist (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c,m2c,m123c)/metal1  70
 resist (m2,fm2,rm2,m2c,m123c,m3c,m3c,m123c)/metal2  70
 resist (m3,fm3,rm3,m3c,m123c,pad)/metal3  50

 contact ndc 4 1400
 contact pdc 4 1200
 contact pc 4 1200
 contact m2c 4 500
 contact m3c 4 370


#nwell,cwell,pwell
 areacap (nwell)/well   6.400

#rnw
 areacap (rnw)/active   6.400

#ndiff
# MODEL HANDLES THIS: areacap (ndiff,ndc)/active  48
# MODEL HANDLES THIS: overlap (ndiff,ndc)/active ~space/w  48
# MODEL HANDLES THIS: perimc (ndiff,ndc)/active ~(ndiff,ndc,nfet,pfet,fet)/active 170
# MODEL HANDLES THIS: sideoverlap (ndiff,ndc)/active ~(ndiff,ndc,nfet,pfet,fet)/active ~space/w 170

 areacap (rnd)/active  48
 overlap (rnd)/active ~space/w  48
 perimc (rnd)/active ~(rnd)/active 170
 sideoverlap (rnd)/active ~(rnd)/active ~space/w 170

#pdiff
# MODEL HANDLES THIS: areacap (pdiff,pdc)/active  87.680
# MODEL HANDLES THIS: overlap (pdiff,pdc)/active ~space/w  87.680
# MODEL HANDLES THIS: perimc (pdiff,pdc)/active ~(pdiff,pdc,nfet,pfet,fet)/active  73.600
# MODEL HANDLES THIS: sideoverlap (pdiff,pdc)/active ~(pdiff,pdc,nfet,pfet,fet)/active ~space/w  73.600

 areacap (rpd)/active  87.680
 overlap (rpd)/active ~space/w  87.680
 perimc (rpd)/active ~(rpd)/active  73.600
 sideoverlap (rpd)/active ~(rpd)/active ~space/w  73.600

#rnw

#poly
# MODEL HANDLES THIS: overlap (nfet)/active (ndiff,rnd,ndc)/active 327.040
# MODEL HANDLES THIS: sideoverlap (nfet)/active ~(nfet)/active (ndiff,rnd,ndc)/active 101.200
# MODEL HANDLES THIS: overlap (pfet)/active (pdiff,rpd,pdc)/active 316
# MODEL HANDLES THIS: sideoverlap (pfet)/active ~(pfet)/active (pdiff,rpd,pdc)/active 103.200

 sidewall (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active (poly,fp,rp,pc)/active   8.325
 areacap (poly,fp,rp,pc)/active   1.778
 overlap (poly,fp,rp,pc)/active ~space/w   1.778
 perimc (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active   4.444
 sideoverlap (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active ~space/w   4.444

#poly2

#rnw

#metal1
 sidewall (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1   8.325
 areacap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1   1.778

#metal1-sub blocked by ~space/a
 overlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~space/w   1.778 ~space/a
 perimc (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1   4.444
 sideoverlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~space/w   4.444 ~space/a

#rnw
 overlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 rnw/active   1.778 
 sideoverlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 rnw/active   4.444 

#metal1-diff blocked by 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (ndiff,rnd,ndc)/active   1.778 
 sideoverlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (ndiff,rnd,ndc)/active   4.444 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (pdiff,rpd,pdc)/active   1.778 
 sideoverlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (pdiff,rpd,pdc)/active   4.444 

#metal1-poly blocked by 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (poly,fp,rp,pc,nfet,pfet,fet)/active   9.920 

#metal2
 sidewall (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (m2,fm2,rm2,m2c,m123c,m3c)/metal2   8.325
 areacap (m2,fm2,rm2,m3c,m123c)/metal2   1.778

#metal2-sub blocked by 
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 ~space/w   1.778 ~space/a,~space/m1
 perimc (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2   4.444
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~space/w   4.444 ~space/a,~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 rnw/active   1.778 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 rnw/active   4.444 ~space/m1

#metal2-*diff blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (ndiff,rnd,ndc)/active   1.778 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (ndiff,rnd,ndc)/active   4.444 ~space/m1
 overlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 (pdiff,rpd,pdc)/active   1.778 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (pdiff,rpd,pdc)/active   4.444 ~space/m1

#metal2-poly blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (poly,fp,rp,pc,nfet,pfet,fet)/active   3.360 ~space/m1

#M2->M1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1   4.640

#metal3
 sidewall (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (m3,fm3,rm3,m3c,m123c,pad)/metal3   8.325
 areacap (m3,fm3,rm3,pad)/metal3   1.778

#metal3-sub blocked by ~space/a,~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 ~space/w   1.778 ~space/a,~space/m1,~space/m2
 perimc (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3   4.444
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 ~space/w   4.444 ~space/a,~space/m1,~space/m2

#rnw
 overlap (m3,fm3,rm3,pad)/metal3 rnw/active   1.778 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 rnw/active   4.444 ~space/m1,~space/m2

#metal3-*diff blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (ndiff,rnd,ndc)/active   1.778 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (ndiff,rnd,ndc)/active   4.444 ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (pdiff,rpd,pdc)/active   1.778 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (pdiff,rpd,pdc)/active   4.444 ~space/m1,~space/m2

#metal3-poly blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (poly,fp,rp,pc,nfet,pfet,fet)/active   2.080 ~space/m1,~space/m2

#M3->M1
 overlap (m3,fm3,rm3,pad)/metal3 (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1   2.400 ~space/m2

#metal3-metal1 blocked by ~space/m2

#M3->M2
 overlap (m3,fm3,rm3,pad)/metal3 (m2,fm2,rm2,m2c,m123c,m3c)/metal2   4.640

#metal4

#metal5

#metal6

#metal7

#metali

#fets

 fet  pfet pdiff,pdc 2 pfet Vdd! nwell 103 316
 fet  pfet pdiff,pdc 1 pfet Vdd! nwell 103 316

 fet  nfet ndiff,ndc 2 nfet Gnd! pwell 101 327
 fet  nfet ndiff,ndc 1 nfet Gnd! pwell 101 327

 fetresis  pfet linear		13713
 fetresis  pfet saturation	13713
 fetresis  nfet linear		4678
 fetresis  nfet saturation	4678

 fet  rnwell	nsd,nsc	2	nwellResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly	poly,pc	2	polyResistor	Gnd!	nwell,pwell 0 0
 fet  rndiff	ndiff,ndc	2	ndiffResistor	Gnd!	nwell,pwell 0 0
 fet  rpdiff	pdiff,pdc	2	pdiffResistor	Gnd!	nwell,pwell 0 0

 fet  rmetal1	metal1	2	metal1Resistor	Gnd!	nwell,pwell 0 0
 fet  rmetal2	metal2	2	metal2Resistor	Gnd!	nwell,pwell 0 0
 fet  rmetal3	metal3	2	metal3Resistor	Gnd!	nwell,pwell 0 0

 style Max:sparse:HP0.8um(hpcmos26g)
 cscale 1
 lambda 40
 step   100
 sidehalo 8
 planeorder well 0
 planeorder implant 1
 planeorder select 2
 planeorder active 3
 planeorder metal1 4
 planeorder metal2 5
 planeorder metal3 6
 planeorder oxide 7
 planeorder xp 8
 planeorder comment 9
 planeorder contact 10
 planeorder via1 11
 planeorder via2 12
 planeorder fill 13

 resist (ndiff,rnd,ndc,nsd,nsc)/active 2300
 resist (pdiff,rpd,pdc,psd,psc)/active 2000
 resist (nwell)/well 1600000
 resist (rnw)/active 1600000
 resist (pwell)/well 1
 resist (poly,fp,rp,pc,pc,nfet,pfet,fet)/active 2000
 resist (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c,m2c,m123c)/metal1  70
 resist (m2,fm2,rm2,m2c,m123c,m3c,m3c,m123c)/metal2  70
 resist (m3,fm3,rm3,m3c,m123c,pad)/metal3  50

 contact ndc 4 1400
 contact pdc 4 1200
 contact pc 4 1200
 contact m2c 4 500
 contact m3c 4 370


#nwell,cwell,pwell
 areacap (nwell)/well   6.400

#rnw
 areacap (rnw)/active   6.400

#ndiff
# MODEL HANDLES THIS: areacap (ndiff,ndc)/active  48
# MODEL HANDLES THIS: overlap (ndiff,ndc)/active ~space/w  48
# MODEL HANDLES THIS: perimc (ndiff,ndc)/active ~(ndiff,ndc,nfet,pfet,fet)/active 170
# MODEL HANDLES THIS: sideoverlap (ndiff,ndc)/active ~(ndiff,ndc,nfet,pfet,fet)/active ~space/w 170

 areacap (rnd)/active  48
 overlap (rnd)/active ~space/w  48
 perimc (rnd)/active ~(rnd)/active 170
 sideoverlap (rnd)/active ~(rnd)/active ~space/w 170

#pdiff
# MODEL HANDLES THIS: areacap (pdiff,pdc)/active  87.680
# MODEL HANDLES THIS: overlap (pdiff,pdc)/active ~space/w  87.680
# MODEL HANDLES THIS: perimc (pdiff,pdc)/active ~(pdiff,pdc,nfet,pfet,fet)/active  73.600
# MODEL HANDLES THIS: sideoverlap (pdiff,pdc)/active ~(pdiff,pdc,nfet,pfet,fet)/active ~space/w  73.600

 areacap (rpd)/active  87.680
 overlap (rpd)/active ~space/w  87.680
 perimc (rpd)/active ~(rpd)/active  73.600
 sideoverlap (rpd)/active ~(rpd)/active ~space/w  73.600

#rnw

#poly
# MODEL HANDLES THIS: overlap (nfet)/active (ndiff,rnd,ndc)/active 327.040
# MODEL HANDLES THIS: sideoverlap (nfet)/active ~(nfet)/active (ndiff,rnd,ndc)/active 101.200
# MODEL HANDLES THIS: overlap (pfet)/active (pdiff,rpd,pdc)/active 316
# MODEL HANDLES THIS: sideoverlap (pfet)/active ~(pfet)/active (pdiff,rpd,pdc)/active 103.200

 sidewall (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active (poly,fp,rp,pc)/active   2.685
 areacap (poly,fp,rp,pc)/active  14.344
 overlap (poly,fp,rp,pc)/active ~space/w  14.344
 perimc (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active  26.412
 sideoverlap (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active ~space/w  26.412

#poly2

#rnw

#metal1
 sidewall (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1  30.780
 areacap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1   5.998

#metal1-sub blocked by ~space/a
 overlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~space/w   5.998 ~space/a
 perimc (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1  13.024
 sideoverlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~space/w  13.024 ~space/a

#rnw
 overlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 rnw/active   5.998 
 sideoverlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 rnw/active  13.024 

#metal1-diff blocked by 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (ndiff,rnd,ndc)/active   5.998 
 sideoverlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (ndiff,rnd,ndc)/active  13.024 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (pdiff,rpd,pdc)/active   5.998 
 sideoverlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (pdiff,rpd,pdc)/active  13.024 

#metal1-poly blocked by 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (poly,fp,rp,pc,nfet,pfet,fet)/active   9.920 

#metal2
 sidewall (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (m2,fm2,rm2,m2c,m123c,m3c)/metal2  41.055
 areacap (m2,fm2,rm2,m3c,m123c)/metal2   2.952

#metal2-sub blocked by 
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 ~space/w   2.952 ~space/a,~space/m1
 perimc (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2   8.064
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~space/w   8.064 ~space/a,~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 rnw/active   2.952 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 rnw/active   8.064 ~space/m1

#metal2-*diff blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (ndiff,rnd,ndc)/active   2.952 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (ndiff,rnd,ndc)/active   8.064 ~space/m1
 overlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 (pdiff,rpd,pdc)/active   2.952 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (pdiff,rpd,pdc)/active   8.064 ~space/m1

#metal2-poly blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (poly,fp,rp,pc,nfet,pfet,fet)/active   3.360 ~space/m1

#M2->M1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1   4.640

#metal3
 sidewall (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (m3,fm3,rm3,m3c,m123c,pad)/metal3  87.750
 areacap (m3,fm3,rm3,pad)/metal3   1.930

#metal3-sub blocked by ~space/a,~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 ~space/w   1.930 ~space/a,~space/m1,~space/m2
 perimc (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3   6.492
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 ~space/w   6.492 ~space/a,~space/m1,~space/m2

#rnw
 overlap (m3,fm3,rm3,pad)/metal3 rnw/active   1.930 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 rnw/active   6.492 ~space/m1,~space/m2

#metal3-*diff blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (ndiff,rnd,ndc)/active   1.930 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (ndiff,rnd,ndc)/active   6.492 ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (pdiff,rpd,pdc)/active   1.930 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (pdiff,rpd,pdc)/active   6.492 ~space/m1,~space/m2

#metal3-poly blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (poly,fp,rp,pc,nfet,pfet,fet)/active   2.080 ~space/m1,~space/m2

#M3->M1
 overlap (m3,fm3,rm3,pad)/metal3 (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1   2.400 ~space/m2

#metal3-metal1 blocked by ~space/m2

#M3->M2
 overlap (m3,fm3,rm3,pad)/metal3 (m2,fm2,rm2,m2c,m123c,m3c)/metal2   4.640

#metal4

#metal5

#metal6

#metal7

#metali

#fets

 fet  pfet pdiff,pdc 2 pfet Vdd! nwell 103 316
 fet  pfet pdiff,pdc 1 pfet Vdd! nwell 103 316

 fet  nfet ndiff,ndc 2 nfet Gnd! pwell 101 327
 fet  nfet ndiff,ndc 1 nfet Gnd! pwell 101 327

 fetresis  pfet linear		13713
 fetresis  pfet saturation	13713
 fetresis  nfet linear		4678
 fetresis  nfet saturation	4678

 fet  rnwell	nsd,nsc	2	nwellResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly	poly,pc	2	polyResistor	Gnd!	nwell,pwell 0 0
 fet  rndiff	ndiff,ndc	2	ndiffResistor	Gnd!	nwell,pwell 0 0
 fet  rpdiff	pdiff,pdc	2	pdiffResistor	Gnd!	nwell,pwell 0 0

 fet  rmetal1	metal1	2	metal1Resistor	Gnd!	nwell,pwell 0 0
 fet  rmetal2	metal2	2	metal2Resistor	Gnd!	nwell,pwell 0 0
 fet  rmetal3	metal3	2	metal3Resistor	Gnd!	nwell,pwell 0 0

 style Max:dense:HP0.8um(hpcmos26g)
 cscale 1
 lambda 40
 step   100
 sidehalo 8
 planeorder well 0
 planeorder implant 1
 planeorder select 2
 planeorder active 3
 planeorder metal1 4
 planeorder metal2 5
 planeorder metal3 6
 planeorder oxide 7
 planeorder xp 8
 planeorder comment 9
 planeorder contact 10
 planeorder via1 11
 planeorder via2 12
 planeorder fill 13

 resist (ndiff,rnd,ndc,nsd,nsc)/active 2300
 resist (pdiff,rpd,pdc,psd,psc)/active 2000
 resist (nwell)/well 1600000
 resist (rnw)/active 1600000
 resist (pwell)/well 1
 resist (poly,fp,rp,pc,pc,nfet,pfet,fet)/active 2000
 resist (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c,m2c,m123c)/metal1  70
 resist (m2,fm2,rm2,m2c,m123c,m3c,m3c,m123c)/metal2  70
 resist (m3,fm3,rm3,m3c,m123c,pad)/metal3  50

 contact ndc 4 1400
 contact pdc 4 1200
 contact pc 4 1200
 contact m2c 4 500
 contact m3c 4 370


#nwell,cwell,pwell
 areacap (nwell)/well   6.400

#rnw
 areacap (rnw)/active   6.400

#ndiff
# MODEL HANDLES THIS: areacap (ndiff,ndc)/active  48
# MODEL HANDLES THIS: overlap (ndiff,ndc)/active ~space/w  48
# MODEL HANDLES THIS: perimc (ndiff,ndc)/active ~(ndiff,ndc,nfet,pfet,fet)/active 170
# MODEL HANDLES THIS: sideoverlap (ndiff,ndc)/active ~(ndiff,ndc,nfet,pfet,fet)/active ~space/w 170

 areacap (rnd)/active  48
 overlap (rnd)/active ~space/w  48
 perimc (rnd)/active ~(rnd)/active 170
 sideoverlap (rnd)/active ~(rnd)/active ~space/w 170

#pdiff
# MODEL HANDLES THIS: areacap (pdiff,pdc)/active  87.680
# MODEL HANDLES THIS: overlap (pdiff,pdc)/active ~space/w  87.680
# MODEL HANDLES THIS: perimc (pdiff,pdc)/active ~(pdiff,pdc,nfet,pfet,fet)/active  73.600
# MODEL HANDLES THIS: sideoverlap (pdiff,pdc)/active ~(pdiff,pdc,nfet,pfet,fet)/active ~space/w  73.600

 areacap (rpd)/active  87.680
 overlap (rpd)/active ~space/w  87.680
 perimc (rpd)/active ~(rpd)/active  73.600
 sideoverlap (rpd)/active ~(rpd)/active ~space/w  73.600

#rnw

#poly
# MODEL HANDLES THIS: overlap (nfet)/active (ndiff,rnd,ndc)/active 327.040
# MODEL HANDLES THIS: sideoverlap (nfet)/active ~(nfet)/active (ndiff,rnd,ndc)/active 101.200
# MODEL HANDLES THIS: overlap (pfet)/active (pdiff,rpd,pdc)/active 316
# MODEL HANDLES THIS: sideoverlap (pfet)/active ~(pfet)/active (pdiff,rpd,pdc)/active 103.200

 sidewall (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active (poly,fp,rp,pc)/active  10.660
 areacap (poly,fp,rp,pc)/active  14.344
 overlap (poly,fp,rp,pc)/active ~space/w  14.344
 perimc (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active  11.424
 sideoverlap (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active ~space/w  11.424

#poly2

#rnw

#metal1
 sidewall (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1  32.785
 areacap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1   5.998

#metal1-sub blocked by ~space/a
 overlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~space/w   5.998 ~space/a
 perimc (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1   5.224
 sideoverlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~space/w   5.224 ~space/a

#rnw
 overlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 rnw/active   5.998 
 sideoverlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 rnw/active   5.224 

#metal1-diff blocked by 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (ndiff,rnd,ndc)/active   5.998 
 sideoverlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (ndiff,rnd,ndc)/active   5.224 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (pdiff,rpd,pdc)/active   5.998 
 sideoverlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (pdiff,rpd,pdc)/active   5.224 

#metal1-poly blocked by 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (poly,fp,rp,pc,nfet,pfet,fet)/active   9.920 

#metal2
 sidewall (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (m2,fm2,rm2,m2c,m123c,m3c)/metal2  36.720
 areacap (m2,fm2,rm2,m3c,m123c)/metal2   2.952

#metal2-sub blocked by 
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 ~space/w   2.952 ~space/a,~space/m1
 perimc (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2   2.760
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~space/w   2.760 ~space/a,~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 rnw/active   2.952 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 rnw/active   2.760 ~space/m1

#metal2-*diff blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (ndiff,rnd,ndc)/active   2.952 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (ndiff,rnd,ndc)/active   2.760 ~space/m1
 overlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 (pdiff,rpd,pdc)/active   2.952 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (pdiff,rpd,pdc)/active   2.760 ~space/m1

#metal2-poly blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (poly,fp,rp,pc,nfet,pfet,fet)/active   3.360 ~space/m1

#M2->M1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1   4.640

#metal3
 sidewall (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (m3,fm3,rm3,m3c,m123c,pad)/metal3  51.300
 areacap (m3,fm3,rm3,pad)/metal3   1.930

#metal3-sub blocked by ~space/a,~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 ~space/w   1.930 ~space/a,~space/m1,~space/m2
 perimc (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3   3.464
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 ~space/w   3.464 ~space/a,~space/m1,~space/m2

#rnw
 overlap (m3,fm3,rm3,pad)/metal3 rnw/active   1.930 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 rnw/active   3.464 ~space/m1,~space/m2

#metal3-*diff blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (ndiff,rnd,ndc)/active   1.930 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (ndiff,rnd,ndc)/active   3.464 ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (pdiff,rpd,pdc)/active   1.930 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (pdiff,rpd,pdc)/active   3.464 ~space/m1,~space/m2

#metal3-poly blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (poly,fp,rp,pc,nfet,pfet,fet)/active   2.080 ~space/m1,~space/m2

#M3->M1
 overlap (m3,fm3,rm3,pad)/metal3 (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1   2.400 ~space/m2

#metal3-metal1 blocked by ~space/m2

#M3->M2
 overlap (m3,fm3,rm3,pad)/metal3 (m2,fm2,rm2,m2c,m123c,m3c)/metal2   4.640

#metal4

#metal5

#metal6

#metal7

#metali

#fets

 fet  pfet pdiff,pdc 2 pfet Vdd! nwell 103 316
 fet  pfet pdiff,pdc 1 pfet Vdd! nwell 103 316

 fet  nfet ndiff,ndc 2 nfet Gnd! pwell 101 327
 fet  nfet ndiff,ndc 1 nfet Gnd! pwell 101 327

 fetresis  pfet linear		13713
 fetresis  pfet saturation	13713
 fetresis  nfet linear		4678
 fetresis  nfet saturation	4678

 fet  rnwell	nsd,nsc	2	nwellResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly	poly,pc	2	polyResistor	Gnd!	nwell,pwell 0 0
 fet  rndiff	ndiff,ndc	2	ndiffResistor	Gnd!	nwell,pwell 0 0
 fet  rpdiff	pdiff,pdc	2	pdiffResistor	Gnd!	nwell,pwell 0 0

 fet  rmetal1	metal1	2	metal1Resistor	Gnd!	nwell,pwell 0 0
 fet  rmetal2	metal2	2	metal2Resistor	Gnd!	nwell,pwell 0 0
 fet  rmetal3	metal3	2	metal3Resistor	Gnd!	nwell,pwell 0 0

 style Max:vast:HP0.8um(hpcmos26g)
 cscale 1
 lambda 40
 step   100
 sidehalo 8
 planeorder well 0
 planeorder implant 1
 planeorder select 2
 planeorder active 3
 planeorder metal1 4
 planeorder metal2 5
 planeorder metal3 6
 planeorder oxide 7
 planeorder xp 8
 planeorder comment 9
 planeorder contact 10
 planeorder via1 11
 planeorder via2 12
 planeorder fill 13

 resist (ndiff,rnd,ndc,nsd,nsc)/active 2300
 resist (pdiff,rpd,pdc,psd,psc)/active 2000
 resist (nwell)/well 1600000
 resist (rnw)/active 1600000
 resist (pwell)/well 1
 resist (poly,fp,rp,pc,pc,nfet,pfet,fet)/active 2000
 resist (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c,m2c,m123c)/metal1  70
 resist (m2,fm2,rm2,m2c,m123c,m3c,m3c,m123c)/metal2  70
 resist (m3,fm3,rm3,m3c,m123c,pad)/metal3  50

 contact ndc 4 1400
 contact pdc 4 1200
 contact pc 4 1200
 contact m2c 4 500
 contact m3c 4 370


#nwell,cwell,pwell
 areacap (nwell)/well   6.400

#rnw
 areacap (rnw)/active   6.400

#ndiff
# MODEL HANDLES THIS: areacap (ndiff,ndc)/active  48
# MODEL HANDLES THIS: overlap (ndiff,ndc)/active ~space/w  48
# MODEL HANDLES THIS: perimc (ndiff,ndc)/active ~(ndiff,ndc,nfet,pfet,fet)/active 170
# MODEL HANDLES THIS: sideoverlap (ndiff,ndc)/active ~(ndiff,ndc,nfet,pfet,fet)/active ~space/w 170

 areacap (rnd)/active  48
 overlap (rnd)/active ~space/w  48
 perimc (rnd)/active ~(rnd)/active 170
 sideoverlap (rnd)/active ~(rnd)/active ~space/w 170

#pdiff
# MODEL HANDLES THIS: areacap (pdiff,pdc)/active  87.680
# MODEL HANDLES THIS: overlap (pdiff,pdc)/active ~space/w  87.680
# MODEL HANDLES THIS: perimc (pdiff,pdc)/active ~(pdiff,pdc,nfet,pfet,fet)/active  73.600
# MODEL HANDLES THIS: sideoverlap (pdiff,pdc)/active ~(pdiff,pdc,nfet,pfet,fet)/active ~space/w  73.600

 areacap (rpd)/active  87.680
 overlap (rpd)/active ~space/w  87.680
 perimc (rpd)/active ~(rpd)/active  73.600
 sideoverlap (rpd)/active ~(rpd)/active ~space/w  73.600

#rnw

#poly
# MODEL HANDLES THIS: overlap (nfet)/active (ndiff,rnd,ndc)/active 327.040
# MODEL HANDLES THIS: sideoverlap (nfet)/active ~(nfet)/active (ndiff,rnd,ndc)/active 101.200
# MODEL HANDLES THIS: overlap (pfet)/active (pdiff,rpd,pdc)/active 316
# MODEL HANDLES THIS: sideoverlap (pfet)/active ~(pfet)/active (pdiff,rpd,pdc)/active 103.200

 sidewall (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active (poly,fp,rp,pc)/active  11.412
 areacap (poly,fp,rp,pc)/active  14.344
 overlap (poly,fp,rp,pc)/active ~space/w  14.344
 perimc (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active  18.340
 sideoverlap (poly,fp,rp,pc)/active ~(poly,fp,rp,pc)/active ~space/w  18.340

#poly2

#rnw

#metal1
 sidewall (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1   9.600
 areacap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1   5.998

#metal1-sub blocked by ~space/a
 overlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~space/w   5.998 ~space/a
 perimc (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1  21.724
 sideoverlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~space/w  21.724 ~space/a

#rnw
 overlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 rnw/active   5.998 
 sideoverlap (m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,pdc,pc,m2c,m123c)/metal1 rnw/active  21.724 

#metal1-diff blocked by 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (ndiff,rnd,ndc)/active   5.998 
 sideoverlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (ndiff,rnd,ndc)/active  21.724 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (pdiff,rpd,pdc)/active   5.998 
 sideoverlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (pdiff,rpd,pdc)/active  21.724 

#metal1-poly blocked by 
 overlap (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1 (poly,fp,rp,pc,nfet,pfet,fet)/active   9.920 

#metal2
 sidewall (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (m2,fm2,rm2,m2c,m123c,m3c)/metal2  15.450
 areacap (m2,fm2,rm2,m3c,m123c)/metal2   2.952

#metal2-sub blocked by 
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 ~space/w   2.952 ~space/a,~space/m1
 perimc (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2  17.276
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~space/w  17.276 ~space/a,~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 rnw/active   2.952 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 rnw/active  17.276 ~space/m1

#metal2-*diff blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (ndiff,rnd,ndc)/active   2.952 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (ndiff,rnd,ndc)/active  17.276 ~space/m1
 overlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 (pdiff,rpd,pdc)/active   2.952 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,m123c,m3c)/metal2 ~(m2,fm2,rm2,m2c,m123c,m3c)/metal2 (pdiff,rpd,pdc)/active  17.276 ~space/m1

#metal2-poly blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (poly,fp,rp,pc,nfet,pfet,fet)/active   3.360 ~space/m1

#M2->M1
 overlap (m2,fm2,rm2,m3c,m123c)/metal2 (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1   4.640

#metal3
 sidewall (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (m3,fm3,rm3,m3c,m123c,pad)/metal3  41.475
 areacap (m3,fm3,rm3,pad)/metal3   1.930

#metal3-sub blocked by ~space/a,~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 ~space/w   1.930 ~space/a,~space/m1,~space/m2
 perimc (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3  17.924
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 ~space/w  17.924 ~space/a,~space/m1,~space/m2

#rnw
 overlap (m3,fm3,rm3,pad)/metal3 rnw/active   1.930 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 rnw/active  17.924 ~space/m1,~space/m2

#metal3-*diff blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (ndiff,rnd,ndc)/active   1.930 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (ndiff,rnd,ndc)/active  17.924 ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (pdiff,rpd,pdc)/active   1.930 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,pad)/metal3 ~(m3,fm3,rm3,m3c,m123c,pad)/metal3 (pdiff,rpd,pdc)/active  17.924 ~space/m1,~space/m2

#metal3-poly blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,pad)/metal3 (poly,fp,rp,pc,nfet,pfet,fet)/active   2.080 ~space/m1,~space/m2

#M3->M1
 overlap (m3,fm3,rm3,pad)/metal3 (m1,fm1,rm1,ndc,nsc,pdc,psc,pc,m2c,m123c)/metal1   2.400 ~space/m2

#metal3-metal1 blocked by ~space/m2

#M3->M2
 overlap (m3,fm3,rm3,pad)/metal3 (m2,fm2,rm2,m2c,m123c,m3c)/metal2   4.640

#metal4

#metal5

#metal6

#metal7

#metali

#fets

 fet  pfet pdiff,pdc 2 pfet Vdd! nwell 103 316
 fet  pfet pdiff,pdc 1 pfet Vdd! nwell 103 316

 fet  nfet ndiff,ndc 2 nfet Gnd! pwell 101 327
 fet  nfet ndiff,ndc 1 nfet Gnd! pwell 101 327

 fetresis  pfet linear		13713
 fetresis  pfet saturation	13713
 fetresis  nfet linear		4678
 fetresis  nfet saturation	4678

 fet  rnwell	nsd,nsc	2	nwellResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly	poly,pc	2	polyResistor	Gnd!	nwell,pwell 0 0
 fet  rndiff	ndiff,ndc	2	ndiffResistor	Gnd!	nwell,pwell 0 0
 fet  rpdiff	pdiff,pdc	2	pdiffResistor	Gnd!	nwell,pwell 0 0

 fet  rmetal1	metal1	2	metal1Resistor	Gnd!	nwell,pwell 0 0
 fet  rmetal2	metal2	2	metal2Resistor	Gnd!	nwell,pwell 0 0
 fet  rmetal3	metal3	2	metal3Resistor	Gnd!	nwell,pwell 0 0

end

wiring
 contact	pdcontact	4	metal1	0	pdiff	0
 contact	ndcontact	4	metal1	0	ndiff	0
 contact	pcontact	4	metal1	0	poly	0
 contact	m2contact	4	metal1	0	metal2	0
 contact	m3contact	5	metal2	0	metal3 1

end

router
 layer2 metal2 3 m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2,m123c/m2,m3c/m2,m123c/m2 4 poly,fp,rp,ndiff,rnd,nsd,pdiff,rpd,psd,m1,fm1,rm1 1
 layer1 metal1 3 m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1 3
 contacts m2contact 4
 gridspacing 8

end

plowing
 fixed	nfet,pfet,glass,pad
 covered	nfet,pfet
 drag	nfet,pfet

end

plot
style colorversatec
 ndiff,rnd,ndc/a yellow \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA
 ndiff,rnd,ndc/a cyan \
 0000 5555 0000 5555 \
 0000 5555 0000 5555 \
 0000 5555 0000 5555 \
 0000 5555 0000 5555
 nsd,nsc/a yellow \
 1515 2A2A 5151 A2A2 \
 1515 2A2A 5151 A2A2 \
 1515 2A2A 5151 A2A2 \
 1515 2A2A 5151 A2A2
 nsd,nsc/a cyan \
 0000 1515 0000 5151 \
 0000 1515 0000 5151 \
 0000 1515 0000 5151 \
 0000 1515 0000 5151
 pdiff,rpd,pdc/a yellow \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA
 pdiff,rpd,pdc/a cyan \
 0000 5555 0000 5555 \
 0000 5555 0000 5555 \
 0000 5555 0000 5555 \
 0000 5555 0000 5555
 pdiff,rpd,pdc/a magenta \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000
 psd,psc/a yellow \
 1515 2A2A 5151 A2A2 \
 1515 2A2A 5151 A2A2 \
 1515 2A2A 5151 A2A2 \
 1515 2A2A 5151 A2A2
 psd,psc/a cyan \
 0000 1515 0000 5151 \
 0000 1515 0000 5151 \
 0000 1515 0000 5151 \
 0000 1515 0000 5151
 psd,psc/a magenta \
 2A2A 0000 A2A2 0000 \
 2A2A 0000 A2A2 0000 \
 2A2A 0000 A2A2 0000 \
 2A2A 0000 A2A2 0000
 poly,fp,rp,pc/a magenta \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA
 nfet yellow \
 0505 8282 1414 0A0A \
 5050 2828 4141 A0A0 \
 0505 8282 1414 0A0A \
 5050 2828 4141 A0A0
 nfet cyan \
 0000 0505 0000 1414 \
 0000 5050 0000 4141 \
 0000 0505 0000 1414 \
 0000 5050 0000 4141
 nfet magenta \
 5050 2828 4141 A0A0 \
 0505 8282 1414 0A0A \
 5050 2828 4141 A0A0 \
 0505 8282 1414 0A0A
 pfet yellow \
 6363 A0A0 5050 2828 \
 3636 0A0A 0505 8282 \
 6363 A0A0 5050 2828 \
 3636 0A0A 0505 8282
 pfet cyan \
 0000 5151 0000 5454 \
 0000 1515 0000 1515 \
 0000 5151 0000 5454 \
 0000 1515 0000 1515
 pfet magenta \
 9494 0A0A 2525 8282 \
 4949 A0A0 5252 2828 \
 9494 0A0A 2525 8282 \
 4949 A0A0 5252 2828
 m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1 cyan \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000
 m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2 cyan \
 0000 1111 0000 4444 \
 0000 1111 0000 4444 \
 0000 1111 0000 4444 \
 0000 1111 0000 4444
 m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2 magenta \
 0000 4444 0000 1111 \
 0000 4444 0000 1111 \
 0000 4444 0000 1111 \
 0000 4444 0000 1111
 m2c/m1,m123c/m1,gv1 black \
 0000 6666 6666 0000 \
 0000 9999 9999 0000 \
 0000 6666 6666 0000 \
 0000 9999 9999 0000
 pad,glass black \
 0300 0700 0E00 1C00 \
 3800 7000 E000 C000 \
 00C0 00E0 0070 0038 \
 001C 000E 0007 0003
 nwell yellow \
 0800 1000 2000 4000 \
 8000 0001 0002 0004 \
 0008 0010 0020 0040 \
 0080 0010 0200 0400
 nwell cyan \
 1000 2000 4000 8000 \
 0001 0002 0004 0008 \
 0010 0020 0040 0080 \
 0100 0200 0400 0800
 pwell yellow \
 1000 0400 0400 0100 \
 0100 0040 0040 0010 \
 0010 0004 0004 0001 \
 0001 4000 4000 1000
 pwell cyan \
 0000 0800 0000 0200 \
 0000 0080 0000 0020 \
 0000 0008 0000 0002 \
 0000 8000 0000 2000
 pwell magenta \
 0800 0000 0200 0000 \
 0080 0000 0020 0000 \
 0008 0000 0002 0000 \
 8000 0000 2000 0000
 m3c/m2,m123c/m2,gv2 black \
 0100 0000 0000 0000 \
 1010 0000 0000 0000 \
 0001 0000 0000 0000 \
 1010 0000 0000 0000
 m3c/m2,m123c/m2,gv2 cyan \
 0280 0000 0820 0000 \
 2008 0000 8002 0000 \
 8002 0000 2008 0000 \
 0820 0000 0280 0000
 m3c/m2,m123c/m2,gv2 magenta \
 0100 06C0 0440 1830 \
 1010 600C 4004 8003 \
 0001 C006 4004 3018 \
 1010 0C60 0440 0380
 m3c/m2,m123c/m2,gv2 black \
 0820 0820 0820 0FE0 \
 E00F 2008 2008 2008 \
 2008 2008 2008 E00F \
 0000 0FE0 0820 0820
 error_p,error_s,error_ps black \
 0000 3C3C 4646 4A4A \
 5252 6262 3C3C 0000 \
 0000 3C3C 4646 4A4A \
 5252 6262 3C3C 0000
 magnet yellow \
 AAAA 0000 5555 0000 \
 AAAA 0000 5555 0000 \
 AAAA 0000 5555 0000 \
 AAAA 0000 5555 0000
 fence magenta \
 FFFF 0000 0000 0000 \
 0000 0000 0000 0000 \
 FFFF 0000 0000 0000 \
 0000 0000 0000 0000
 rotate cyan \
 0000 E0E0 E0E0 E0E0 \
 0000 0000 0000 0000 \
 0000 E0E0 E0E0 E0E0 \
 0000 0000 0000 0000
 pc/a,ndc/a,pdc/a,psc/a,nsc/a,gc,gc,gc X

style versatec
 pfet \
 07c0 0f80 1f00 3e00 \
 7c00 f800 f001 e003 \
 c007 800f 001f 003e \
 00c7 00f8 01f0 03e0
 nfet \
 1f00 0f80 07c0 03e0 \
 01f0 00f8 007c 003e \
 001f 800f c007 e003 \
 f001 f800 7c00 3e00
 gv1 \
 c3c3 c3c3 0000 0000 \
 0000 0000 c3c3 c3c3 \
 c3c3 c3c3 0000 0000 \
 0000 0000 c3c3 c3c3
 pwell \
 2020 2020 2020 2020 \
 2020 2020 2020 2020 \
 0000 0000 0000 0000 \
 0000 0000 0000 0000
 nwell \
 0808 0404 0202 0101 \
 0000 0000 0000 0000 \
 0808 0404 0202 0101 \
 0000 0000 0000 0000
 poly,fp,rp,pc/a,nfet,pfet \
 0808 0400 0202 0101 \
 8080 4000 2020 1010 \
 0808 0004 0202 0101 \
 8080 0040 2020 1010
 m1,fm1,rm1,ndc/m1,nsc/m1,pdc/m1,psc/m1,pc/m1,m2c/m1,m123c/m1 \
 8080 0000 0000 0000 \
 0808 0000 0000 0000 \
 8080 0000 0000 0000 \
 0808 0000 0000 0000
 pad,glass \
 0000 0000 1c1c 3e3e \
 3636 3e3e 1c1c 0000 \
 0000 0000 1c1c 3e3e \
 3636 3e3e 1c1c 0000
 nsd,nsc/a \
 0808 1414 2222 4141 \
 8080 4040 2020 1010 \
 0808 1414 2222 4141 \
 8080 4040 2020 1010
 m2,fm2,rm2,m2c/m2,m123c/m2,m3c/m2 \
 0000 1111 0000 0000 \
 0000 1111 0000 0000 \
 0000 1111 0000 0000 \
 0000 1111 0000 0000
 pdiff,rpd,pdc/a,pfet \
 0000 0808 5555 8080 \
 0000 8080 5555 0808 \
 0000 0808 5555 8080 \
 0000 8080 5555 0808
 psd,psc/a \
 1414 2222 0000 2222 \
 4141 2222 0000 2222 \
 1414 2222 0000 2222 \
 4141 2222 0000 2222
 ndiff,rnd,ndc/a,nfet \
 0808 1010 2020 4040 \
 8080 4141 2222 1414 \
 0808 1010 2020 4040 \
 8080 4141 2222 1414
 pc/a,ndc/a,pdc/a,psc/a,nsc/a,gc,gc,gc X

style gremlin
 pfet 9
 nfet 10
 gv1 11
 pwell 15
 nwell 16
 poly,fp,rp,pc/a,nfet,pfet 19
 pc/a,ndc/a,pdc/a,psc/a,nsc/a,gc,gc,gc 22
 pad,glass 23
 nsd,nsc/a 24
 gv1 28
 pdiff,rpd,pdc/a,pfet 29
 psd,psc/a 30
 ndiff,rnd,ndc/a,nfet 31
 pc/a,ndc/a,pdc/a,psc/a,nsc/a,gc,gc,gc,gv1 X

end

