tech
 scmos
end

version
 version 2001a
 description "SCMOS: Submit as technology.lambda.vendor: SCN4ME.25.TSMC [to process: TSMC35] has HV fets!: use ext2spice -jhnfet:0/Gnd -jhpfet:1/6/Vdd"
end

planes
  well,w
  implant,i
  select,s
  cap,c
  active,a
  metal1,m1
  metal2,m2
  metal3,m3
  metal4,m4
  oxide,ox
  comment
  xp
  contact
  via1,v1
  via2,v2
  via3,v3
end

types
  well  nwell,nw
  active  nwr
  well  pwell,pw
  well hvnwell,hnwell,hnw
  well hvpwell,hpwell,hpw
  implant  n_field_implant,nfi
  implant  p_field_implant,pfi
  select  nselect,ns
  select  pselect,ps
  cap  electrode,poly2,el,p2
  metal1  electrodecontact,poly2contact,poly2c,p2c,elc
  cap  electrodecap,ecap,poly2cap,p2cap,pcap
  contact  genericpoly2contact,gc2
  active  ntransistor,nfet
  active  ptransistor,pfet
  active  diffusion,diff
  active  hdiffusion,hdiff
  active  transistor,fet
  active  htransistor,hfet
  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  nwsd
  active  hnwsd
  active  nwsc
  active  hnwsc
  active  hvntransistor,hvnfet,hnfet
  active  hvptransistor,hvpfet,hpfet
  active  hvndiffusion,hvndif,hndiff
  active  hvpdiffusion,hvpdif,hpdiff
  active  hvndcontact,hvndc,hndc
  active  hvpdcontact,hvpdc,hpdc
  active  hvpsubstratepdiff,hpohmicdiff,hpod,hppdiff,hppd,hpsd
  active  hvnsubstratendiff,hnohmicdiff,hnod,hnndiff,hnnd,hnsd
  active  hvpsubstratepcontact,hpohmiccontact,hpoc,hppcontact,hppc,hpwcontact,hpwc,hpsc
  active  hvnsubstratencontact,hnohmiccontact,hnoc,hnncontact,hnnc,hnwcontact,hnwc,hnsc
  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  metal1tight,m1t
  metal1  m2contact,m2cut,m2c,via1,v1
  metal1  pm12contact,pm12c
  metal1  pdm12contact,pdm12c
  metal1  psm12contact,psm12c,pom12c,pwm12c
  metal1  ndm12contact,ndm12c
  metal1  nsm12contact,nsm12c,nom12c,nwm12c
  metal1  nwsm12contact,nwsm12c
  metal1  hpdm12contact,hpdm12c
  metal1  hpsm12contact,hpsm12c,hpom12c,hpwm12c
  metal1  hndm12contact,hndm12c
  metal1  hnsm12contact,hnsm12c,hnom12c,hnwm12c
  metal2  metal2,m2,purple
  metal2  pseudo_rmetal2,prm2
  metal2  rmetal2,rm2
  metal2  metal2tight,m2t
  via1  gv1
  metal2  m3contact,m3cut,m3c,via2,v2
  metal2  m123contact,m123c
  metal3  metal3,m3,cyan
  metal3  pseudo_rmetal3,prm3
  metal3  rmetal3,rm3
  metal3  metal3tight,m3t
  via2    gv2
  metal3  m234contact,m234c
  metal3  m4contact,m4cut,m4c,via3,v3
  metal4  metal4,m4,yellow
  metal4  pseudo_rmetal4,prm4
  metal4  rmetal4,rm4
  via3    gv3
  metal4  pad
  oxide  glass
  oxide  thickoxide,to
  active  pseudo_rpoly,prp
  active  rpoly,rp
  cap  pseudo_rpoly2,prp2
  cap  rpoly2,rp2
  active  pseudo_rndiffusion,prnd
  active  rndiffusion,rndiff,rnd
  active  pseudo_rpdiffusion,prpd
  active  rpdiffusion,rpdiff,rpd
  active  pseudo_rnwell,prnwell,prnw
  active  rnwell,rnw
  active  pseudo_nwr,pnwr
  implant  filln,fn
  xp  xp
  xp  m1p
  xp  m2p
  xp  m3p
  xp  m4p
  comment  comment
  comment  bb
end

contact
  pc  poly  metal1
  ndc  ndiff  metal1
  pdc  pdiff  metal1
  nsc  nsd  metal1
  nwsc  nwsd  metal1
  hnwsc  hnwsd  metal1
  psc  psd  metal1
  m2c  metal1  metal2
  m3c  metal2  metal3
  m4c  metal3  metal4
  pm12c  poly  metal1  metal2
  pdm12c  pdiff  metal1  metal2
  psm12c  psd  metal1  metal2
  ndm12c  ndiff  metal1  metal2
  nsm12c  nsd  metal1  metal2
  nwsm12c  nwsd  metal1  metal2
  hpdm12c  hpdiff  metal1  metal2
  hpsm12c  hpsd  metal1  metal2
  hndm12c  hndiff  metal1  metal2
  hnsm12c  hnsd  metal1  metal2
  m123c  metal1  metal2  metal3
  m234c  metal2  metal3  metal4
  hndc  hndif  metal1
  hpdc  hpdif  metal1
  hnsc  hnsd  metal1
  hpsc  hpsd  metal1
end

styles
 styletype  mos
  nwr  54
  pnwr  53
  nwsd  3
  nwsd  54
  hnwsd  3
  hnwsd  11
  hnwsd  54
  nwsc  3
  nwsc  20
  nwsc  32
  nwsc  54
  hnwsc  3
  hnwsc  11
  hnwsc  20
  hnwsc  32
  hnwsc  54
  nwell  12
  pwell  13
  nfi  53
  pfi  54
  nselect  43
  pselect  44
  diff  25
  hdiff  15
  tran  2
  tran  4
  htran  2
  htran  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
  fn  45
  fn  34
  m1t  49
  gv1  55
  m2contact  20
  m2contact  21
  m2contact  55
  pm12contact  1
  pm12contact  20
  pm12contact  21
  pm12contact  32
  pm12contact  55
  ndm12c  2
  ndm12c  20
  ndm12c  21
  ndm12c  32
  ndm12c  55
  hndm12c  2
  hndm12c  11
  hndm12c  20
  hndm12c  21
  hndm12c  32
  hndm12c  55
  nsm12c  3
  nsm12c  20
  nsm12c  21
  nsm12c  32
  nsm12c  55
  hnsm12c  3
  hnsm12c  11
  hnsm12c  20
  hnsm12c  21
  hnsm12c  32
  hnsm12c  55
  nwsm12c  3
  nwsm12c  20
  nwsm12c  21
  nwsm12c  32
  nwsm12c  55
  nwsm12c  54
  pdm12c  4
  pdm12c  20
  pdm12c  21
  pdm12c  32
  pdm12c  55
  hpdm12c  4
  hpdm12c  18
  hpdm12c  20
  hpdm12c  21
  hpdm12c  32
  hpdm12c  55
  psm12c  5
  psm12c  20
  psm12c  21
  psm12c  32
  psm12c  55
  hpsm12c  5
  hpsm12c  18
  hpsm12c  20
  hpsm12c  21
  hpsm12c  32
  hpsm12c  55
  metal2  21
  rm2  21
  rm2  48
  prm2  48
  m2p  21
  m2p  34
  m2t  50
  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
  m3t  51
  gv3  57
  m4contact  22
  m4contact  23
  m4contact  57
  m234contact  21
  m234contact  22
  m234contact  23
  m234contact  56
  m234contact  57
  metal4  23
  rm4  23
  rm4  48
  prm4  48
  m4p  23
  m4p  34
  pad  22
  pad  23
  pad  34
  pad  38
  glass  34
  to  34
  xp  25
  xp  34
  ecap  10
  ecap  14
  poly2  14
  p2c  14
  p2c  20
  p2c  32
  gc2  19
  hnwell  18
  hpwell  11
  hndif  2
  hndif  11
  hpdif  4
  hpdif  18
  hpsd  5
  hpsd  11
  hnsd  3
  hnsd  18
  hnfet  6
  hnfet  7
  hnfet  30
  hpfet  8
  hpfet  9
  hpfet  31
  hndc  2
  hndc  11
  hndc  20
  hndc  32
  hpdc  4
  hpdc  18
  hpdc  20
  hpdc  32
  hpsc  5
  hpsc  11
  hpsc  20
  hpsc  32
  hnsc  3
  hnsc  18
  hnsc  20
  hnsc  32
  rp  47
  rp  48
  prp  48
  rp2  14
  rp2  48
  prp2  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
  compose  hnfet  poly  hndif
  compose  hpfet  poly  hpdif
  paint  hdiff  nselect hndiff
  paint  hdiff  pselect hpdiff
  compose  htran  poly  hdiff
  paint  htran  nselect hnfet
  paint  htran  pselect hpfet
  paint  hndc  nwell  pdc
  paint  hnfet  nwell  pfet
  paint  hndif  nwell  pdiff
  paint  hpsd  nwell  nsd
  paint  hpsc  nwell  nsc
  paint  hpdc  pwell  ndc
  paint  hpfet  pwell  nfet
  paint  hpdif  pwell  ndiff
  paint  hnsd  pwell  psd
  paint  hnsc  pwell  psc
#ETO erase  hndc  to  ndc
#ETO erase  hnfet  to  nfet
#ETO erase  hndif  to  ndiff
#ETO erase  hpsd  to  psd
#ETO erase  hpsc  to  psc
#ETO erase  hpdc  to  pdc
#ETO erase  hpfet  to  pfet
#ETO erase  hpdif  to  pdiff
#ETO erase  hnsd  to  nsd
#ETO erase  hnsc  to  nsc
  paint  hndc  hnwell  hpdc
  paint  hnfet  hnwell  hpfet
  paint  hndif  hnwell  hpdif
  paint  hpsd  hnwell  hnsd
  paint  hpsc  hnwell  hnsc
  paint  hpdc  hpwell  hndc
  paint  hpfet  hpwell  hnfet
  paint  hpdif  hpwell  hndif
  paint  hnsd  hpwell  hpsd
  paint  hnsc  hpwell  hpsc
  paint  ndc  hnwell  hpdc
  paint  nfet  hnwell  hpfet
  paint  ndiff  hnwell  hpdif
  paint  psd  hnwell  hnsd
  paint  psc  hnwell  hnsc
  paint  pdc  hpwell  hndc
  paint  pfet  hpwell  hnfet
  paint  pdiff  hpwell  hndif
  paint  nsd  hpwell  hpsd
  paint  nsc  hpwell  hpsc
  paint  ndc  to  hndc
  paint  nfet  to  hnfet
  paint  ndiff  to  hndif
  paint  psd  to  hpsd
  paint  psc  to  hpsc
  paint  pdc  to  hpdc
  paint  pfet  to  hpfet
  paint  pdiff  to  hpdif
  paint  nsd  to  hnsd
  paint  nsc  to  hnsc
  paint  poly2 poly  ecap
  erase  ecap   poly  poly2
  paint  pad  m3  pad
  paint  pad  m4  pad
  paint  m1t  m1  m1
  paint  m1  m1t  m1t
  paint  m2c  m2t  m2c
  paint  ndc  m1t  ndc
  paint  pdc  m1t  pdc
  paint  pc  m1t  pc
  paint  m2t  m2  m2
  paint  m2  m2t  m2t
  paint  m3c  m3t  m3c
  paint  m3t  m3  m3
  paint  m3  m3t  m3t
#CRE/CRM
  compose  rm1  prm1 m1
  compose  rm2  prm2 m2
  compose  rm3  prm3 m3
  compose  rm4  prm4 m4
  compose  rp  prp poly
  compose  rp2  prp2 poly2
  compose  rnd  prnd ndiff
  compose  rpd  prpd pdiff
  paint  nwell  rnw space
  paint  nwell  nwr space
  paint  nwell  prnw space
end

connect
  nwell,hnwell,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a,nsd,nwsd,hnsd  nwell,hnwell,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a,nsd,nwsd,hnsd
  pwell,hpwell,psc/a,psm12c/a,hpsc/a,hpsm12c/a,psd,hpsd  pwell,hpwell,psc/a,psm12c/a,hpsc/a,hpsm12c/a,psd,hpsd
  hnwell,hnsc,hnsd  hnwell,hnsc,hnsd
  hpwell,hpsc,hpsd  hpwell,hpsc,hpsd
  hndif  hndc
  hpdif  hpdc
  m1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1  m1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
  m2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2  m2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
  m3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m4c/m3,m234c/m3  m3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m4c/m3,m234c/m3
  m4,m4c/m4,m234c/m4  m4,m4c/m4,m234c/m4
  ndiff,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdiff,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a  ndiff,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdiff,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a
  poly,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,pm12c/a  poly,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,pm12c/a
  poly2,ecap,p2c  poly2,ecap,p2c
  gc2 poly2,ecap,metal1
  gc  poly,ndiff,hndif,pdiff,hpdif,nsd,nwsd,psd,hnsd,hpsd,hndif,hpdif,m1,m1t,m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
  gv1  m1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2,m2t,m3c/m2,m123c/m2,m234c/m2
  gv2  m2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m123c/m2,m234c/m2,m3,m3t,m4c/m3,m234c/m3
  gv3  m3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m4
  pad  m1,m1t,m2,m2t,m3,m3t,m4
  rm1  prm1
  rm2  prm2
  rm3  prm3
  rm4  prm4
  rnw  prnw
  nwr  pnwr
  rp  prp
  rp2  prp2
  rnd  prnd
  rpd  prpd
end

cifoutput

style  lambda=0.25(p)
 scalefactor  25 calmaonly

 layer CWN nwell,hnwell,rnw,nwr,nwsd,nwsc
 bloat-or pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,pfet,hpfet * 125
 bloat-or nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a * 75
 bloat-or nfi * 100
 grow 75
 shrink 75
 labels nwell,hnwell,rnw,nwr,nwsd,nwsc
 calma 42 0

 layer CWNR nwsd,nwsc,nwr
 grow 125
 calma 91 0

 layer CWND nwr
 labels nwr
 calma 92 0

 layer CAA nwsd,nwsc,nwr
 grow 100
 labels nwsd,nwsc
 calma 43 0

 layer CSN
 bloat-or nwsd,nwsc * 75 nwr 0
 calma 43 0

 templayer TNWR
 bloat-or nwr * 100 nwsd,nwsc 50

 templayer TCSB nwsd,nwsc
 grow 25
 and-not TNWR
 
 layer CSB nwsd,nwsc,nwr
 grow 125
 and-not TCSB
 calma 29 0

 layer CRNW pnwr
 labels pnwr
 calma 93 0

 layer CWP pwell,hpwell
 bloat-or ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nfet,hnfet * 125
 bloat-or psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a * 75
 bloat-or pfi * 100
 grow 75
 shrink 75
 and-not CWN
 labels pwell,hpwell
 calma 41 0

 templayer TNS ns

 templayer TPS ps

#we give priority to selects autogenerated around diffusions (vrs. ohmics)
#XDP = (pdiff*50) Or ps
#XDN = (ndiff*50) Or ns
#FSP = ((pdiff*50,psc*50) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*50,nsc*50) 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,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a * 50 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 0
 or TNS

#diffusion auto-pselect (will have priority)
 templayer XDP
 bloat-or pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a * 50 nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a 0
 or TPS

#final pselect 
 templayer FSP
 bloat-or pdiff,rpd,pfet,psd,hpdif,hpfet,hpsd,pdc/a,pdm12c/a,psc/a,psm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,pfet,hpfet * 50 ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a,nfet,hnfet 0
 or XDP
#give diff nselect priority
 and-not XDN
 or TPS
 shrink 28
 grow 28
 grow 28
 shrink 28

#final nselect
 templayer FSN
 bloat-or ndiff,rnd,nfet,nsd,nwsd,hndif,hnfet,hnsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,nfet,hnfet * 50 pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a,pfet,hpfet 0
 and-not nwr
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 28
 grow 28
 grow 28
 shrink 28

 layer CSN FSN
 calma 45 0

 layer CSP FSP
 calma 44 0

 layer CTA hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd
 grow 100
 or to
 or hnwell,hpwell
 grow 50
 shrink 50
 labels hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,to
 calma 60 0

 layer CAA diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,pfet,pfet,fet,hpfet,hpfet,hfet
 labels diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,pfet,pfet,fet,hpfet,hpfet,hfet
 calma 43 0

 layer CCA nwsc/m1
 squares 50 50 50
 calma 48 0

 layer CCA ndc/m1,hndc/m1,nsc/m1,hnsc/m1
 squares 25 50 50
 calma 48 0

 layer CCA nwsm12c/m1
 squares 50 50 75
 calma 48 0

 layer CCA ndm12c/m1,hndm12c/m1,nsm12c/m1,hnsm12c/m1
 squares 25 50 75
 calma 48 0

 layer CCA pdc/m1,psc/m1,hpdc/m1,hpsc/m1
 squares 25 50 50
 calma 48 0

 layer CCA pdm12c/m1,psm12c/m1,hpdm12c/m1,hpsm12c/m1
 squares 25 50 75
 calma 48 0

 layer CPG poly,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,pm12c/a
 labels poly,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,pm12c/a
 calma 46 0

 layer CCP pc/m1
 squares 25 50 50
 calma 47 0

 layer CCP pm12c/m1
 squares 25 50 75
 calma 47 0

 layer CCE gc2
 squares 0 50 50
 calma 55 0

 layer CCE p2c
 squares 25 50 50
 calma 55 0

 layer CCE 
 squares 25 50 75
 calma 55 0

 layer CCE gc2
 squares 0 50 50
 calma 55 0

 layer CCC gc
 squares 0 50 50
 calma 25 0

 layer CV1 m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
 squares 25 50 75
 calma 50 0

 layer CV1 gv1
 squares 0 50 75
 calma 50 0

 layer CV2 m3c/m2,m123c/m2,m234c/m2
 squares 25 50 75
 calma 61 0

 layer CV2 gv2
 squares 0 50 75
 calma 61 0

 layer CV3 m4c/m3,m234c/m3
 squares 25 50 75
 calma 30 0

 layer CV3 gv3
 squares 0 50 75
 calma 30 0


 templayer XPAD1 pad
 shrink 150

 templayer XPAD2 XPAD1
 shrink 150

 layer CM4 pad
 labels pad
 calma 31 0

 layer CV3 XPAD2
 squares 50 50 250
 calma 30 0

 layer CM3 pad
 labels pad
 calma 62 0

 layer CV2 XPAD2
 squares 200 50 250
 calma 61 0

 layer CM2 pad
 labels pad
 calma 51 0

 layer CV1 XPAD2
 squares 50 50 250
 calma 50 0

 layer CM1 pad
 calma 49 0

 layer CM1 m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
 labels m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
 calma 49 0

 layer CM2 m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 labels m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 calma 51 0

 layer CMFP m1p
 labels m1p
 calma 81 0

 layer CMSP m2p
 labels m2p
 calma 82 0

 layer CM3 m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m4c/m3,m234c/m3
 labels m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m4c/m3,m234c/m3
 calma 62 0

 layer CMTP m3p
 labels m3p
 calma 83 0

 layer CM4 m4,rm4,m4c/m4,m234c/m4
 labels m4,rm4,m4c/m4,m234c/m4
 calma 31 0

 layer CMQP m4p
 labels m4p
 calma 84 0

 layer COG pad
 shrink 500
 labels pad
 calma 52 0

 layer COG glass
 labels glass
 calma 52 0

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

 layer CEL poly2,ecap,p2c
 labels poly2,ecap,p2c
 calma 56 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,rp2
 labels rnw,rp,rnd,rpd,rp2
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRG2 rp2,prp2
 labels rp2,prp2
 calma 68 0
 layer CRT rm3,prm3
 labels rm3,prm3
 calma 73 0
 layer CRQ rm4,prm4
 labels rm4,prm4
 calma 74 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3,rm4,prm4
#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.25(cp)
 scalefactor  25 calmaonly

 layer CWN nwell,hnwell,rnw,nwr,nwsd,nwsc
 bloat-or pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,pfet,hpfet * 125
 bloat-or nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a * 75
 bloat-or nfi * 100
 grow 75
 shrink 75
 labels nwell,hnwell,rnw,nwr,nwsd,nwsc
 calma 42 0

 layer CWNR nwsd,nwsc,nwr
 grow 125
 calma 91 0

 layer CWND nwr
 labels nwr
 calma 92 0

 layer CAA nwsd,nwsc,nwr
 grow 100
 labels nwsd,nwsc
 calma 43 0

 layer CSN
 bloat-or nwsd,nwsc * 75 nwr 0
 calma 43 0

 templayer TNWR
 bloat-or nwr * 100 nwsd,nwsc 50

 templayer TCSB nwsd,nwsc
 grow 25
 and-not TNWR
 
 layer CSB nwsd,nwsc,nwr
 grow 125
 and-not TCSB
 calma 29 0

 layer CRNW pnwr
 labels pnwr
 calma 93 0

 layer CWP pwell,hpwell
 bloat-or ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nfet,hnfet * 125
 bloat-or psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a * 75
 bloat-or pfi * 100
 grow 75
 shrink 75
 and-not CWN
 labels pwell,hpwell
 calma 41 0

 templayer TNS ns

 templayer TPS ps

#we give priority to selects autogenerated around diffusions (vrs. ohmics)
#XDP = (pdiff*50) Or ps
#XDN = (ndiff*50) Or ns
#FSP = ((pdiff*50,psc*50) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*50,nsc*50) 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,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a * 50 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 0
 or TNS

#diffusion auto-pselect (will have priority)
 templayer XDP
 bloat-or pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a * 50 nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a 0
 or TPS

#final pselect 
 templayer FSP
 bloat-or pdiff,rpd,pfet,psd,hpdif,hpfet,hpsd,pdc/a,pdm12c/a,psc/a,psm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,pfet,hpfet * 50 ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a,nfet,hnfet 0
 or XDP
#give diff nselect priority
 and-not XDN
 or TPS
 shrink 28
 grow 28
 grow 28
 shrink 28

#final nselect
 templayer FSN
 bloat-or ndiff,rnd,nfet,nsd,nwsd,hndif,hnfet,hnsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,nfet,hnfet * 50 pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a,pfet,hpfet 0
 and-not nwr
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 28
 grow 28
 grow 28
 shrink 28

 layer CSN FSN
 calma 45 0

 layer CSP FSP
 calma 44 0

 layer CTA hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd
 grow 100
 or to
 or hnwell,hpwell
 grow 50
 shrink 50
 labels hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,to
 calma 60 0

 layer CAA diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,pfet,pfet,fet,hpfet,hpfet,hfet
 labels diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,pfet,pfet,fet,hpfet,hpfet,hfet
 calma 43 0

 layer CCC nwsc/m1
 squares 50 50 50
 calma 25 0

 layer CCC ndc/m1,hndc/m1,nsc/m1,hnsc/m1
 squares 25 50 50
 calma 25 0

 layer CCC nwsm12c/m1
 squares 50 50 75
 calma 25 0

 layer CCC ndm12c/m1,hndm12c/m1,nsm12c/m1,hnsm12c/m1
 squares 25 50 75
 calma 25 0

 layer CCC pdc/m1,psc/m1,hpdc/m1,hpsc/m1
 squares 25 50 50
 calma 25 0

 layer CCC pdm12c/m1,psm12c/m1,hpdm12c/m1,hpsm12c/m1
 squares 25 50 75
 calma 25 0

 layer CPG poly,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,pm12c/a
 labels poly,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,pm12c/a
 calma 46 0

 layer CCC pc/m1
 squares 25 50 50
 calma 25 0

 layer CCC pm12c/m1
 squares 25 50 75
 calma 25 0

 layer CCC gc2
 squares 0 50 50
 calma 25 0

 layer CCC p2c
 squares 25 50 50
 calma 25 0

 layer CCC 
 squares 25 50 75
 calma 25 0

 layer CCC gc2
 squares 0 50 50
 calma 25 0

 layer CCC gc
 squares 0 50 50
 calma 25 0

 layer CV1 m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
 squares 25 50 75
 calma 50 0

 layer CV1 gv1
 squares 0 50 75
 calma 50 0

 layer CV2 m3c/m2,m123c/m2,m234c/m2
 squares 25 50 75
 calma 61 0

 layer CV2 gv2
 squares 0 50 75
 calma 61 0

 layer CV3 m4c/m3,m234c/m3
 squares 25 50 75
 calma 30 0

 layer CV3 gv3
 squares 0 50 75
 calma 30 0


 templayer XPAD1 pad
 shrink 150

 templayer XPAD2 XPAD1
 shrink 150

 layer CM4 pad
 labels pad
 calma 31 0

 layer CV3 XPAD2
 squares 50 50 250
 calma 30 0

 layer CM3 pad
 labels pad
 calma 62 0

 layer CV2 XPAD2
 squares 200 50 250
 calma 61 0

 layer CM2 pad
 labels pad
 calma 51 0

 layer CV1 XPAD2
 squares 50 50 250
 calma 50 0

 layer CM1 pad
 calma 49 0

 layer CM1 m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
 labels m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
 calma 49 0

 layer CM2 m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 labels m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 calma 51 0

 layer CMFP m1p
 labels m1p
 calma 81 0

 layer CMSP m2p
 labels m2p
 calma 82 0

 layer CM3 m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m4c/m3,m234c/m3
 labels m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m4c/m3,m234c/m3
 calma 62 0

 layer CMTP m3p
 labels m3p
 calma 83 0

 layer CM4 m4,rm4,m4c/m4,m234c/m4
 labels m4,rm4,m4c/m4,m234c/m4
 calma 31 0

 layer CMQP m4p
 labels m4p
 calma 84 0

 layer COG pad
 shrink 500
 labels pad
 calma 52 0

 layer COG glass
 labels glass
 calma 52 0

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

 layer CEL poly2,ecap,p2c
 labels poly2,ecap,p2c
 calma 56 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,rp2
 labels rnw,rp,rnd,rpd,rp2
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRG2 rp2,prp2
 labels rp2,prp2
 calma 68 0
 layer CRT rm3,prm3
 labels rm3,prm3
 calma 73 0
 layer CRQ rm4,prm4
 labels rm4,prm4
 calma 74 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3,rm4,prm4
#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.25(c)
 scalefactor  25 calmaonly

 layer CWN nwell,hnwell,rnw,nwr,nwsd,nwsc
 bloat-or pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,pfet,hpfet * 125
 bloat-or nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a * 75
 bloat-or nfi * 100
 grow 75
 shrink 75
 labels nwell,hnwell,rnw,nwr,nwsd,nwsc
 calma 42 0

 layer CWNR nwsd,nwsc,nwr
 grow 125
 calma 91 0

 layer CWND nwr
 labels nwr
 calma 92 0

 layer CAA nwsd,nwsc,nwr
 grow 100
 labels nwsd,nwsc
 calma 43 0

 layer CSN
 bloat-or nwsd,nwsc * 75 nwr 0
 calma 43 0

 templayer TNWR
 bloat-or nwr * 100 nwsd,nwsc 50

 templayer TCSB nwsd,nwsc
 grow 25
 and-not TNWR
 
 layer CSB nwsd,nwsc,nwr
 grow 125
 and-not TCSB
 calma 29 0

 layer CRNW pnwr
 labels pnwr
 calma 93 0

 templayer TNS ns

 templayer TPS ps

#we give priority to selects autogenerated around diffusions (vrs. ohmics)
#XDP = (pdiff*50) Or ps
#XDN = (ndiff*50) Or ns
#FSP = ((pdiff*50,psc*50) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*50,nsc*50) 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,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a * 50 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 0
 or TNS

#diffusion auto-pselect (will have priority)
 templayer XDP
 bloat-or pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a * 50 nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a 0
 or TPS

#final pselect 
 templayer FSP
 bloat-or pdiff,rpd,pfet,psd,hpdif,hpfet,hpsd,pdc/a,pdm12c/a,psc/a,psm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,pfet,hpfet * 50 ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a,nfet,hnfet 0
 or XDP
#give diff nselect priority
 and-not XDN
 or TPS
 shrink 28
 grow 28
 grow 28
 shrink 28

#final nselect
 templayer FSN
 bloat-or ndiff,rnd,nfet,nsd,nwsd,hndif,hnfet,hnsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,nfet,hnfet * 50 pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a,pfet,hpfet 0
 and-not nwr
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 28
 grow 28
 grow 28
 shrink 28

 layer CSN FSN
 calma 45 0

 layer CSP FSP
 calma 44 0

 layer CTA hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd
 grow 100
 or to
 or hnwell,hpwell
 grow 50
 shrink 50
 labels hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,to
 calma 60 0

 layer CAA diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,pfet,pfet,fet,hpfet,hpfet,hfet
 labels diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,pfet,pfet,fet,hpfet,hpfet,hfet
 calma 43 0

 layer CCC nwsc/m1
 squares 50 50 50
 calma 25 0

 layer CCC ndc/m1,hndc/m1,nsc/m1,hnsc/m1
 squares 25 50 50
 calma 25 0

 layer CCC nwsm12c/m1
 squares 50 50 75
 calma 25 0

 layer CCC ndm12c/m1,hndm12c/m1,nsm12c/m1,hnsm12c/m1
 squares 25 50 75
 calma 25 0

 layer CCC pdc/m1,psc/m1,hpdc/m1,hpsc/m1
 squares 25 50 50
 calma 25 0

 layer CCC pdm12c/m1,psm12c/m1,hpdm12c/m1,hpsm12c/m1
 squares 25 50 75
 calma 25 0

 layer CPG poly,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,pm12c/a
 labels poly,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,pm12c/a
 calma 46 0

 layer CCC pc/m1
 squares 25 50 50
 calma 25 0

 layer CCC pm12c/m1
 squares 25 50 75
 calma 25 0

 layer CCC gc2
 squares 0 50 50
 calma 25 0

 layer CCC p2c
 squares 25 50 50
 calma 25 0

 layer CCC 
 squares 25 50 75
 calma 25 0

 layer CCC gc2
 squares 0 50 50
 calma 25 0

 layer CCC gc
 squares 0 50 50
 calma 25 0

 layer CV1 m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
 squares 25 50 75
 calma 50 0

 layer CV1 gv1
 squares 0 50 75
 calma 50 0

 layer CV2 m3c/m2,m123c/m2,m234c/m2
 squares 25 50 75
 calma 61 0

 layer CV2 gv2
 squares 0 50 75
 calma 61 0

 layer CV3 m4c/m3,m234c/m3
 squares 25 50 75
 calma 30 0

 layer CV3 gv3
 squares 0 50 75
 calma 30 0


 templayer XPAD1 pad
 shrink 150

 templayer XPAD2 XPAD1
 shrink 150

 layer CM4 pad
 labels pad
 calma 31 0

 layer CV3 XPAD2
 squares 50 50 250
 calma 30 0

 layer CM3 pad
 labels pad
 calma 62 0

 layer CV2 XPAD2
 squares 200 50 250
 calma 61 0

 layer CM2 pad
 labels pad
 calma 51 0

 layer CV1 XPAD2
 squares 50 50 250
 calma 50 0

 layer CM1 pad
 calma 49 0

 layer CM1 m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
 labels m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
 calma 49 0

 layer CM2 m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 labels m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 calma 51 0

 layer CMFP m1p
 labels m1p
 calma 81 0

 layer CMSP m2p
 labels m2p
 calma 82 0

 layer CM3 m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m4c/m3,m234c/m3
 labels m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m4c/m3,m234c/m3
 calma 62 0

 layer CMTP m3p
 labels m3p
 calma 83 0

 layer CM4 m4,rm4,m4c/m4,m234c/m4
 labels m4,rm4,m4c/m4,m234c/m4
 calma 31 0

 layer CMQP m4p
 labels m4p
 calma 84 0

 layer COG pad
 shrink 500
 labels pad
 calma 52 0

 layer COG glass
 labels glass
 calma 52 0

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

 layer CEL poly2,ecap,p2c
 labels poly2,ecap,p2c
 calma 56 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,rp2
 labels rnw,rp,rnd,rpd,rp2
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRG2 rp2,prp2
 labels rp2,prp2
 calma 68 0
 layer CRT rm3,prm3
 labels rm3,prm3
 calma 73 0
 layer CRQ rm4,prm4
 labels rm4,prm4
 calma 74 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3,rm4,prm4
#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.25()
 scalefactor  25 calmaonly

 layer CWN nwell,hnwell,rnw,nwr,nwsd,nwsc
 bloat-or pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,pfet,hpfet * 125
 bloat-or nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a * 75
 bloat-or nfi * 100
 grow 75
 shrink 75
 labels nwell,hnwell,rnw,nwr,nwsd,nwsc
 calma 42 0

 layer CWNR nwsd,nwsc,nwr
 grow 125
 calma 91 0

 layer CWND nwr
 labels nwr
 calma 92 0

 layer CAA nwsd,nwsc,nwr
 grow 100
 labels nwsd,nwsc
 calma 43 0

 layer CSN
 bloat-or nwsd,nwsc * 75 nwr 0
 calma 43 0

 templayer TNWR
 bloat-or nwr * 100 nwsd,nwsc 50

 templayer TCSB nwsd,nwsc
 grow 25
 and-not TNWR
 
 layer CSB nwsd,nwsc,nwr
 grow 125
 and-not TCSB
 calma 29 0

 layer CRNW pnwr
 labels pnwr
 calma 93 0

 templayer TNS ns

 templayer TPS ps

#we give priority to selects autogenerated around diffusions (vrs. ohmics)
#XDP = (pdiff*50) Or ps
#XDN = (ndiff*50) Or ns
#FSP = ((pdiff*50,psc*50) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*50,nsc*50) 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,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a * 50 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 0
 or TNS

#diffusion auto-pselect (will have priority)
 templayer XDP
 bloat-or pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a * 50 nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a 0
 or TPS

#final pselect 
 templayer FSP
 bloat-or pdiff,rpd,pfet,psd,hpdif,hpfet,hpsd,pdc/a,pdm12c/a,psc/a,psm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,pfet,hpfet * 50 ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a,nfet,hnfet 0
 or XDP
#give diff nselect priority
 and-not XDN
 or TPS
 shrink 28
 grow 28
 grow 28
 shrink 28

#final nselect
 templayer FSN
 bloat-or ndiff,rnd,nfet,nsd,nwsd,hndif,hnfet,hnsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,nfet,hnfet * 50 pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a,pfet,hpfet 0
 and-not nwr
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 28
 grow 28
 grow 28
 shrink 28

 layer CSN FSN
 calma 45 0

 layer CSP FSP
 calma 44 0

 layer CTA hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd
 grow 100
 or to
 or hnwell,hpwell
 grow 50
 shrink 50
 labels hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,to
 calma 60 0

 layer CAA diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,pfet,pfet,fet,hpfet,hpfet,hfet
 labels diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,pfet,pfet,fet,hpfet,hpfet,hfet
 calma 43 0

 layer CCA nwsc/m1
 squares 50 50 50
 calma 48 0

 layer CCA ndc/m1,hndc/m1,nsc/m1,hnsc/m1
 squares 25 50 50
 calma 48 0

 layer CCA nwsm12c/m1
 squares 50 50 75
 calma 48 0

 layer CCA ndm12c/m1,hndm12c/m1,nsm12c/m1,hnsm12c/m1
 squares 25 50 75
 calma 48 0

 layer CCA pdc/m1,psc/m1,hpdc/m1,hpsc/m1
 squares 25 50 50
 calma 48 0

 layer CCA pdm12c/m1,psm12c/m1,hpdm12c/m1,hpsm12c/m1
 squares 25 50 75
 calma 48 0

 layer CPG poly,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,pm12c/a
 labels poly,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,pm12c/a
 calma 46 0

 layer CCP pc/m1
 squares 25 50 50
 calma 47 0

 layer CCP pm12c/m1
 squares 25 50 75
 calma 47 0

 layer CCE gc2
 squares 0 50 50
 calma 55 0

 layer CCE p2c
 squares 25 50 50
 calma 55 0

 layer CCE 
 squares 25 50 75
 calma 55 0

 layer CCE gc2
 squares 0 50 50
 calma 55 0

 layer CCC gc
 squares 0 50 50
 calma 25 0

 layer CV1 m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
 squares 25 50 75
 calma 50 0

 layer CV1 gv1
 squares 0 50 75
 calma 50 0

 layer CV2 m3c/m2,m123c/m2,m234c/m2
 squares 25 50 75
 calma 61 0

 layer CV2 gv2
 squares 0 50 75
 calma 61 0

 layer CV3 m4c/m3,m234c/m3
 squares 25 50 75
 calma 30 0

 layer CV3 gv3
 squares 0 50 75
 calma 30 0


 templayer XPAD1 pad
 shrink 150

 templayer XPAD2 XPAD1
 shrink 150

 layer CM4 pad
 labels pad
 calma 31 0

 layer CV3 XPAD2
 squares 50 50 250
 calma 30 0

 layer CM3 pad
 labels pad
 calma 62 0

 layer CV2 XPAD2
 squares 200 50 250
 calma 61 0

 layer CM2 pad
 labels pad
 calma 51 0

 layer CV1 XPAD2
 squares 50 50 250
 calma 50 0

 layer CM1 pad
 calma 49 0

 layer CM1 m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
 labels m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
 calma 49 0

 layer CM2 m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 labels m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 calma 51 0

 layer CMFP m1p
 labels m1p
 calma 81 0

 layer CMSP m2p
 labels m2p
 calma 82 0

 layer CM3 m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m4c/m3,m234c/m3
 labels m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m4c/m3,m234c/m3
 calma 62 0

 layer CMTP m3p
 labels m3p
 calma 83 0

 layer CM4 m4,rm4,m4c/m4,m234c/m4
 labels m4,rm4,m4c/m4,m234c/m4
 calma 31 0

 layer CMQP m4p
 labels m4p
 calma 84 0

 layer COG pad
 shrink 500
 labels pad
 calma 52 0

 layer COG glass
 labels glass
 calma 52 0

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

 layer CEL poly2,ecap,p2c
 labels poly2,ecap,p2c
 calma 56 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,rp2
 labels rnw,rp,rnd,rpd,rp2
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRG2 rp2,prp2
 labels rp2,prp2
 calma 68 0
 layer CRT rm3,prm3
 labels rm3,prm3
 calma 73 0
 layer CRQ rm4,prm4
 labels rm4,prm4
 calma 74 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3,rm4,prm4
#CRE/CRM calma 70 0

 layer CX comment
 labels comment
 calma 63 0

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

end

cifinput

style  lambda=0.25(p)
 scalefactor  25

 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 *

 calma CWNR 91 *

 layer nwr CWND
 calma CWND 92 *

 layer pseudo_nwr CRNW
 calma CRNW 93 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and-not CRE
 labels CWN
 calma CWN 42 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and CRE
 and CAA
 calma CWN 42 *

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

 layer hpwell CWP
 and 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 hdiff CAA
 and CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer htran CAA
 and 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 nwsd CAA
 and CSN
 and CWNR
 shrink 100
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hndif CAA
 and CSN
 and-not CWNR
 and 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 hpdif CAA
 and CSP
 and-not CWNR
 and 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 hnfet CAA
 and CSN
 and-not CWNR
 and CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hpfet CAA
 and CSP
 and-not CWNR
 and 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 hnsd CAA
 and CSN
 and-not CWNR
 and CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

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

 layer hndc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hndc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hnsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hnsc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpdc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpdc CAA
 and CSP
 and CCC
 and-not CV1
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpsc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and-not CV1
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

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

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

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

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

 layer nwsc CAA
 and CSN
 and-not CTA
 and-not CV1
 and CWNR
 shrink 100
 and-not CTA
 and CCA
 
 and CWN
 and CM1
 grow 50
 calma CCA 48 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and-not CV1
 and CWNR
 shrink 105
 and-not CTA
 and CCC
 
 and CWN
 and CM1
 grow 50
 calma CCC 25 *

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

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

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

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

 layer hndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hnsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hnsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpsc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

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

 layer nsc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

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

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and CWNR
 shrink 100
 and-not CTA
 and CCA
 
 and CWN
 and CM1
 grow 50
 calma CCA 48 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and CWNR
 shrink 105
 and-not CTA
 and CCC
 
 and CWN
 and CM1
 grow 50
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

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

 layer psc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 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 25
 and CM1
 calma CCP 47 *

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

 layer pc CCP
 and CV1
 and CV2
 and-not CV3
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 25
 and CM1
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and-not CV3
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 25
 and CM1
 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 gc2 CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc2 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 gv3 CV3
 and-not COP
 and-not CM3
 calma CV3 30 *

 layer gv3 CV3
 and-not COP
 and-not CM4
 calma CV3 30 *

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

 layer m2c CV1
 and CV2
 and CV3
 and-not CCC
 and-not CCP
 and-not CCA
 and-not XP
 grow 25
 and CM2
 and CM1
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and-not CV2
 and CCP
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and-not CV2
 and CCC
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and CV2
 and CV3
 and CCP
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and CV2
 and CV3
 and CCC
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 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 hndm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hndm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hndm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hndm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer m3c CV2
 and-not CV3
 and-not CV1
 and-not XP
 grow 25
 and CM3
 and CM2
 grow 15
 shrink 15
 calma CV2 61 *

 layer m123c CV2
 and-not CV3
 and CV1
 and-not XP
 grow 25
 and CM3
 and CM2
 and CM1
 grow 15
 shrink 15
 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 m234c CV3

 and CV2
 and-not XP
 grow 25
 and CM4
 and CM3
 and CM2
 grow 25
 shrink 25
 calma CV3 30 *

 layer m4 CM4
 and-not CRM
 and-not CRQ
 and-not XP
 labels CM4
 calma CM4 31 *

 layer rm4 CRM
 and CM4
 calma CRM 70 *

 layer rm4 CRQ
 and CM4
 calma CRQ 74 *

 layer pseudo_rmetal4 CRQ
 and-not rm4
 calma CRQ 74 *

 layer m4p CMQP
 labels CMQP
 calma CMQP 84 *

 layer m4c CV3

 and-not CV2
 and-not XP
 grow 25
 and CM4
 and CM3
 grow 25
 shrink 25
 calma CV3 30 *

 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 ecap CEL
 and CPG
 labels CEL
 calma CEL 56 *

 layer poly2 CEL
 and-not CPG
 labels CEL
 calma CEL 56 *

 layer rp2 CEL
 and CRG2
 calma CEL 56 *

 layer pseudo_rpoly2 CRG2
 and-not CRE
 calma CRG2 68 *

 layer elc CCE
 grow 25
 and CM1
 and CEL
 labels CM1
 calma CCE 55 *

 layer elc CCC
 grow 25
 and CM1
 and CEL
 labels CM1
 calma CCC 25 *

 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 CRQ 74 *
 calma CRM 70 *


style  lambda=0.25(s)
 scalefactor  25

 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 *

 calma CWNR 91 *

 layer nwr CWND
 calma CWND 92 *

 layer pseudo_nwr CRNW
 calma CRNW 93 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and-not CRE
 labels CWN
 calma CWN 42 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and CRE
 and CAA
 calma CWN 42 *


 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 hdiff CAA
 and CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer htran CAA
 and 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 nwsd CAA
 and CSN
 and CWNR
 shrink 100
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hndif CAA
 and CSN
 and-not CWNR
 and 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 hpdif CAA
 and CSP
 and-not CWNR
 and 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 hnfet CAA
 and CSN
 and-not CWNR
 and CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hpfet CAA
 and CSP
 and-not CWNR
 and 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 hnsd CAA
 and CSN
 and-not CWNR
 and CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

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

 layer hndc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hndc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hnsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hnsc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpdc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpdc CAA
 and CSP
 and CCC
 and-not CV1
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpsc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and-not CV1
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

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

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

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

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

 layer nwsc CAA
 and CSN
 and-not CTA
 and-not CV1
 and CWNR
 shrink 100
 and-not CTA
 and CCA
 
 and CWN
 and CM1
 grow 50
 calma CCA 48 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and-not CV1
 and CWNR
 shrink 105
 and-not CTA
 and CCC
 
 and CWN
 and CM1
 grow 50
 calma CCC 25 *

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

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

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

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

 layer hndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hnsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hnsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpsc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

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

 layer nsc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

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

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and CWNR
 shrink 100
 and-not CTA
 and CCA
 
 and CWN
 and CM1
 grow 50
 calma CCA 48 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and CWNR
 shrink 105
 and-not CTA
 and CCC
 
 and CWN
 and CM1
 grow 50
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

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

 layer psc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 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 25
 and CM1
 calma CCP 47 *

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

 layer pc CCP
 and CV1
 and CV2
 and-not CV3
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 25
 and CM1
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and-not CV3
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 25
 and CM1
 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 gc2 CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc2 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 gv3 CV3
 and-not COP
 and-not CM3
 calma CV3 30 *

 layer gv3 CV3
 and-not COP
 and-not CM4
 calma CV3 30 *

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

 layer m2c CV1
 and CV2
 and CV3
 and-not CCC
 and-not CCP
 and-not CCA
 and-not XP
 grow 25
 and CM2
 and CM1
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and-not CV2
 and CCP
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and-not CV2
 and CCC
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and CV2
 and CV3
 and CCP
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and CV2
 and CV3
 and CCC
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 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 hndm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hndm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hndm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hndm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer m3c CV2
 and-not CV3
 and-not CV1
 and-not XP
 grow 25
 and CM3
 and CM2
 grow 15
 shrink 15
 calma CV2 61 *

 layer m123c CV2
 and-not CV3
 and CV1
 and-not XP
 grow 25
 and CM3
 and CM2
 and CM1
 grow 15
 shrink 15
 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 m234c CV3

 and CV2
 and-not XP
 grow 25
 and CM4
 and CM3
 and CM2
 grow 25
 shrink 25
 calma CV3 30 *

 layer m4 CM4
 and-not CRM
 and-not CRQ
 and-not XP
 labels CM4
 calma CM4 31 *

 layer rm4 CRM
 and CM4
 calma CRM 70 *

 layer rm4 CRQ
 and CM4
 calma CRQ 74 *

 layer pseudo_rmetal4 CRQ
 and-not rm4
 calma CRQ 74 *

 layer m4p CMQP
 labels CMQP
 calma CMQP 84 *

 layer m4c CV3

 and-not CV2
 and-not XP
 grow 25
 and CM4
 and CM3
 grow 25
 shrink 25
 calma CV3 30 *

 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 ecap CEL
 and CPG
 labels CEL
 calma CEL 56 *

 layer poly2 CEL
 and-not CPG
 labels CEL
 calma CEL 56 *

 layer rp2 CEL
 and CRG2
 calma CEL 56 *

 layer pseudo_rpoly2 CRG2
 and-not CRE
 calma CRG2 68 *

 layer elc CCE
 grow 25
 and CM1
 and CEL
 labels CM1
 calma CCE 55 *

 layer elc CCC
 grow 25
 and CM1
 and CEL
 labels CM1
 calma CCC 25 *

 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 CRQ 74 *
 calma CRM 70 *


style  lambda=0.25(ps)
 scalefactor  25

 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 *

 calma CWNR 91 *

 layer nwr CWND
 calma CWND 92 *

 layer pseudo_nwr CRNW
 calma CRNW 93 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and-not CRE
 labels CWN
 calma CWN 42 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and CRE
 and CAA
 calma CWN 42 *

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

 layer hpwell CWP
 and 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 hdiff CAA
 and CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer htran CAA
 and 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 nwsd CAA
 and CSN
 and CWNR
 shrink 100
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hndif CAA
 and CSN
 and-not CWNR
 and 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 hpdif CAA
 and CSP
 and-not CWNR
 and 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 hnfet CAA
 and CSN
 and-not CWNR
 and CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hpfet CAA
 and CSP
 and-not CWNR
 and 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 hnsd CAA
 and CSN
 and-not CWNR
 and CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

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

 layer hndc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hndc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hnsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hnsc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpdc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpdc CAA
 and CSP
 and CCC
 and-not CV1
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpsc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and-not CV1
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

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

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

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

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

 layer nwsc CAA
 and CSN
 and-not CTA
 and-not CV1
 and CWNR
 shrink 100
 and-not CTA
 and CCA
 
 and CWN
 and CM1
 grow 50
 calma CCA 48 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and-not CV1
 and CWNR
 shrink 105
 and-not CTA
 and CCC
 
 and CWN
 and CM1
 grow 50
 calma CCC 25 *

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

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

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

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

 layer hndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hnsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hnsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpsc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

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

 layer nsc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

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

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and CWNR
 shrink 100
 and-not CTA
 and CCA
 
 and CWN
 and CM1
 grow 50
 calma CCA 48 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and CWNR
 shrink 105
 and-not CTA
 and CCC
 
 and CWN
 and CM1
 grow 50
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

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

 layer psc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 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 25
 and CM1
 calma CCP 47 *

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

 layer pc CCP
 and CV1
 and CV2
 and-not CV3
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 25
 and CM1
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and-not CV3
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 25
 and CM1
 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 gc2 CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc2 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 gv3 CV3
 and-not COP
 and-not CM3
 calma CV3 30 *

 layer gv3 CV3
 and-not COP
 and-not CM4
 calma CV3 30 *

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

 layer m2c CV1
 and CV2
 and CV3
 and-not CCC
 and-not CCP
 and-not CCA
 and-not XP
 grow 25
 and CM2
 and CM1
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and-not CV2
 and CCP
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and-not CV2
 and CCC
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and CV2
 and CV3
 and CCP
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and CV2
 and CV3
 and CCC
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 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 hndm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hndm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hndm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hndm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer m3c CV2
 and-not CV3
 and-not CV1
 and-not XP
 grow 25
 and CM3
 and CM2
 grow 15
 shrink 15
 calma CV2 61 *

 layer m123c CV2
 and-not CV3
 and CV1
 and-not XP
 grow 25
 and CM3
 and CM2
 and CM1
 grow 15
 shrink 15
 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 m234c CV3

 and CV2
 and-not XP
 grow 25
 and CM4
 and CM3
 and CM2
 grow 25
 shrink 25
 calma CV3 30 *

 layer m4 CM4
 and-not CRM
 and-not CRQ
 and-not XP
 labels CM4
 calma CM4 31 *

 layer rm4 CRM
 and CM4
 calma CRM 70 *

 layer rm4 CRQ
 and CM4
 calma CRQ 74 *

 layer pseudo_rmetal4 CRQ
 and-not rm4
 calma CRQ 74 *

 layer m4p CMQP
 labels CMQP
 calma CMQP 84 *

 layer m4c CV3

 and-not CV2
 and-not XP
 grow 25
 and CM4
 and CM3
 grow 25
 shrink 25
 calma CV3 30 *

 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 ecap CEL
 and CPG
 labels CEL
 calma CEL 56 *

 layer poly2 CEL
 and-not CPG
 labels CEL
 calma CEL 56 *

 layer rp2 CEL
 and CRG2
 calma CEL 56 *

 layer pseudo_rpoly2 CRG2
 and-not CRE
 calma CRG2 68 *

 layer elc CCE
 grow 25
 and CM1
 and CEL
 labels CM1
 calma CCE 55 *

 layer elc CCC
 grow 25
 and CM1
 and CEL
 labels CM1
 calma CCC 25 *

 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 CRQ 74 *
 calma CRM 70 *


style  lambda=0.25()
 scalefactor  25

 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 *

 calma CWNR 91 *

 layer nwr CWND
 calma CWND 92 *

 layer pseudo_nwr CRNW
 calma CRNW 93 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and-not CRE
 labels CWN
 calma CWN 42 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and CRE
 and CAA
 calma CWN 42 *


 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 hdiff CAA
 and CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer htran CAA
 and 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 nwsd CAA
 and CSN
 and CWNR
 shrink 100
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hndif CAA
 and CSN
 and-not CWNR
 and 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 hpdif CAA
 and CSP
 and-not CWNR
 and 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 hnfet CAA
 and CSN
 and-not CWNR
 and CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hpfet CAA
 and CSP
 and-not CWNR
 and 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 hnsd CAA
 and CSN
 and-not CWNR
 and CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

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

 layer hndc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hndc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hnsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hnsc CAA
 and CSN
 and CCC
 and-not CV1
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpdc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpdc CAA
 and CSP
 and CCC
 and-not CV1
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpsc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and-not CV1
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

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

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

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

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

 layer nwsc CAA
 and CSN
 and-not CTA
 and-not CV1
 and CWNR
 shrink 100
 and-not CTA
 and CCA
 
 and CWN
 and CM1
 grow 50
 calma CCA 48 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and-not CV1
 and CWNR
 shrink 105
 and-not CTA
 and CCC
 
 and CWN
 and CM1
 grow 50
 calma CCC 25 *

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

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

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

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

 layer hndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hnsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hnsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer hpsc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CV3
 and CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and-not CTA
 
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

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

 layer nsc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and-not CTA
 
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

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

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and CWNR
 shrink 100
 and-not CTA
 and CCA
 
 and CWN
 and CM1
 grow 50
 calma CCA 48 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and CWNR
 shrink 105
 and-not CTA
 and CCC
 
 and CWN
 and CM1
 grow 50
 calma CCC 25 *

 layer pdc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CTA
 
 and-not CPS
 and CWN
 and CM1
 grow 25
 calma CCA 48 *

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

 layer psc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 calma CCA 48 *

 layer psc CAA
 and CSP
 and CCC
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and-not CTA
 
 and-not CPS
 and-not CWN
 and CM1
 grow 25
 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 25
 and CM1
 calma CCP 47 *

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

 layer pc CCP
 and CV1
 and CV2
 and-not CV3
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 25
 and CM1
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and-not CV3
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 25
 and CM1
 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 gc2 CCE
 and-not CPC
 and-not CEL
 calma CCE 55 *

 layer gc2 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 gv3 CV3
 and-not COP
 and-not CM3
 calma CV3 30 *

 layer gv3 CV3
 and-not COP
 and-not CM4
 calma CV3 30 *

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

 layer m2c CV1
 and CV2
 and CV3
 and-not CCC
 and-not CCP
 and-not CCA
 and-not XP
 grow 25
 and CM2
 and CM1
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and-not CV2
 and CCP
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and-not CV2
 and CCC
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and CV2
 and CV3
 and CCP
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 calma CV1 50 *

 layer pm12c CV1
 and CV2
 and CV3
 and CCC
 grow 25
 and CM2
 and CM1
 and CPG
 grow 15
 shrink 15
 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 hndm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hndm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and-not CV2
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and-not CV2
 and CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hndm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hndm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpdm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hnsm12c CAA
 and CSN
 and CV1
 and CV2
 and CV3
 and-not CWNR
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer hpsm12c CAA
 and CSP
 and CV1
 and CV2
 and CV3
 and CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer ndm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer psm12c CAA
 and CSP
 and CV1
 and-not CTA
 and CV2
 and CV3
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and-not CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and CWNR
 and-not CTA
 and CCA
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer nwsm12c CAA
 and CSN
 and CV1
 and-not CTA
 and CV2
 and CV3
 and CWNR
 and-not CTA
 and CCC
 grow 25
 and CM1
 and CM2
 
 and CWN
 grow 15
 shrink 15
 calma CV1 50 *

 layer m3c CV2
 and-not CV3
 and-not CV1
 and-not XP
 grow 25
 and CM3
 and CM2
 grow 15
 shrink 15
 calma CV2 61 *

 layer m123c CV2
 and-not CV3
 and CV1
 and-not XP
 grow 25
 and CM3
 and CM2
 and CM1
 grow 15
 shrink 15
 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 m234c CV3

 and CV2
 and-not XP
 grow 25
 and CM4
 and CM3
 and CM2
 grow 25
 shrink 25
 calma CV3 30 *

 layer m4 CM4
 and-not CRM
 and-not CRQ
 and-not XP
 labels CM4
 calma CM4 31 *

 layer rm4 CRM
 and CM4
 calma CRM 70 *

 layer rm4 CRQ
 and CM4
 calma CRQ 74 *

 layer pseudo_rmetal4 CRQ
 and-not rm4
 calma CRQ 74 *

 layer m4p CMQP
 labels CMQP
 calma CMQP 84 *

 layer m4c CV3

 and-not CV2
 and-not XP
 grow 25
 and CM4
 and CM3
 grow 25
 shrink 25
 calma CV3 30 *

 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 ecap CEL
 and CPG
 labels CEL
 calma CEL 56 *

 layer poly2 CEL
 and-not CPG
 labels CEL
 calma CEL 56 *

 layer rp2 CEL
 and CRG2
 calma CEL 56 *

 layer pseudo_rpoly2 CRG2
 and-not CRE
 calma CRG2 68 *

 layer elc CCE
 grow 25
 and CM1
 and CEL
 labels CM1
 calma CCE 55 *

 layer elc CCC
 grow 25
 and CM1
 and CEL
 labels CM1
 calma CCC 25 *

 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 CRQ 74 *
 calma CRM 70 *


style  lambda=0.25(c)
 scalefactor  25

 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 *

 calma CWNR 91 *

 layer nwr CWND
 calma CWND 92 *

 layer pseudo_nwr CRNW
 calma CRNW 93 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and-not CRE
 labels CWN
 calma CWN 42 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and CRE
 and CAA
 calma CWN 42 *


 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 hdiff CAA
 and CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer htran CAA
 and 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 nwsd CAA
 and CSN
 and CWNR
 shrink 100
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hndif CAA
 and CSN
 and-not CWNR
 and 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 hpdif CAA
 and CSP
 and-not CWNR
 and 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 hnfet CAA
 and CSN
 and-not CWNR
 and CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hpfet CAA
 and CSP
 and-not CWNR
 and 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 hnsd CAA
 and CSN
 and-not CWNR
 and CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

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

 layer gc2 CCA
 and CEL
 calma CCA 48 *

 layer gc2 CCP
 and CEL
 calma CCP 47 *

 layer gc2 CCC
 and CEL
 calma CCC 25 *

 layer gc2 CCE
 and CEL
 calma CCE 55 *

 layer gc2 CCA
 and CPC
 and-not CPG
 calma CCA 48 *

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

 layer gc2 CCC
 and CPC
 and-not CPG
 calma CCC 25 *

 layer gc2 CCE
 and CPC
 and-not CPG
 calma CCE 55 *

 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 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 gv3 CV3
 calma CV3 30 *

 layer m4 CM4
 and-not CRM
 and-not CRQ
 labels CM4
 calma CM4 31 *

 layer rm4 CRM
 and CM4
 calma CRM 70 *

 layer rm4 CRQ
 and CM4
 calma CRQ 74 *

 layer pseudo_rmetal4 CRQ
 and-not rm4
 calma CRQ 74 *

 layer m4p CMQP
 labels CMQP
 calma CMQP 84 *

 layer to CTA
 labels CTA
 calma CTA 60 *

 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 ecap CEL
 and CPG
 labels CEL
 calma CEL 56 *

 layer poly2 CEL
 and-not CPG
 labels CEL
 calma CEL 56 *

 layer rp2 CEL
 and CRG2
 calma CEL 56 *

 layer pseudo_rpoly2 CRG2
 and-not CRE
 calma CRG2 68 *

 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 CRQ 74 *
 calma CRM 70 *


style  lambda=0.25(cs)
 scalefactor  25

 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 *

 calma CWNR 91 *

 layer nwr CWND
 calma CWND 92 *

 layer pseudo_nwr CRNW
 calma CRNW 93 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and-not CRE
 labels CWN
 calma CWN 42 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and CRE
 and CAA
 calma CWN 42 *


 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 hdiff CAA
 and CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer htran CAA
 and 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 nwsd CAA
 and CSN
 and CWNR
 shrink 100
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hndif CAA
 and CSN
 and-not CWNR
 and 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 hpdif CAA
 and CSP
 and-not CWNR
 and 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 hnfet CAA
 and CSN
 and-not CWNR
 and CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hpfet CAA
 and CSP
 and-not CWNR
 and 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 hnsd CAA
 and CSN
 and-not CWNR
 and CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

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

 layer gc2 CCA
 and CEL
 calma CCA 48 *

 layer gc2 CCP
 and CEL
 calma CCP 47 *

 layer gc2 CCC
 and CEL
 calma CCC 25 *

 layer gc2 CCE
 and CEL
 calma CCE 55 *

 layer gc2 CCA
 and CPC
 and-not CPG
 calma CCA 48 *

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

 layer gc2 CCC
 and CPC
 and-not CPG
 calma CCC 25 *

 layer gc2 CCE
 and CPC
 and-not CPG
 calma CCE 55 *

 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 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 gv3 CV3
 calma CV3 30 *

 layer m4 CM4
 and-not CRM
 and-not CRQ
 labels CM4
 calma CM4 31 *

 layer rm4 CRM
 and CM4
 calma CRM 70 *

 layer rm4 CRQ
 and CM4
 calma CRQ 74 *

 layer pseudo_rmetal4 CRQ
 and-not rm4
 calma CRQ 74 *

 layer m4p CMQP
 labels CMQP
 calma CMQP 84 *

 layer to CTA
 labels CTA
 calma CTA 60 *

 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 ecap CEL
 and CPG
 labels CEL
 calma CEL 56 *

 layer poly2 CEL
 and-not CPG
 labels CEL
 calma CEL 56 *

 layer rp2 CEL
 and CRG2
 calma CEL 56 *

 layer pseudo_rpoly2 CRG2
 and-not CRE
 calma CRG2 68 *

 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 CRQ 74 *
 calma CRM 70 *


style  lambda=0.25(cps)
 scalefactor  25

 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 *

 calma CWNR 91 *

 layer nwr CWND
 calma CWND 92 *

 layer pseudo_nwr CRNW
 calma CRNW 93 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and-not CRE
 labels CWN
 calma CWN 42 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and CRE
 and CAA
 calma CWN 42 *

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

 layer hpwell CWP
 and 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 hdiff CAA
 and CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer htran CAA
 and 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 nwsd CAA
 and CSN
 and CWNR
 shrink 100
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hndif CAA
 and CSN
 and-not CWNR
 and 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 hpdif CAA
 and CSP
 and-not CWNR
 and 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 hnfet CAA
 and CSN
 and-not CWNR
 and CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hpfet CAA
 and CSP
 and-not CWNR
 and 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 hnsd CAA
 and CSN
 and-not CWNR
 and CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

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

 layer gc2 CCA
 and CEL
 calma CCA 48 *

 layer gc2 CCP
 and CEL
 calma CCP 47 *

 layer gc2 CCC
 and CEL
 calma CCC 25 *

 layer gc2 CCE
 and CEL
 calma CCE 55 *

 layer gc2 CCA
 and CPC
 and-not CPG
 calma CCA 48 *

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

 layer gc2 CCC
 and CPC
 and-not CPG
 calma CCC 25 *

 layer gc2 CCE
 and CPC
 and-not CPG
 calma CCE 55 *

 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 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 gv3 CV3
 calma CV3 30 *

 layer m4 CM4
 and-not CRM
 and-not CRQ
 labels CM4
 calma CM4 31 *

 layer rm4 CRM
 and CM4
 calma CRM 70 *

 layer rm4 CRQ
 and CM4
 calma CRQ 74 *

 layer pseudo_rmetal4 CRQ
 and-not rm4
 calma CRQ 74 *

 layer m4p CMQP
 labels CMQP
 calma CMQP 84 *

 layer to CTA
 labels CTA
 calma CTA 60 *

 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 ecap CEL
 and CPG
 labels CEL
 calma CEL 56 *

 layer poly2 CEL
 and-not CPG
 labels CEL
 calma CEL 56 *

 layer rp2 CEL
 and CRG2
 calma CEL 56 *

 layer pseudo_rpoly2 CRG2
 and-not CRE
 calma CRG2 68 *

 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 CRQ 74 *
 calma CRM 70 *


style  lambda=0.25(cp)
 scalefactor  25

 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 *

 calma CWNR 91 *

 layer nwr CWND
 calma CWND 92 *

 layer pseudo_nwr CRNW
 calma CRNW 93 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and-not CRE
 labels CWN
 calma CWN 42 *

 layer hnwell CWN
 and-not CWNR
 and CTA
 and CRE
 and CAA
 calma CWN 42 *

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

 layer hpwell CWP
 and 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 hdiff CAA
 and CTA
 and-not CPG
 and-not CWNR
 and-not COP
 and-not CSN
 and-not CSP
 labels CAA
 calma CAA 43 *

 layer htran CAA
 and 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 nwsd CAA
 and CSN
 and CWNR
 shrink 100
 and-not CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hndif CAA
 and CSN
 and-not CWNR
 and 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 hpdif CAA
 and CSP
 and-not CWNR
 and 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 hnfet CAA
 and CSN
 and-not CWNR
 and CTA
 and CPG
 and-not CEL
 and-not CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

 layer hpfet CAA
 and CSP
 and-not CWNR
 and 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 hnsd CAA
 and CSN
 and-not CWNR
 and CTA
 and CWN
 and-not CSP
 and-not CBA
 labels CAA
 calma CAA 43 *

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

 layer gc2 CCA
 and CEL
 calma CCA 48 *

 layer gc2 CCP
 and CEL
 calma CCP 47 *

 layer gc2 CCC
 and CEL
 calma CCC 25 *

 layer gc2 CCE
 and CEL
 calma CCE 55 *

 layer gc2 CCA
 and CPC
 and-not CPG
 calma CCA 48 *

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

 layer gc2 CCC
 and CPC
 and-not CPG
 calma CCC 25 *

 layer gc2 CCE
 and CPC
 and-not CPG
 calma CCE 55 *

 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 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 gv3 CV3
 calma CV3 30 *

 layer m4 CM4
 and-not CRM
 and-not CRQ
 labels CM4
 calma CM4 31 *

 layer rm4 CRM
 and CM4
 calma CRM 70 *

 layer rm4 CRQ
 and CM4
 calma CRQ 74 *

 layer pseudo_rmetal4 CRQ
 and-not rm4
 calma CRQ 74 *

 layer m4p CMQP
 labels CMQP
 calma CMQP 84 *

 layer to CTA
 labels CTA
 calma CTA 60 *

 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 ecap CEL
 and CPG
 labels CEL
 calma CEL 56 *

 layer poly2 CEL
 and-not CPG
 labels CEL
 calma CEL 56 *

 layer rp2 CEL
 and CRG2
 calma CEL 56 *

 layer pseudo_rpoly2 CRG2
 and-not CRE
 calma CRG2 68 *

 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 CRQ 74 *
 calma CRM 70 *

end

mzrouter
 style irouter
#		layer	hCost	vCost	jogCost	hintCost 
 layer		metal4	2	1	2	1
 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	m4contact	metal4	metal3	4
 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,hnwell 10 \
 "N-well width < 10 (Mosis #1.1)"

 width rnw 10 \
 "rnwell (for resistor L/W extraction) width < 10 (Mosis #1.1)"

 width nwr 10 \
 "nwr (for Fig1b resistor L/W extraction) width < 10 (Mosis #Fig1bX)"

 width pwell,hpwell 10 \
 "P-well width < 10 (Mosis #1.1)"

 width diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a 3 \
 "Diffusion width < 3 (Mosis #2.1)"

 edge4way nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a 3 ~(nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a)/active pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a 3 \
 "P-Diffusion width in N-Ohmic < 3 (Mosis #2.1)" active

 edge4way psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a 3 ~(psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a)/active ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a 3 \
 "N-Diffusion width in P-Ohmic < 3 (Mosis #2.1)" active

 edge4way pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 3 ~(pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a)/active nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 3 \
 "N-Ohmic width in P-Diffusion < 3 (Mosis #2.1)" active

 edge4way ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 3 ~(ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a)/active psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 3 \
 "P-Ohmic width in N-Diffusion < 3 (Mosis #2.1)" active

 width poly,rp,pc/a,pm12c/a,nfet,pfet,fet,hnfet,hpfet,hfet 2 \
 "Poly width < 2 (Mosis #3.1)"

 width nselect 3 \
 "N-Select width < 3 (Mosis #4.4)"

 width pselect 3 \
 "P-Select width < 3 (Mosis #4.4)"

 width ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a 3 \
 "N-Diffusion,N-Ohmic width < 3 (Mosis #4.4)"

 width pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 3 \
 "P-Diffusion,P-Ohmic width < 3 (Mosis #4.4)"

 width pc/m1 4 \
 "Poly contact width < 4 (Mosis #5.1)"

 width pm12c/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 ndm12c/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width nsc/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width nwsc/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width nsm12c/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width nwsm12c/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width hndc/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width hndm12c/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width hnsc/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width hnsm12c/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width nwsc 6 \
 "nwr (for Fig1b resistor) active Contact width < 6 (Mosis #Fig1b)"

 width pdc/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width pdm12c/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width psc/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width psm12c/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width hpdc/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width hpdm12c/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width hpsc/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width hpsm12c/m1 4 \
 "Diffusion contact width < 4 (Mosis #6.1)"

 width m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1 3 \
 "Metal1 width < 3 (Mosis #7.1)"

 maxwidth m1t 4 bend_ok \
 "Max Metal1tight width > 4 (Mosis #7.2)"

 width gv1 2 \
 "GV1 via width < 2 (Mosis #8.1)"

 width m2c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width pdm12c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width ndm12c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width psm12c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width nsm12c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width pm12c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width m123c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width nwsm12c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width hpdm12c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width hndm12c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width hpsm12c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width hnsm12c/m1 4 \
 "Metal2 contact width < 4 (Mosis #8.1)"

 width m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m234c/m2 3 \
 "Metal2 width < 3 (Mosis #9.1)"

 maxwidth m2t 4 bend_ok \
 "Max Metal2tight width > 4 (Mosis #9.2)"

 width ecap 8 \
 "Ecap width < 8 (Mosis #11.1)"

 width poly2,ecap 8 \
 "Poly2 width < 8 (Mosis #11.1)"

 width gc2 2 \
 "Generic contact2 width < 2 (Mosis #13.1)"

 width p2c 4 \
 "Poly2 contact width < 4 (Mosis #13.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 m234c/m2 4 \
 "Metal3 contact width < 4 (Mosis #14.1)"

 width m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3 3 \
 "Metal3 width < 3 (Mosis #15.1)"

 maxwidth m3t 4 bend_ok \
 "Max Metal3tight width > 4 (Mosis #15.2)"

 width gv3 2 \
 "GV3 via width < 2 (Mosis #21.3)"

 width m4c/m3 4 \
 "Metal4 contact width < 4 (Mosis #21.3)"

 width m234c/m3 4 \
 "Metal4 contact width < 4 (Mosis #21.3)"

 width m4,rm4,m4c/m4,m234c/m4,pad 3 \
 "Metal4 width < 3 (Mosis #22.1)"

 width nfi,pfi 4 \
 "N/P_field-implant width < 4 (Mosis #29.1)"

 width hnfet,hpfet 3 \
 "HV Transistor width < 3 (Mosis #24.5)"

 width to 4 \
 "Thick Oxide width < 4 (Mosis #24.5)"

 spacing nwell,hnwell nwell,hnwell 6 touching_ok \
 "N-well(at-same-potential) spacing < 6 (Mosis #1.3)"

 spacing pwell,hpwell pwell,hpwell 6 touching_ok \
 "P-well(at-same-potential) spacing < 6 (Mosis #1.3)"

 spacing rnw nwell,hnwell 9 touching_illegal \
 "rnw (for resistor L/W extraction) spacing to N-well < 9 (Mosis #2.3)"

 spacing nwr nwell,hnwell 9 touching_illegal \
 "nwr (for Fig1b resistor L/W extraction) spacing to N-well < 9 (Mosis #2.3)"

 edge4way ~(pwell,hpwell)/well pwell,hpwell 1 ~(rnw)/active 0 0 \
 "P-well cannot touch rnw (for resistor L/W extraction) (Mosis #1.4)" active

 edge4way ~(pwell,hpwell)/well pwell,hpwell 1 ~(nwr)/active 0 0 \
 "P-well cannot touch nwr (for Fig1b resistor L/W extraction) (Mosis #1.4)" active

 spacing diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a 3 touching_ok \
 "Diffusion spacing < 3 (Mosis #2.2)"

 spacing nwell,hnwell ndiff,rnd,nfet,hndif,hnfet,ndc/a,ndm12c/a,hndc/a,hndm12c/a 5 touching_illegal \
 "N-well spacing to N-Diffusion < 5 (Mosis #2.3)"

 spacing pwell,hpwell pdiff,rpd,pfet,hpdif,hpfet,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a 5 touching_illegal \
 "P-well spacing to P-Diffusion < 5 (Mosis #2.3)"

 spacing ndiff,rnd,nfet,hndif,hnfet,ndc/a,ndm12c/a,hndc/a,hndm12c/a pdiff,rpd,pfet,hpdif,hpfet,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a 10 touching_illegal \
 "N-Diffusion spacing to P-Diffusion < 10 (Mosis #2.3+2.3)"

 edge4way ~(nwell,hnwell)/well nwell,hnwell 5 ~(pdiff,rpd,pfet,hpdif,hpfet,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a)/active nwell,hnwell 5 \
 "N-well overlap of P-Diffusion < 5 (Mosis #2.4)" active

 edge4way ~(pwell,hpwell)/well pwell,hpwell 5 ~(ndiff,rnd,nfet,hndif,hnfet,ndc/a,ndm12c/a,hndc/a,hndm12c/a)/active pwell,hpwell 5 \
 "P-well overlap of N-Diffusion < 5 (Mosis #2.4)" active

 edge4way ~(nwell,hnwell)/well nwell,hnwell 3 ~(nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a)/active nwell,hnwell 3 \
 "N-well overlap of N-Ohmic < 3 (Mosis #2.4)" active

 edge4way ~(pwell,hpwell)/well pwell,hpwell 3 ~(psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a)/active pwell,hpwell 3 \
 "P-well overlap of P-Ohmic < 3 (Mosis #2.4)" active

 spacing ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 8 touching_illegal \
 "N-Diffusion spacing to N-Ohmic < 8 (Mosis #2.3+2.4)"

 spacing pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 8 touching_illegal \
 "P-Diffusion spacing to P-Ohmic < 8 (Mosis #2.3+2.4)"

 spacing nwell,hnwell psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 3 touching_illegal \
 "N-well spacing to P-Ohmic < 3 (Mosis #2.4)"

 spacing pwell,hpwell nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 3 touching_illegal \
 "P-well spacing to N-Ohmic < 3 (Mosis #2.4)"

 spacing psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a rnw,prnw 3 touching_illegal \
 "P-Ohmic spacing to rnw,prnw < 3 (Mosis #2.4)"

 spacing psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a nwr,pnwr 3 touching_illegal \
 "P-Ohmic spacing to nwr,pnwr (for Fig1b Resistor) < 3 (Mosis #2.4)"

 spacing nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 6 touching_illegal \
 "N-Ohmic spacing to P-Ohmic < 6 (Mosis #2.4+2.4)"

 spacing ndiff,rnd,nfet,hndif,hnfet,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nfet,hnfet psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 4 touching_ok \
 "N-Diffusion spacing to P-Ohmic < 4 (Mosis #2.5)"

 spacing pdiff,rpd,pfet,hpdif,hpfet,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,pfet,hpfet nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 4 touching_ok \
 "P-Diffusion spacing to N-Ohmic < 4 (Mosis #2.5)"

 spacing poly,rp,pc/a,pm12c/a,nfet,pfet,fet,hnfet,hpfet,hfet poly,rp,pc/a,pm12c/a,nfet,pfet,fet,hnfet,hpfet,hfet 2 touching_ok \
 "Poly spacing < 2 (Mosis #3.2)"

 edge4way nfet,pfet,fet,hnfet,hpfet,hfet space/active,poly,rp,pc/a,pm12c/a 2 poly,rp,pc/a,pm12c/a 0 0 \
 "Poly overhang of Transistor < 2 (Mosis #3.3)" active

 edge4way nfet,pfet,fet,hnfet,hpfet,hfet space/active,ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a 3 ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,nfet,pfet,fet,hnfet,hpfet,hfet 0 0 \
 "N-Diffusion,P-Diffusion overhang of Transistor < 3 (Mosis #3.4)" active

 edge4way poly,rp,pc/a,pm12c/a ~(poly,rp,pc/a,pm12c/a,nfet,pfet,fet,hnfet,hpfet,hfet,prp)/active 1 space space 1 \
 "Poly spacing to Diffusion < 1 (Mosis #3.5)"

 edge4way nfet,hnfet ~(nfet,hnfet)/active 2 ~(pselect)/select ~(nfet,hnfet)/active 2 \
 "N-Transistor space to P-Select < 2 (Mosis #4.1)" select

 edge4way pfet,hpfet ~(pfet,hpfet)/active 2 ~(nselect)/select ~(pfet,hpfet)/active 2 \
 "P-Transistor space to N-Select < 2 (Mosis #4.1)" select

 edge4way nfet,hnfet ~(nfet,hnfet)/active 3 ~(psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a)/active ~(nfet,hnfet)/active 2 \
 "N-Transistor space to P-Ohmic < 3 (Mosis #4.1)" active

 edge4way pfet,hpfet ~(pfet,hpfet)/active 3 ~(nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a)/active ~(pfet,hpfet)/active 2 \
 "P-Transistor space to N-Ohmic < 3 (Mosis #4.1)" active

#PEZ edge4way psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a space  ~(nfet,hnfet)/active space  \
#PEZ "P-Ohmic space to N-Transistor <  (Mosis #4.1)" active

#PEZ edge4way nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a space  ~(pfet,hpfet)/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,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/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,hndif,hnfet,ndc/a,ndm12c/a,hndc/a,hndm12c/a)/active nselect 2 \
 "N-Select space to N-Diffusion < 2 (Mosis #4.2a)" active

 edge4way nselect,pselect space 2 ~(ndiff,rnd,nfet,hndif,hnfet,ndc/a,ndm12c/a,hndc/a,hndm12c/a)/active nselect 2 \
 "N-Select space to N-Diffusion < 2 (Mosis #4.2b)" active

 edge4way nselect,pselect space 2 ~(ndiff,rnd,nfet,hndif,hnfet,ndc/a,ndm12c/a,hndc/a,hndm12c/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,hpdif,hpfet,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a)/active pselect 2 \
 "P-Select space to P-Diffusion < 2 (Mosis #4.2aa)" active

 edge4way nselect,pselect space 2 ~(pdiff,rpd,pfet,hpdif,hpfet,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a)/active pselect 2 \
 "P-Select space to P-Diffusion < 2 (Mosis #4.2bb)" active

 edge4way nselect,pselect space 2 ~(pdiff,rpd,pfet,hpdif,hpfet,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a)/active space,nselect,pselect 2 \
 "P-Select space to P-Diffusion < 2 (Mosis #4.2cc)" active

 edge4way diff,hdiff space 2 nselect space 2 \
 "N-Select must overlap Diffusion by 2 (Mosis #4.2)" select

 edge4way diff,hdiff space 2 pselect space 2 \
 "P-Select must overlap Diffusion by 2 (Mosis #4.2)" select

 edge4way ndiff,rnd,nfet,hndif,hnfet,ndc/a,ndm12c/a,hndc/a,hndm12c/a space 2 ~(pselect)/select space 2 \
 "P-Select space to N-Diffusion < 2 (Mosis #4.2e)" select

 edge4way pdiff,rpd,pfet,hpdif,hpfet,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a space 2 ~(nselect)/select space 2 \
 "N-Select space to P-Diffusion < 2 (Mosis #4.2e)" select

 edge4way ~(pdiff,rpd,pfet,hpdif,hpfet,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a)/active pdiff,rpd,pfet,hpdif,hpfet,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 1 ~(nselect)/select 0 0 \
 "N-Select cannot touch P-Diffusion,P-Ohmic (Mosis #4.2f)" select

 edge4way ~(ndiff,rnd,nfet,hndif,hnfet,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a)/active ndiff,rnd,nfet,hndif,hnfet,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 1 ~(pselect)/select 0 0 \
 "P-Select cannot touch N-Diffusion,N-Ohmic (Mosis #4.2f)" select

 width nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a,psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 2 \
 "N-Ohmic,P-Ohmic width < 2 (Mosis #4.1)"

 spacing nselect nselect 3 touching_ok \
 "N-Select spacing < 3 (Mosis #4.4)"

 spacing pselect pselect 3 touching_ok \
 "P-Select spacing < 3 (Mosis #4.4)"

  edge4way ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 2 ~(ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a)/active 0 0 \
 "P-Ohmic(that touches N-Diffusion) width < 2 (Mosis #4.4)"

  edge4way pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 2 ~(pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a)/active 0 0 \
 "N-Ohmic(that touches P-Diffusion) width < 2 (Mosis #4.4)"

 edge4way gc ~(gc)/contact 1 poly,rp,pc/a,pm12c/a,diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a ~(gc)/contact 1 \
 "Poly,Diffusion overlap of GC contact < 1 (Mosis #5.2)" active

 edge4way ~(nwsd)/active nwsd 2 ~(gc)/contact nwsd 2 \
 "nwr (for Fig1b resistor) active overlap of GC contact < 2 (Mosis #Fig1b)" contact

 spacing nwr gc 5 touching_illegal \
 "nwr (for Fig1b resistor) spacing to GC contact < 5 (Mosis #Fig1b)"

 spacing nwr ndc/a,ndm12c/a,hndc/a,hndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 3 touching_illegal \
 "nwr (for Fig1b resistor) spacing to Diffusion contact < 3 (Mosis #Fig1b)"

 edge4way gc space 1 poly,rp,pc/a,pm12c/a,diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a space 1 \
 "one of: Poly,Diffusion must overlap GC contact by 1 (Mosis #5.2a,6.2a)" active

 edge4way ~(poly,rp,pc/a,pm12c/a,diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a)/active poly,rp,pc/a,pm12c/a,diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/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 2 touching_ok \
 "Generic contact spacing < 2 (Mosis #5.3)"

 edge4way ~(gc)/contact gc 1 ~(ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c)/metal1 0 0 \
 "GC contact cannot touch Metal1 contacts (Mosis #0)" metal1

 spacing gv1 m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2 2 touching_illegal \
 "GV1 via spacing to Metal2 contacts < 2 (Mosis #14.2)"

 spacing poly,rp,pc/a,pm12c/a pc/a,pm12c/a 3 touching_ok \
 "Poly spacing to Poly contact < 3 (Mosis #5.4b)"

 edge4way gc ~(gc)/contact 1 diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,poly,rp,pc/a,pm12c/a ~(gc)/contact 1 \
 "Diffusion,Poly overlap of GC contact < 1 (Mosis #6.2)" active

 spacing gc pc/a,pm12c/a,ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 1 touching_illegal \
 "Generic contact spacing to Poly contact,Diffusion contact < 1 (Mosis #5.3)"

 spacing pdm12c/m1 pdc/m1,m2c/m1,nsm12c/m1 0 touching_illegal \
 "pdm12c spacing to pdc or m2c or nsm12c < 0 (Mosis #6.3)"

 spacing psm12c/m1 psc/m1,m2c/m1 0 touching_illegal \
 "psm12c spacing to psc or m2c < 0 (Mosis #6.3)"

 spacing ndm12c/m1 ndc/m1,m2c/m1,nsm12c/m1 0 touching_illegal \
 "ndm12c spacing to ndc or m2c or nsm12c < 0 (Mosis #6.3)"

 spacing nsm12c/m1 nsc/m1,m2c/m1 0 touching_illegal \
 "nsm12c spacing to nsc or m2c < 0 (Mosis #6.3)"

 spacing pm12c/m1 pc/m1,m2c/m1 0 touching_illegal \
 "pm12c spacing to pc or m2c < 0 (Mosis #6.3)"

 spacing m123c/m2 pdm12c/m2,psm12c/m2,ndm12c/m2,nsm12c/m2,pm12c/m2,m2c/m2,m3c/m2 0 touching_illegal \
 "m123c spacing to *m12c or m2c or m3c < 0 (Mosis #6.3)"

 spacing m234c/m3 m3c/m3,m4c/m3,m123c/m3 0 touching_illegal \
 "m234c spacing to m3c or m4c or m123c < 0 (Mosis #6.3)"

 spacing nfet,hnfet,pfet,hpfet ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 1 touching_illegal \
 "N-Transistor,P-Transistor spacing to Diffusion contact < 1 (Mosis #6.4)"

 spacing nfet,hnfet,pfet,hpfet gc 2 touching_illegal \
 "N-Transistor,P-Transistor spacing to Generic contact < 2 (Mosis #6.4)"

 spacing diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a pc/a,pm12c/a 1 touching_illegal \
 "Diffusion spacing to Poly contact < 1 (Mosis #6.5.b)"

 spacing diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a,nfet,hnfet,pfet,hpfet ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 4 touching_ok \
 "Diffusion spacing to Diffusion contact < 4 (Mosis #6.5.b)"

 spacing pc/a,pm12c/a ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 2 touching_illegal \
 "pc/a,pm12c/a spacing to ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a < 2 (Mosis #6.7)"

 spacing m1,rm1,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1 m1,rm1,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1 3 touching_ok \
 "Metal1 spacing < 3 (Mosis #7.2)"

 spacing m1t m1t 2 touching_ok \
 "Metal1tight spacing < 2 (Mosis #7.2.b)"

 spacing m1t m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1 2 touching_ok \
 "Metal1tight spacing to Metal1 < 2 (Mosis #7.2.b)"

 edge4way gc space 1 m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1 space 1 \
 "Metal1 must overlap GC contact by 1 (Mosis #7.3,7.4)" metal1

 edge4way ~(m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1)/metal1 m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,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,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1 ~(gv1)/via1 1 \
 "Metal1 overlap of GV1 via < 1 (Mosis #8.3)" metal1

 edge4way gv1 space 1 m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1 space 1 \
 "Metal1 must overlap GV1 via by 1 (Mosis #8.3)" metal1

 edge4way ~(m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1)/metal1 m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1 1 ~(gv1)/via1 0 0 \
 "Metal1(edge) cannot touch GV1 via (Mosis #8.3)" via1

 spacing m2,rm2,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m234c/m2 m2,rm2,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m234c/m2 4 touching_ok \
 "Metal2 spacing < 4 (Mosis #9.2)"

 spacing m2t m2t 3 touching_ok \
 "Metal2tight spacing < 3 (Mosis #9.2.b)"

 spacing m2t m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m234c/m2 3 touching_ok \
 "Metal2tight spacing to Metal2 < 3 (Mosis #9.2.b)"

 edge4way gv1 space 1 m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m234c/m2 space 1 \
 "Metal2 must overlap GV1 via by 1 (Mosis #9.3)" metal2

 edge4way ~(m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m234c/m2)/metal2 m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m234c/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)/metal4 pad 24 ~(glass)/oxide pad 24 \
 "pad overlap of COG < 24 (Mosis #10.3)" oxide

 spacing ecap ecap 3 touching_ok \
 "Ecap spacing < 3 (Mosis #11.2)"

 edge4way ecap ~(ecap)/cap 5 poly,rp,pc/a,pm12c/a ~(ecap)/cap 5 \
 "Poly overlap of Ecap < 5 (Mosis #11.3)" active

 edge4way ~(ecap)/cap ecap 1 poly,rp,pc/a,pm12c/a 0 0 \
 "Ecap must touch Poly (Mosis #11.3x)" active

 edge4way poly2 space 5 ~(poly,rp,pc/a,pm12c/a)/active space 5 \
 "Poly2 spacing to Poly < 5 (Mosis #11.3c)" active

 spacing ecap pc/a,pm12c/a 2 touching_illegal \
 "Ecap spacing to Poly contact < 2 (Mosis #11.5)"

 spacing ecap gc 3 touching_illegal \
 "Ecap spacing to Generic contact < 3 (Mosis #11.5)"

 spacing poly2,ecap poly2,ecap 3 touching_ok \
 "Poly2 spacing < 3 (Mosis #11.2)"

 spacing poly2,ecap pc/a,pm12c/a,ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 2 touching_illegal \
 "Poly2 spacing to Poly contact,Diffusion contact < 2 (Mosis #11.5)"

 spacing poly2,ecap gc,gc 3 touching_illegal \
 "Poly2 spacing to GC contact < 3 (Mosis #11.5)"

 spacing gc2 gc2 2 touching_ok \
 "Generic contact2 spacing < 2 (Mosis #13.2)"

 edge4way ~(ecap)/cap ecap 3 ~(gc2)/contact ecap 3 \
 "Ecap overlap of Generic contact2 < 3 (Mosis #13.3)" contact

 edge4way ~(ecap)/cap ecap 2 ~(p2c)/metal1 ecap 2 \
 "Ecap overlap of Poly2 contact < 2 (Mosis #13.3)" metal1

 edge4way gc2 space 1 m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1 space 1 \
 "Metal1 must overlap Generic contact2 by 1 (Mosis #13.4)" metal1

 edge4way ~(m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1)/metal1 m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1 1 ~(gc2)/contact 0 0 \
 "Metal1(edge) cannot touch Generic contact2 (Mosis #13.4)" contact

 edge4way ~(poly2,ecap)/cap poly2,ecap 1 ~(p2c)/metal1 poly2,ecap 1 \
 "Poly2 overlap of Poly2 contact < 1 (Mosis #13.4)" metal1

 spacing gv2 gv2 3 touching_ok \
 "GV2 via spacing < 3 (Mosis #14.2)"

 spacing gv2 m3c/m2,m123c/m2,m234c/m2 2 touching_illegal \
 "GV2 via spacing to Metal3 contact < 2 (Mosis #14.2)"

 edge4way gv2 space 1 m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m234c/m2 space 1 \
 "Metal2 must overlap GV2 via by 1 (Mosis #14.3)" metal2

 edge4way ~(m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m234c/m2)/metal2 m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m234c/m2 1 ~(gv2)/via2 0 0 \
 "Metal2(edge) cannot touch GV2 via (Mosis #14.3)" via2

 spacing m3,rm3,m3c/m3,m123c/m3,m234c/m3,m4c/m3 m3,rm3,m3c/m3,m123c/m3,m234c/m3,m4c/m3 4 touching_ok \
 "Metal3 spacing < 4 (Mosis #15.2)"

 spacing m3t m3t 3 touching_ok \
 "Metal3tight spacing < 3 (Mosis #15.2.b)"

 spacing m3t m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3 3 touching_ok \
 "Metal3tight spacing to Metal3 < 3 (Mosis #15.2.b)"

 edge4way gv2 space 1 m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3 space 1 \
 "Metal3 must overlap GV2 via by 1 (Mosis #15.3)" metal3

 edge4way ~(m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3)/metal3 m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3 1 ~(gv2)/via2 0 0 \
 "Metal3(edge) cannot touch GV2 via (Mosis #15.3)" via2

 spacing gv3 gv3 3 touching_ok \
 "GV3 via spacing < 3 (Mosis #21.2)"

 spacing gv3 m4c/m3,m234c/m3 2 touching_illegal \
 "GV3 via spacing to Metal4 contact < 2 (Mosis #21.2)"

 edge4way gv3 space 1 m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3 space 1 \
 "Metal3 must overlap GV3 via by 1 (Mosis #21.3)" metal3

 edge4way ~(m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3)/metal3 m3,rm3,m3t,m3c/m3,m123c/m3,m234c/m3,m4c/m3 1 ~(gv3)/via3 0 0 \
 "Metal3(edge) cannot touch GV3 via (Mosis #21.3)" via3

 spacing m4,rm4,m4c/m4,m234c/m4,pad m4,rm4,m4c/m4,m234c/m4,pad 4 touching_ok \
 "Metal4 spacing < 4 (Mosis #22.2)"

 edge4way gv3 space 1 m4,rm4,m4c/m4,m234c/m4,pad space 1 \
 "Metal4 must overlap GV3 via by 1 (Mosis #22.3)" metal4

 edge4way ~(m4,rm4,m4c/m4,m234c/m4,pad)/metal4 m4,rm4,m4c/m4,m234c/m4,pad 1 ~(gv3)/via3 0 0 \
 "Metal4(edge) cannot touch GV3 via (Mosis #22.3)" via3

 spacing to to 4 touching_ok \
 "Thick Oxide spacing < 4 (Mosis #24.2)"

 spacing hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a 8 touching_illegal \
 "HVDiffusion spacing to Diffusion < 8 (Mosis #24.3)"

 spacing to diff,ndiff,rnd,nfet,nsd,nwsd,pdiff,rpd,pfet,psd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,pdc/a,pdm12c/a,psc/a,psm12c/a 4 touching_illegal \
 "Thick Oxide spacing to Diffusion < 4 (Mosis #24.4)"

 edge4way ~(to)/oxide to 4 ~(hdiff,htran,hfet,hndif,hnfet,hnsd,hpdif,hpfet,hpsd,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a)/active to 4 \
 "Thick Oxide overlap of HVDiffusion < 4 (Mosis #24.5)" active

 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,hnwell,pdiff,rpd,pfet,hpdif,hpfet,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a pfi 4 touching_illegal \
 "N-well,P-Diffusion spacing to P_field-implant < 4 (Mosis #2.1)"

 spacing pwell,hpwell,ndiff,rnd,nfet,hndif,hnfet,ndc/a,ndm12c/a,hndc/a,hndm12c/a nfi 4 touching_illegal \
 "P-well,N-Diffusion spacing to N_field-implant < 4 (Mosis #2.1)"

 edge4way ~(nwell,hnwell)/well nwell,hnwell 4 ~(nfi)/implant nwell,hnwell 4 \
 "N-well overlap of N_field-implant < 4 (Mosis #21.2)" implant

 edge4way ~(pwell,hpwell)/well pwell,hpwell 4 ~(pfi)/implant pwell,hpwell 4 \
 "P-well overlap of P_field-implant < 4 (Mosis #21.2)" implant

 edge4way rp space/active 1 prp 0 0 \
 "prp overhang of rpoly (for resistor L/W extraction) < 1 (Mosis #0)" active

 edge4way rp2 space/cap 1 prp2 0 0 \
 "prp2 overhang of rpoly2 (for resistor L/W extraction) < 1 (Mosis #0)" cap

 edge4way rnw space/active 1 prnw 0 0 \
 "prnw overhang of rnwell (for resistor L/W extraction) < 1 (Mosis #0)" active

 edge4way nwr space/active 1 pnwr 0 0 \
 "pnwr overhang of nwr (for Fig1b 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 rm4 space/metal4 1 prm4 0 0 \
 "prm4 overhang of rmetal4 (for resistor L/W extraction) < 1 (Mosis #0)" metal4

 edge4way ndc/a,ndm12c/a,hndc/a,hndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a ~(ndc/a,ndm12c/a,hndc/a,hndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a)/active 1 ~(ndc/a,ndm12c/a,hndc/a,hndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a)/active (~(ndc/a,ndm12c/a,hndc/a,hndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a),ndc/a,ndm12c/a,hndc/a,hndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a)/active 1 \
 "Contact not rectangular (Magic rule)"

 edge4way pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a ~(pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a)/active 1 ~(pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a)/active (~(pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a),pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a)/active 1 \
 "Contact not rectangular (Magic rule)"

 edge4way pc/a,pm12c/a ~(pc/a,pm12c/a)/active 1 ~(pc/a,pm12c/a)/active (~(pc/a,pm12c/a),pc/a,pm12c/a)/active 1 \
 "Contact not rectangular (Magic rule)"

 edge4way gc2 ~(gc2)/contact 1 ~(gc2)/contact (~(gc2),gc2)/contact 1 \
 "Contact not rectangular (Magic rule)"

 edge4way p2c ~(p2c)/metal1 1 ~(p2c)/metal1 (~(p2c),p2c)/metal1 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,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1 ~(m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1)/metal1 1 ~(m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1)/metal1 (~(m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1),m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/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,m234c/m2 ~(m3c/m2,m123c/m2,m234c/m2)/metal2 1 ~(m3c/m2,m123c/m2,m234c/m2)/metal2 (~(m3c/m2,m123c/m2,m234c/m2),m3c/m2,m123c/m2,m234c/m2)/metal2 1 \
 "Contact not rectangular (Magic rule)"

 edge4way gv3 ~(gv3)/via3 1 ~(gv3)/via3 (~(gv3),gv3)/via3 1 \
 "Contact not rectangular (Magic rule)"

 edge4way m4c/m3,m234c/m3 ~(m4c/m3,m234c/m3)/metal3 1 ~(m4c/m3,m234c/m3)/metal3 (~(m4c/m3,m234c/m3),m4c/m3,m234c/m3)/metal3 1 \
 "Contact not rectangular (Magic rule)"

 exact_overlap gc,ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a,gc,pc/a,pm12c/a,gc

 exact_overlap gc2,p2c

 edge4way pad ~(pad)/m4 1 ~(pad)/m4 (~(pad),pad)/m4 1 \
 "Contact not rectangular (Magic rule)"

 exact_overlap ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c

 exact_overlap m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2

 exact_overlap m3c/m3,m123c/m3,m234c/m3

 exact_overlap m4c/m4,m234c/m4

 exact_overlap gv1

 exact_overlap gv2

 exact_overlap gv3

 edge4way nfet,pfet,fet,hnfet,hpfet,hfet ~(nfet,pfet,fet,hnfet,hpfet,hfet)/active 1 ~(nfet,pfet,fet,hnfet,hpfet,hfet)/active nfet,pfet,fet,hnfet,hpfet,hfet 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)"

 width m4p 4 \
 "Metal4 PIN width < 4 (do_pins)"

 spacing m4p m4p 4 touching_ok \
 "Metal4 PIN spacing < 4 (do_pins)"

#CC cifstyle  lambda=0.25(p) 
#CC cifwidth CWN 250 \
#CC "generated CIF layer CWN width will be < 10 (';cif see CWN')"
#CC cifspacing CWN CWN 150 touching_ok \
#CC "generated CIF layer CWN spacing will be < 6 (';cif see CWN')"
#CC cifwidth CWP 250 \
#CC "generated CIF layer CWP width will be < 10 (';cif see CWP')"
#CC cifspacing CWP CWP 150 touching_ok \
#CC "generated CIF layer CWP spacing will be < 6 (';cif see CWP')"
#CC cifwidth CSN 75 \
#CC "generated CIF layer CSN width will be < 3 (';cif see CSN')"
#CC cifspacing CSN CSN 75 touching_ok \
#CC "generated CIF layer CSN spacing will be < 3 (';cif see CSN')"
#CC cifwidth CSP 75 \
#CC "generated CIF layer CSP width will be < 3 (';cif see CSP')"
#CC cifspacing CSP CSP 75 touching_ok \
#CC "generated CIF layer CSP spacing will be < 3 (';cif see CSP')"

 stepsize 400

end

extract
 style Nom:dense:TSMC0.35um(tsmc35)
 cscale 1
 lambda 25
 step   100
 sidehalo 8
 planeorder well 0
 planeorder implant 1
 planeorder select 2
 planeorder cap 3
 planeorder active 4
 planeorder metal1 5
 planeorder metal2 6
 planeorder metal3 7
 planeorder metal4 8
 planeorder oxide 9
 planeorder xp 10
 planeorder comment 11
 planeorder contact 12
 planeorder via1 13
 planeorder via2 14
 planeorder via3 15

 resist (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c,nsd,nwsd,hnsd,nsc,nwsc,nsm12c,nwsm12c,hnsc,hnsm12c)/active 80900
 resist (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c,psd,hpsd,psc,psm12c,hpsc,hpsm12c)/active 152700
 resist (nwell,hnwell)/well 1017000
 resist (rnw,nwr)/active 1017000
 resist (pwell,hpwell)/well 1
 resist (poly,rp,pc,pm12c,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active 8100
 resist (poly2,ecap,p2c)/cap 45800
 resist (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c)/metal1  70
 resist (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c,m3c,m123c,m234c)/metal2  70
 resist (m3,rm3,m3t,m3c,m123c,m234c,m4c,m4c,m234c)/metal3  70
 resist (m4,rm4,m4c,m234c,pad)/metal4  40

 contact ndc 4 63000
 contact pdc 4 126700
 contact pc 4 6300
 contact p2c 4 31900
 contact m2c 4 1490
 contact m3c 4 1210
 contact m4c 4 1190


#poly2
 overlap (poly,rp,pc,pm12c,pc,pm12c)/active (poly2,ecap,p2c)/cap	 55.250

#nwell,cwell,pwell
 areacap (nwell,hnwell)/well   3.438

#rnw
 areacap (rnw,nwr)/active   3.438

#ndiff
# MODEL HANDLES THIS: areacap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active  60.562
# MODEL HANDLES THIS: overlap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~space/w  60.562
# MODEL HANDLES THIS: perimc (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~(ndiff,hndif,ndc,ndm12c,hndc,hndm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  86.500
# MODEL HANDLES THIS: sideoverlap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~(ndiff,hndif,ndc,ndm12c,hndc,hndm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~space/w  86.500

 areacap (rnd)/active  60.562
 overlap (rnd)/active ~space/w  60.562
 perimc (rnd)/active ~(rnd)/active  86.500
 sideoverlap (rnd)/active ~(rnd)/active ~space/w  86.500

#pdiff
# MODEL HANDLES THIS: areacap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  86.125
# MODEL HANDLES THIS: overlap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~space/w  86.125
# MODEL HANDLES THIS: perimc (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~(pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  99.750
# MODEL HANDLES THIS: sideoverlap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~(pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~space/w  99.750

 areacap (rpd)/active  86.125
 overlap (rpd)/active ~space/w  86.125
 perimc (rpd)/active ~(rpd)/active  99.750
 sideoverlap (rpd)/active ~(rpd)/active ~space/w  99.750

#rnw

#poly
# MODEL HANDLES THIS: overlap (nfet,hnfet)/active (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active 283.500
# MODEL HANDLES THIS: sideoverlap (nfet,hnfet)/active ~(nfet,hnfet)/active (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active  65.750
# MODEL HANDLES THIS: overlap (pfet,hpfet)/active (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active 282.688
# MODEL HANDLES THIS: sideoverlap (pfet,hpfet)/active ~(pfet,hpfet)/active (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  65.250

 sidewall (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active (poly,rp,pc,pm12c)/active  11.331
 areacap (poly,rp,pc,pm12c)/active   6.365
 overlap (poly,rp,pc,pm12c)/active ~space/w   6.365
 perimc (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active   5.777
 sideoverlap (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active ~space/w   5.777

#poly2

#rnw

#metal1
 sidewall (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1  20.619
 areacap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   2.604

#metal1-sub blocked by ~space/a,~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~space/w   2.604 ~space/a,~space/c
 perimc (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   2.783
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~space/w   2.783 ~space/a,~space/c

#rnw
 overlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 rnw,nwr/active   2.604 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 rnw,nwr/active   2.783 ~space/c

#metal1-diff blocked by ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   2.188 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   2.783 ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   2.188 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   2.783 ~space/c

#metal1-poly blocked by ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   2.636 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   2.812 ~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   2.812 ~space/c

#metal1-poly2 not blocked
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly2,ecap)/cap   2.812

#metal2
 sidewall (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2  23.532
 areacap (m2,rm2,m2t,m3c,m123c,m234c)/metal2   0.908

#metal2-sub blocked by 
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 ~space/w   0.908 ~space/a,~space/m1,~space/c
 perimc (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   1.045
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~space/w   1.045 ~space/a,~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 rnw,nwr/active   0.908 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 rnw,nwr/active   1.045 ~space/m1,~space/c

#metal2-*diff blocked by ~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.062 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.045 ~space/m1,~space/c
 overlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.062 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.045 ~space/m1,~space/c

#metal2-poly blocked by ~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.911 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   1.050 ~space/m1,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   1.050 ~space/m1,~space/c

#metal2-poly2 blocked by ~space/m1

#M2->M1
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   2.882
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   3.040
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   3.040

#metal3
 sidewall (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3  24.216
 areacap (m3,rm3,m3t,m4c,m234c)/metal3   0.549

#metal3-sub blocked by ~space/a,~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 ~space/w   0.549 ~space/a,~space/m1,~space/m2,~space/c
 perimc (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   0.642
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~space/w   0.642 ~space/a,~space/m1,~space/m2,~space/c

#rnw
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 rnw,nwr/active   0.549 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 rnw,nwr/active   0.642 ~space/m1,~space/m2,~space/c

#metal3-*diff blocked by ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.750 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.642 ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.750 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.642 ~space/m1,~space/m2,~space/c

#metal3-poly blocked by ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.551 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.645 ~space/m1,~space/m2,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   0.645 ~space/m1,~space/m2,~space/c

#metal3-poly2 blocked by ~space/m1,~space/m2

#M3->M1

#metal3-metal1 blocked by ~space/m2
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   0.939 ~space/m2
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   1.080 ~space/m2
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   1.080 ~space/m2

#M3->M2
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   2.881
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   3.038
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   3.038

#metal4
 sidewall (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m4,rm4,m4c,m234c,pad)/metal4  64.860
 areacap (m4,rm4,pad)/metal4   0.368

#metal4-sub blocked by ~space/a,~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 ~space/w   0.368 ~space/a,~space/m1,~space/m2,~space/m3,~space/c
 perimc (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4   1.002
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 ~space/w   1.002 ~space/a,~space/m1,~space/m2,~space/m3,~space/c

#rnw
 overlap (m4,rm4,pad)/metal4 rnw,nwr/active   0.368 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 rnw,nwr/active   1.002 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-*diff blocked by ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.625 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.002 ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.625 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.002 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-poly blocked by ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.424 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.832 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m4,rm4,m4c,m234c,pad)/metal4   0.832 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-poly2 blocked by ~space/m1,~space/m2,~space/m3

#M4->M1

#metal4-metal1 blocked by ~space/m2,~space/m3
 overlap (m4,rm4,pad)/metal4 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   0.561 ~space/m2,~space/m3
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   1.298 ~space/m2,~space/m3
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m4,rm4,m4c,m234c,pad)/metal4   1.298 ~space/m2,~space/m3

#M4->M2

#metal4-metal2 blocked by ~space/m3
 overlap (m4,rm4,pad)/metal4 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   0.939 ~space/m3
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   2.123 ~space/m3
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m4,rm4,m4c,m234c,pad)/metal4   2.123 ~space/m3

#M4->M3
 overlap (m4,rm4,pad)/metal4 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   2.881
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   5.755
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m4,rm4,m4c,m234c,pad)/metal4   5.755

#metal5

#metal6

#metal7

#metali

#fets

 fet  hpfet hpdif,hpdc 2 hpfet Vdd! hnwell 65 283
 fet  hpfet hpdif,hpdc 1 hpfet Vdd! hnwell 65 283

 fet  hnfet hndif,hndc 2 hnfet Gnd! hpwell 66 284
 fet  hnfet hndif,hndc 1 hnfet Gnd! hpwell 66 284

 fet  pfet pdiff,pdc 2 pfet Vdd! nwell 65 283
 fet  pfet pdiff,pdc 1 pfet Vdd! nwell 65 283

 fet  nfet ndiff,ndc 2 nfet Gnd! pwell 66 284
 fet  nfet ndiff,ndc 1 nfet Gnd! pwell 66 284

 fetresis  hpfet linear		18703
 fetresis  hpfet saturation	18703
 fetresis  hnfet linear		6839
 fetresis  hnfet saturation	6839

 fetresis  pfet linear		14879
 fetresis  pfet saturation	14879
 fetresis  nfet linear		5493
 fetresis  nfet saturation	5493

 fet  rnwell	nsd,nsc	2	nwellResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly	poly,pc	2	polyResistor	Gnd!	nwell,pwell 0 0
 fet  nwr	nwsd	2	nwellFig1bResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly2	poly2,p2c	2	poly2Resistor	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
 fet  rmetal4	metal4	2	metal4Resistor	Gnd!	nwell,pwell 0 0

 style Nom:sparse:TSMC0.35um(tsmc35)
 cscale 1
 lambda 25
 step   100
 sidehalo 8
 planeorder well 0
 planeorder implant 1
 planeorder select 2
 planeorder cap 3
 planeorder active 4
 planeorder metal1 5
 planeorder metal2 6
 planeorder metal3 7
 planeorder metal4 8
 planeorder oxide 9
 planeorder xp 10
 planeorder comment 11
 planeorder contact 12
 planeorder via1 13
 planeorder via2 14
 planeorder via3 15

 resist (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c,nsd,nwsd,hnsd,nsc,nwsc,nsm12c,nwsm12c,hnsc,hnsm12c)/active 80900
 resist (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c,psd,hpsd,psc,psm12c,hpsc,hpsm12c)/active 152700
 resist (nwell,hnwell)/well 1017000
 resist (rnw,nwr)/active 1017000
 resist (pwell,hpwell)/well 1
 resist (poly,rp,pc,pm12c,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active 8100
 resist (poly2,ecap,p2c)/cap 45800
 resist (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c)/metal1  70
 resist (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c,m3c,m123c,m234c)/metal2  70
 resist (m3,rm3,m3t,m3c,m123c,m234c,m4c,m4c,m234c)/metal3  70
 resist (m4,rm4,m4c,m234c,pad)/metal4  40

 contact ndc 4 63000
 contact pdc 4 126700
 contact pc 4 6300
 contact p2c 4 31900
 contact m2c 4 1490
 contact m3c 4 1210
 contact m4c 4 1190


#poly2
 overlap (poly,rp,pc,pm12c,pc,pm12c)/active (poly2,ecap,p2c)/cap	 55.250

#nwell,cwell,pwell
 areacap (nwell,hnwell)/well   3.438

#rnw
 areacap (rnw,nwr)/active   3.438

#ndiff
# MODEL HANDLES THIS: areacap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active  60.562
# MODEL HANDLES THIS: overlap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~space/w  60.562
# MODEL HANDLES THIS: perimc (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~(ndiff,hndif,ndc,ndm12c,hndc,hndm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  86.500
# MODEL HANDLES THIS: sideoverlap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~(ndiff,hndif,ndc,ndm12c,hndc,hndm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~space/w  86.500

 areacap (rnd)/active  60.562
 overlap (rnd)/active ~space/w  60.562
 perimc (rnd)/active ~(rnd)/active  86.500
 sideoverlap (rnd)/active ~(rnd)/active ~space/w  86.500

#pdiff
# MODEL HANDLES THIS: areacap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  86.125
# MODEL HANDLES THIS: overlap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~space/w  86.125
# MODEL HANDLES THIS: perimc (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~(pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  99.750
# MODEL HANDLES THIS: sideoverlap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~(pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~space/w  99.750

 areacap (rpd)/active  86.125
 overlap (rpd)/active ~space/w  86.125
 perimc (rpd)/active ~(rpd)/active  99.750
 sideoverlap (rpd)/active ~(rpd)/active ~space/w  99.750

#rnw

#poly
# MODEL HANDLES THIS: overlap (nfet,hnfet)/active (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active 283.500
# MODEL HANDLES THIS: sideoverlap (nfet,hnfet)/active ~(nfet,hnfet)/active (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active  65.750
# MODEL HANDLES THIS: overlap (pfet,hpfet)/active (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active 282.688
# MODEL HANDLES THIS: sideoverlap (pfet,hpfet)/active ~(pfet,hpfet)/active (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  65.250

 sidewall (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active (poly,rp,pc,pm12c)/active  11.254
 areacap (poly,rp,pc,pm12c)/active   6.365
 overlap (poly,rp,pc,pm12c)/active ~space/w   6.365
 perimc (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active  10.268
 sideoverlap (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active ~space/w  10.268

#poly2

#rnw

#metal1
 sidewall (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1  23.454
 areacap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   2.604

#metal1-sub blocked by ~space/a,~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~space/w   2.604 ~space/a,~space/c
 perimc (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   6.565
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~space/w   6.565 ~space/a,~space/c

#rnw
 overlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 rnw,nwr/active   2.604 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 rnw,nwr/active   6.565 ~space/c

#metal1-diff blocked by ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   2.188 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   6.565 ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   2.188 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   6.565 ~space/c

#metal1-poly blocked by ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   2.636 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   6.620 ~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   6.620 ~space/c

#metal1-poly2 not blocked
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly2,ecap)/cap   2.812

#metal2
 sidewall (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2  32.301
 areacap (m2,rm2,m2t,m3c,m123c,m234c)/metal2   0.908

#metal2-sub blocked by 
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 ~space/w   0.908 ~space/a,~space/m1,~space/c
 perimc (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   2.870
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~space/w   2.870 ~space/a,~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 rnw,nwr/active   0.908 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 rnw,nwr/active   2.870 ~space/m1,~space/c

#metal2-*diff blocked by ~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.062 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   2.870 ~space/m1,~space/c
 overlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.062 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   2.870 ~space/m1,~space/c

#metal2-poly blocked by ~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.911 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   2.880 ~space/m1,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   2.880 ~space/m1,~space/c

#metal2-poly2 blocked by ~space/m1

#M2->M1
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   2.882
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   7.022
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   7.022

#metal3
 sidewall (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3  36.153
 areacap (m3,rm3,m3t,m4c,m234c)/metal3   0.549

#metal3-sub blocked by ~space/a,~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 ~space/w   0.549 ~space/a,~space/m1,~space/m2,~space/c
 perimc (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   1.827
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~space/w   1.827 ~space/a,~space/m1,~space/m2,~space/c

#rnw
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 rnw,nwr/active   0.549 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 rnw,nwr/active   1.827 ~space/m1,~space/m2,~space/c

#metal3-*diff blocked by ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.750 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.827 ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.750 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.827 ~space/m1,~space/m2,~space/c

#metal3-poly blocked by ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.551 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   1.830 ~space/m1,~space/m2,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   1.830 ~space/m1,~space/m2,~space/c

#metal3-poly2 blocked by ~space/m1,~space/m2

#M3->M1

#metal3-metal1 blocked by ~space/m2
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   0.939 ~space/m2
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   2.953 ~space/m2
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   2.953 ~space/m2

#M3->M2
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   2.881
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   7.003
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   7.003

#metal4
 sidewall (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m4,rm4,m4c,m234c,pad)/metal4  67.354
 areacap (m4,rm4,pad)/metal4   0.368

#metal4-sub blocked by ~space/a,~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 ~space/w   0.368 ~space/a,~space/m1,~space/m2,~space/m3,~space/c
 perimc (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4   1.377
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 ~space/w   1.377 ~space/a,~space/m1,~space/m2,~space/m3,~space/c

#rnw
 overlap (m4,rm4,pad)/metal4 rnw,nwr/active   0.368 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 rnw,nwr/active   1.377 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-*diff blocked by ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.625 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.377 ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.625 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.377 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-poly blocked by ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.424 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   1.200 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m4,rm4,m4c,m234c,pad)/metal4   1.200 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-poly2 blocked by ~space/m1,~space/m2,~space/m3

#M4->M1

#metal4-metal1 blocked by ~space/m2,~space/m3
 overlap (m4,rm4,pad)/metal4 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   0.561 ~space/m2,~space/m3
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   1.810 ~space/m2,~space/m3
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m4,rm4,m4c,m234c,pad)/metal4   1.810 ~space/m2,~space/m3

#M4->M2

#metal4-metal2 blocked by ~space/m3
 overlap (m4,rm4,pad)/metal4 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   0.939 ~space/m3
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   2.930 ~space/m3
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m4,rm4,m4c,m234c,pad)/metal4   2.930 ~space/m3

#M4->M3
 overlap (m4,rm4,pad)/metal4 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   2.881
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   7.588
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m4,rm4,m4c,m234c,pad)/metal4   7.588

#metal5

#metal6

#metal7

#metali

#fets

 fet  hpfet hpdif,hpdc 2 hpfet Vdd! hnwell 65 283
 fet  hpfet hpdif,hpdc 1 hpfet Vdd! hnwell 65 283

 fet  hnfet hndif,hndc 2 hnfet Gnd! hpwell 66 284
 fet  hnfet hndif,hndc 1 hnfet Gnd! hpwell 66 284

 fet  pfet pdiff,pdc 2 pfet Vdd! nwell 65 283
 fet  pfet pdiff,pdc 1 pfet Vdd! nwell 65 283

 fet  nfet ndiff,ndc 2 nfet Gnd! pwell 66 284
 fet  nfet ndiff,ndc 1 nfet Gnd! pwell 66 284

 fetresis  hpfet linear		18703
 fetresis  hpfet saturation	18703
 fetresis  hnfet linear		6839
 fetresis  hnfet saturation	6839

 fetresis  pfet linear		14879
 fetresis  pfet saturation	14879
 fetresis  nfet linear		5493
 fetresis  nfet saturation	5493

 fet  rnwell	nsd,nsc	2	nwellResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly	poly,pc	2	polyResistor	Gnd!	nwell,pwell 0 0
 fet  nwr	nwsd	2	nwellFig1bResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly2	poly2,p2c	2	poly2Resistor	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
 fet  rmetal4	metal4	2	metal4Resistor	Gnd!	nwell,pwell 0 0

 style Nom:vast:TSMC0.35um(tsmc35)
 cscale 1
 lambda 25
 step   100
 sidehalo 8
 planeorder well 0
 planeorder implant 1
 planeorder select 2
 planeorder cap 3
 planeorder active 4
 planeorder metal1 5
 planeorder metal2 6
 planeorder metal3 7
 planeorder metal4 8
 planeorder oxide 9
 planeorder xp 10
 planeorder comment 11
 planeorder contact 12
 planeorder via1 13
 planeorder via2 14
 planeorder via3 15

 resist (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c,nsd,nwsd,hnsd,nsc,nwsc,nsm12c,nwsm12c,hnsc,hnsm12c)/active 80900
 resist (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c,psd,hpsd,psc,psm12c,hpsc,hpsm12c)/active 152700
 resist (nwell,hnwell)/well 1017000
 resist (rnw,nwr)/active 1017000
 resist (pwell,hpwell)/well 1
 resist (poly,rp,pc,pm12c,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active 8100
 resist (poly2,ecap,p2c)/cap 45800
 resist (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c)/metal1  70
 resist (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c,m3c,m123c,m234c)/metal2  70
 resist (m3,rm3,m3t,m3c,m123c,m234c,m4c,m4c,m234c)/metal3  70
 resist (m4,rm4,m4c,m234c,pad)/metal4  40

 contact ndc 4 63000
 contact pdc 4 126700
 contact pc 4 6300
 contact p2c 4 31900
 contact m2c 4 1490
 contact m3c 4 1210
 contact m4c 4 1190


#poly2
 overlap (poly,rp,pc,pm12c,pc,pm12c)/active (poly2,ecap,p2c)/cap	 55.250

#nwell,cwell,pwell
 areacap (nwell,hnwell)/well   3.438

#rnw
 areacap (rnw,nwr)/active   3.438

#ndiff
# MODEL HANDLES THIS: areacap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active  60.562
# MODEL HANDLES THIS: overlap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~space/w  60.562
# MODEL HANDLES THIS: perimc (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~(ndiff,hndif,ndc,ndm12c,hndc,hndm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  86.500
# MODEL HANDLES THIS: sideoverlap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~(ndiff,hndif,ndc,ndm12c,hndc,hndm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~space/w  86.500

 areacap (rnd)/active  60.562
 overlap (rnd)/active ~space/w  60.562
 perimc (rnd)/active ~(rnd)/active  86.500
 sideoverlap (rnd)/active ~(rnd)/active ~space/w  86.500

#pdiff
# MODEL HANDLES THIS: areacap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  86.125
# MODEL HANDLES THIS: overlap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~space/w  86.125
# MODEL HANDLES THIS: perimc (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~(pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  99.750
# MODEL HANDLES THIS: sideoverlap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~(pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~space/w  99.750

 areacap (rpd)/active  86.125
 overlap (rpd)/active ~space/w  86.125
 perimc (rpd)/active ~(rpd)/active  99.750
 sideoverlap (rpd)/active ~(rpd)/active ~space/w  99.750

#rnw

#poly
# MODEL HANDLES THIS: overlap (nfet,hnfet)/active (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active 283.500
# MODEL HANDLES THIS: sideoverlap (nfet,hnfet)/active ~(nfet,hnfet)/active (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active  65.750
# MODEL HANDLES THIS: overlap (pfet,hpfet)/active (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active 282.688
# MODEL HANDLES THIS: sideoverlap (pfet,hpfet)/active ~(pfet,hpfet)/active (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  65.250

 sidewall (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active (poly,rp,pc,pm12c)/active   7.038
 areacap (poly,rp,pc,pm12c)/active   6.365
 overlap (poly,rp,pc,pm12c)/active ~space/w   6.365
 perimc (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active  13.165
 sideoverlap (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active ~space/w  13.165

#poly2

#rnw

#metal1
 sidewall (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1  18.575
 areacap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   2.604

#metal1-sub blocked by ~space/a,~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~space/w   2.604 ~space/a,~space/c
 perimc (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1  10.482
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~space/w  10.482 ~space/a,~space/c

#rnw
 overlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 rnw,nwr/active   2.604 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 rnw,nwr/active  10.482 ~space/c

#metal1-diff blocked by ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   2.188 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active  10.482 ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   2.188 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  10.482 ~space/c

#metal1-poly blocked by ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   2.636 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  10.537 ~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1  10.537 ~space/c

#metal1-poly2 not blocked
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly2,ecap)/cap   2.812

#metal2
 sidewall (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2  34.900
 areacap (m2,rm2,m2t,m3c,m123c,m234c)/metal2   0.908

#metal2-sub blocked by 
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 ~space/w   0.908 ~space/a,~space/m1,~space/c
 perimc (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   6.040
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~space/w   6.040 ~space/a,~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 rnw,nwr/active   0.908 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 rnw,nwr/active   6.040 ~space/m1,~space/c

#metal2-*diff blocked by ~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.062 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   6.040 ~space/m1,~space/c
 overlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.062 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   6.040 ~space/m1,~space/c

#metal2-poly blocked by ~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.911 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   6.058 ~space/m1,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   6.058 ~space/m1,~space/c

#metal2-poly2 blocked by ~space/m1

#M2->M1
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   2.882
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1  10.922
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2  10.922

#metal3
 sidewall (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3  45.650
 areacap (m3,rm3,m3t,m4c,m234c)/metal3   0.549

#metal3-sub blocked by ~space/a,~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 ~space/w   0.549 ~space/a,~space/m1,~space/m2,~space/c
 perimc (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   4.235
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~space/w   4.235 ~space/a,~space/m1,~space/m2,~space/c

#rnw
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 rnw,nwr/active   0.549 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 rnw,nwr/active   4.235 ~space/m1,~space/m2,~space/c

#metal3-*diff blocked by ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.750 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   4.235 ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.750 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   4.235 ~space/m1,~space/m2,~space/c

#metal3-poly blocked by ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.551 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   4.242 ~space/m1,~space/m2,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   4.242 ~space/m1,~space/m2,~space/c

#metal3-poly2 blocked by ~space/m1,~space/m2

#M3->M1

#metal3-metal1 blocked by ~space/m2
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   0.939 ~space/m2
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   6.162 ~space/m2
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   6.162 ~space/m2

#M3->M2
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   2.881
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2  10.915
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3  10.915

#metal4
 sidewall (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m4,rm4,m4c,m234c,pad)/metal4  74.670
 areacap (m4,rm4,pad)/metal4   0.368

#metal4-sub blocked by ~space/a,~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 ~space/w   0.368 ~space/a,~space/m1,~space/m2,~space/m3,~space/c
 perimc (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4   3.690
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 ~space/w   3.690 ~space/a,~space/m1,~space/m2,~space/m3,~space/c

#rnw
 overlap (m4,rm4,pad)/metal4 rnw,nwr/active   0.368 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 rnw,nwr/active   3.690 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-*diff blocked by ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.625 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   3.690 ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.625 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   3.690 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-poly blocked by ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.424 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   3.710 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m4,rm4,m4c,m234c,pad)/metal4   3.710 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-poly2 blocked by ~space/m1,~space/m2,~space/m3

#M4->M1

#metal4-metal1 blocked by ~space/m2,~space/m3
 overlap (m4,rm4,pad)/metal4 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   0.561 ~space/m2,~space/m3
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   5.145 ~space/m2,~space/m3
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m4,rm4,m4c,m234c,pad)/metal4   5.145 ~space/m2,~space/m3

#M4->M2

#metal4-metal2 blocked by ~space/m3
 overlap (m4,rm4,pad)/metal4 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   0.939 ~space/m3
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   7.567 ~space/m3
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m4,rm4,m4c,m234c,pad)/metal4   7.567 ~space/m3

#M4->M3
 overlap (m4,rm4,pad)/metal4 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   2.881
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3  14.520
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m4,rm4,m4c,m234c,pad)/metal4  14.520

#metal5

#metal6

#metal7

#metali

#fets

 fet  hpfet hpdif,hpdc 2 hpfet Vdd! hnwell 65 283
 fet  hpfet hpdif,hpdc 1 hpfet Vdd! hnwell 65 283

 fet  hnfet hndif,hndc 2 hnfet Gnd! hpwell 66 284
 fet  hnfet hndif,hndc 1 hnfet Gnd! hpwell 66 284

 fet  pfet pdiff,pdc 2 pfet Vdd! nwell 65 283
 fet  pfet pdiff,pdc 1 pfet Vdd! nwell 65 283

 fet  nfet ndiff,ndc 2 nfet Gnd! pwell 66 284
 fet  nfet ndiff,ndc 1 nfet Gnd! pwell 66 284

 fetresis  hpfet linear		18703
 fetresis  hpfet saturation	18703
 fetresis  hnfet linear		6839
 fetresis  hnfet saturation	6839

 fetresis  pfet linear		14879
 fetresis  pfet saturation	14879
 fetresis  nfet linear		5493
 fetresis  nfet saturation	5493

 fet  rnwell	nsd,nsc	2	nwellResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly	poly,pc	2	polyResistor	Gnd!	nwell,pwell 0 0
 fet  nwr	nwsd	2	nwellFig1bResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly2	poly2,p2c	2	poly2Resistor	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
 fet  rmetal4	metal4	2	metal4Resistor	Gnd!	nwell,pwell 0 0

 style Max:dense:TSMC0.35um(tsmc35)
 cscale 1
 lambda 25
 step   100
 sidehalo 8
 planeorder well 0
 planeorder implant 1
 planeorder select 2
 planeorder cap 3
 planeorder active 4
 planeorder metal1 5
 planeorder metal2 6
 planeorder metal3 7
 planeorder metal4 8
 planeorder oxide 9
 planeorder xp 10
 planeorder comment 11
 planeorder contact 12
 planeorder via1 13
 planeorder via2 14
 planeorder via3 15

 resist (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c,nsd,nwsd,hnsd,nsc,nwsc,nsm12c,nwsm12c,hnsc,hnsm12c)/active 80900
 resist (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c,psd,hpsd,psc,psm12c,hpsc,hpsm12c)/active 152700
 resist (nwell,hnwell)/well 1017000
 resist (rnw,nwr)/active 1017000
 resist (pwell,hpwell)/well 1
 resist (poly,rp,pc,pm12c,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active 8100
 resist (poly2,ecap,p2c)/cap 45800
 resist (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c)/metal1  70
 resist (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c,m3c,m123c,m234c)/metal2  70
 resist (m3,rm3,m3t,m3c,m123c,m234c,m4c,m4c,m234c)/metal3  70
 resist (m4,rm4,m4c,m234c,pad)/metal4  40

 contact ndc 4 63000
 contact pdc 4 126700
 contact pc 4 6300
 contact p2c 4 31900
 contact m2c 4 1490
 contact m3c 4 1210
 contact m4c 4 1190


#poly2
 overlap (poly,rp,pc,pm12c,pc,pm12c)/active (poly2,ecap,p2c)/cap	 55.250

#nwell,cwell,pwell
 areacap (nwell,hnwell)/well   3.438

#rnw
 areacap (rnw,nwr)/active   3.438

#ndiff
# MODEL HANDLES THIS: areacap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active  60.562
# MODEL HANDLES THIS: overlap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~space/w  60.562
# MODEL HANDLES THIS: perimc (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~(ndiff,hndif,ndc,ndm12c,hndc,hndm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  86.500
# MODEL HANDLES THIS: sideoverlap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~(ndiff,hndif,ndc,ndm12c,hndc,hndm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~space/w  86.500

 areacap (rnd)/active  60.562
 overlap (rnd)/active ~space/w  60.562
 perimc (rnd)/active ~(rnd)/active  86.500
 sideoverlap (rnd)/active ~(rnd)/active ~space/w  86.500

#pdiff
# MODEL HANDLES THIS: areacap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  86.125
# MODEL HANDLES THIS: overlap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~space/w  86.125
# MODEL HANDLES THIS: perimc (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~(pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  99.750
# MODEL HANDLES THIS: sideoverlap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~(pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~space/w  99.750

 areacap (rpd)/active  86.125
 overlap (rpd)/active ~space/w  86.125
 perimc (rpd)/active ~(rpd)/active  99.750
 sideoverlap (rpd)/active ~(rpd)/active ~space/w  99.750

#rnw

#poly
# MODEL HANDLES THIS: overlap (nfet,hnfet)/active (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active 283.500
# MODEL HANDLES THIS: sideoverlap (nfet,hnfet)/active ~(nfet,hnfet)/active (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active  65.750
# MODEL HANDLES THIS: overlap (pfet,hpfet)/active (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active 282.688
# MODEL HANDLES THIS: sideoverlap (pfet,hpfet)/active ~(pfet,hpfet)/active (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  65.250

 sidewall (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active (poly,rp,pc,pm12c)/active  12.714
 areacap (poly,rp,pc,pm12c)/active   7.301
 overlap (poly,rp,pc,pm12c)/active ~space/w   7.301
 perimc (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active   6.433
 sideoverlap (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active ~space/w   6.433

#poly2

#rnw

#metal1
 sidewall (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1  23.817
 areacap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   3.070

#metal1-sub blocked by ~space/a,~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~space/w   3.070 ~space/a,~space/c
 perimc (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   3.228
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~space/w   3.228 ~space/a,~space/c

#rnw
 overlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 rnw,nwr/active   3.070 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 rnw,nwr/active   3.228 ~space/c

#metal1-diff blocked by ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   2.188 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   3.228 ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   2.188 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   3.228 ~space/c

#metal1-poly blocked by ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   3.086 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   3.240 ~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   3.240 ~space/c

#metal1-poly2 not blocked
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly2,ecap)/cap   2.812

#metal2
 sidewall (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2  26.715
 areacap (m2,rm2,m2t,m3c,m123c,m234c)/metal2   0.984

#metal2-sub blocked by 
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 ~space/w   0.984 ~space/a,~space/m1,~space/c
 perimc (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   1.130
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~space/w   1.130 ~space/a,~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 rnw,nwr/active   0.984 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 rnw,nwr/active   1.130 ~space/m1,~space/c

#metal2-*diff blocked by ~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.062 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.130 ~space/m1,~space/c
 overlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.062 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.130 ~space/m1,~space/c

#metal2-poly blocked by ~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.986 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   1.133 ~space/m1,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   1.133 ~space/m1,~space/c

#metal2-poly2 blocked by ~space/m1

#M2->M1
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   3.401
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   3.522
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   3.522

#metal3
 sidewall (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3  28.197
 areacap (m3,rm3,m3t,m4c,m234c)/metal3   0.583

#metal3-sub blocked by ~space/a,~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 ~space/w   0.583 ~space/a,~space/m1,~space/m2,~space/c
 perimc (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   0.682
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~space/w   0.682 ~space/a,~space/m1,~space/m2,~space/c

#rnw
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 rnw,nwr/active   0.583 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 rnw,nwr/active   0.682 ~space/m1,~space/m2,~space/c

#metal3-*diff blocked by ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.750 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.682 ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.750 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.682 ~space/m1,~space/m2,~space/c

#metal3-poly blocked by ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.584 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.682 ~space/m1,~space/m2,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   0.682 ~space/m1,~space/m2,~space/c

#metal3-poly2 blocked by ~space/m1,~space/m2

#M3->M1

#metal3-metal1 blocked by ~space/m2
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   1.017 ~space/m2
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   1.167 ~space/m2
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   1.167 ~space/m2

#M3->M2
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   3.399
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   3.522
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   3.522

#metal4
 sidewall (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m4,rm4,m4c,m234c,pad)/metal4  72.420
 areacap (m4,rm4,pad)/metal4   0.385

#metal4-sub blocked by ~space/a,~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 ~space/w   0.385 ~space/a,~space/m1,~space/m2,~space/m3,~space/c
 perimc (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4   1.058
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 ~space/w   1.058 ~space/a,~space/m1,~space/m2,~space/m3,~space/c

#rnw
 overlap (m4,rm4,pad)/metal4 rnw,nwr/active   0.385 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 rnw,nwr/active   1.058 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-*diff blocked by ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.625 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.058 ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.625 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.058 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-poly blocked by ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.446 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.868 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m4,rm4,m4c,m234c,pad)/metal4   0.868 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-poly2 blocked by ~space/m1,~space/m2,~space/m3

#M4->M1

#metal4-metal1 blocked by ~space/m2,~space/m3
 overlap (m4,rm4,pad)/metal4 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   0.595 ~space/m2,~space/m3
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   1.375 ~space/m2,~space/m3
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m4,rm4,m4c,m234c,pad)/metal4   1.375 ~space/m2,~space/m3

#M4->M2

#metal4-metal2 blocked by ~space/m3
 overlap (m4,rm4,pad)/metal4 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   1.017 ~space/m3
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   2.288 ~space/m3
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m4,rm4,m4c,m234c,pad)/metal4   2.288 ~space/m3

#M4->M3
 overlap (m4,rm4,pad)/metal4 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   3.399
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   6.625
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m4,rm4,m4c,m234c,pad)/metal4   6.625

#metal5

#metal6

#metal7

#metali

#fets

 fet  hpfet hpdif,hpdc 2 hpfet Vdd! hnwell 65 283
 fet  hpfet hpdif,hpdc 1 hpfet Vdd! hnwell 65 283

 fet  hnfet hndif,hndc 2 hnfet Gnd! hpwell 66 284
 fet  hnfet hndif,hndc 1 hnfet Gnd! hpwell 66 284

 fet  pfet pdiff,pdc 2 pfet Vdd! nwell 65 283
 fet  pfet pdiff,pdc 1 pfet Vdd! nwell 65 283

 fet  nfet ndiff,ndc 2 nfet Gnd! pwell 66 284
 fet  nfet ndiff,ndc 1 nfet Gnd! pwell 66 284

 fetresis  hpfet linear		18703
 fetresis  hpfet saturation	18703
 fetresis  hnfet linear		6839
 fetresis  hnfet saturation	6839

 fetresis  pfet linear		14879
 fetresis  pfet saturation	14879
 fetresis  nfet linear		5493
 fetresis  nfet saturation	5493

 fet  rnwell	nsd,nsc	2	nwellResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly	poly,pc	2	polyResistor	Gnd!	nwell,pwell 0 0
 fet  nwr	nwsd	2	nwellFig1bResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly2	poly2,p2c	2	poly2Resistor	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
 fet  rmetal4	metal4	2	metal4Resistor	Gnd!	nwell,pwell 0 0

 style Max:sparse:TSMC0.35um(tsmc35)
 cscale 1
 lambda 25
 step   100
 sidehalo 8
 planeorder well 0
 planeorder implant 1
 planeorder select 2
 planeorder cap 3
 planeorder active 4
 planeorder metal1 5
 planeorder metal2 6
 planeorder metal3 7
 planeorder metal4 8
 planeorder oxide 9
 planeorder xp 10
 planeorder comment 11
 planeorder contact 12
 planeorder via1 13
 planeorder via2 14
 planeorder via3 15

 resist (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c,nsd,nwsd,hnsd,nsc,nwsc,nsm12c,nwsm12c,hnsc,hnsm12c)/active 80900
 resist (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c,psd,hpsd,psc,psm12c,hpsc,hpsm12c)/active 152700
 resist (nwell,hnwell)/well 1017000
 resist (rnw,nwr)/active 1017000
 resist (pwell,hpwell)/well 1
 resist (poly,rp,pc,pm12c,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active 8100
 resist (poly2,ecap,p2c)/cap 45800
 resist (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c)/metal1  70
 resist (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c,m3c,m123c,m234c)/metal2  70
 resist (m3,rm3,m3t,m3c,m123c,m234c,m4c,m4c,m234c)/metal3  70
 resist (m4,rm4,m4c,m234c,pad)/metal4  40

 contact ndc 4 63000
 contact pdc 4 126700
 contact pc 4 6300
 contact p2c 4 31900
 contact m2c 4 1490
 contact m3c 4 1210
 contact m4c 4 1190


#poly2
 overlap (poly,rp,pc,pm12c,pc,pm12c)/active (poly2,ecap,p2c)/cap	 55.250

#nwell,cwell,pwell
 areacap (nwell,hnwell)/well   3.438

#rnw
 areacap (rnw,nwr)/active   3.438

#ndiff
# MODEL HANDLES THIS: areacap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active  60.562
# MODEL HANDLES THIS: overlap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~space/w  60.562
# MODEL HANDLES THIS: perimc (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~(ndiff,hndif,ndc,ndm12c,hndc,hndm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  86.500
# MODEL HANDLES THIS: sideoverlap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~(ndiff,hndif,ndc,ndm12c,hndc,hndm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~space/w  86.500

 areacap (rnd)/active  60.562
 overlap (rnd)/active ~space/w  60.562
 perimc (rnd)/active ~(rnd)/active  86.500
 sideoverlap (rnd)/active ~(rnd)/active ~space/w  86.500

#pdiff
# MODEL HANDLES THIS: areacap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  86.125
# MODEL HANDLES THIS: overlap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~space/w  86.125
# MODEL HANDLES THIS: perimc (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~(pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  99.750
# MODEL HANDLES THIS: sideoverlap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~(pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~space/w  99.750

 areacap (rpd)/active  86.125
 overlap (rpd)/active ~space/w  86.125
 perimc (rpd)/active ~(rpd)/active  99.750
 sideoverlap (rpd)/active ~(rpd)/active ~space/w  99.750

#rnw

#poly
# MODEL HANDLES THIS: overlap (nfet,hnfet)/active (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active 283.500
# MODEL HANDLES THIS: sideoverlap (nfet,hnfet)/active ~(nfet,hnfet)/active (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active  65.750
# MODEL HANDLES THIS: overlap (pfet,hpfet)/active (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active 282.688
# MODEL HANDLES THIS: sideoverlap (pfet,hpfet)/active ~(pfet,hpfet)/active (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  65.250

 sidewall (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active (poly,rp,pc,pm12c)/active  12.393
 areacap (poly,rp,pc,pm12c)/active   7.301
 overlap (poly,rp,pc,pm12c)/active ~space/w   7.301
 perimc (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active  11.080
 sideoverlap (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active ~space/w  11.080

#poly2

#rnw

#metal1
 sidewall (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1  25.848
 areacap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   3.070

#metal1-sub blocked by ~space/a,~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~space/w   3.070 ~space/a,~space/c
 perimc (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   7.380
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~space/w   7.380 ~space/a,~space/c

#rnw
 overlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 rnw,nwr/active   3.070 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 rnw,nwr/active   7.380 ~space/c

#metal1-diff blocked by ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   2.188 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   7.380 ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   2.188 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   7.380 ~space/c

#metal1-poly blocked by ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   3.086 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   7.402 ~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   7.402 ~space/c

#metal1-poly2 not blocked
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly2,ecap)/cap   2.812

#metal2
 sidewall (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2  34.479
 areacap (m2,rm2,m2t,m3c,m123c,m234c)/metal2   0.984

#metal2-sub blocked by 
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 ~space/w   0.984 ~space/a,~space/m1,~space/c
 perimc (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   3.085
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~space/w   3.085 ~space/a,~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 rnw,nwr/active   0.984 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 rnw,nwr/active   3.085 ~space/m1,~space/c

#metal2-*diff blocked by ~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.062 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   3.085 ~space/m1,~space/c
 overlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.062 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   3.085 ~space/m1,~space/c

#metal2-poly blocked by ~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.986 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   3.090 ~space/m1,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   3.090 ~space/m1,~space/c

#metal2-poly2 blocked by ~space/m1

#M2->M1
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   3.401
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   7.872
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   7.872

#metal3
 sidewall (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3  38.817
 areacap (m3,rm3,m3t,m4c,m234c)/metal3   0.583

#metal3-sub blocked by ~space/a,~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 ~space/w   0.583 ~space/a,~space/m1,~space/m2,~space/c
 perimc (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   1.933
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~space/w   1.933 ~space/a,~space/m1,~space/m2,~space/c

#rnw
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 rnw,nwr/active   0.583 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 rnw,nwr/active   1.933 ~space/m1,~space/m2,~space/c

#metal3-*diff blocked by ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.750 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.933 ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.750 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.933 ~space/m1,~space/m2,~space/c

#metal3-poly blocked by ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.584 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   1.935 ~space/m1,~space/m2,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   1.935 ~space/m1,~space/m2,~space/c

#metal3-poly2 blocked by ~space/m1,~space/m2

#M3->M1

#metal3-metal1 blocked by ~space/m2
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   1.017 ~space/m2
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   3.170 ~space/m2
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   3.170 ~space/m2

#M3->M2
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   3.399
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   7.867
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   7.867

#metal4
 sidewall (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m4,rm4,m4c,m234c,pad)/metal4  74.885
 areacap (m4,rm4,pad)/metal4   0.385

#metal4-sub blocked by ~space/a,~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 ~space/w   0.385 ~space/a,~space/m1,~space/m2,~space/m3,~space/c
 perimc (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4   1.448
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 ~space/w   1.448 ~space/a,~space/m1,~space/m2,~space/m3,~space/c

#rnw
 overlap (m4,rm4,pad)/metal4 rnw,nwr/active   0.385 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 rnw,nwr/active   1.448 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-*diff blocked by ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.625 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.448 ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.625 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.448 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-poly blocked by ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.446 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   1.252 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m4,rm4,m4c,m234c,pad)/metal4   1.252 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-poly2 blocked by ~space/m1,~space/m2,~space/m3

#M4->M1

#metal4-metal1 blocked by ~space/m2,~space/m3
 overlap (m4,rm4,pad)/metal4 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   0.595 ~space/m2,~space/m3
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   1.915 ~space/m2,~space/m3
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m4,rm4,m4c,m234c,pad)/metal4   1.915 ~space/m2,~space/m3

#M4->M2

#metal4-metal2 blocked by ~space/m3
 overlap (m4,rm4,pad)/metal4 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   1.017 ~space/m3
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   3.155 ~space/m3
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m4,rm4,m4c,m234c,pad)/metal4   3.155 ~space/m3

#M4->M3
 overlap (m4,rm4,pad)/metal4 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   3.399
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   8.660
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m4,rm4,m4c,m234c,pad)/metal4   8.660

#metal5

#metal6

#metal7

#metali

#fets

 fet  hpfet hpdif,hpdc 2 hpfet Vdd! hnwell 65 283
 fet  hpfet hpdif,hpdc 1 hpfet Vdd! hnwell 65 283

 fet  hnfet hndif,hndc 2 hnfet Gnd! hpwell 66 284
 fet  hnfet hndif,hndc 1 hnfet Gnd! hpwell 66 284

 fet  pfet pdiff,pdc 2 pfet Vdd! nwell 65 283
 fet  pfet pdiff,pdc 1 pfet Vdd! nwell 65 283

 fet  nfet ndiff,ndc 2 nfet Gnd! pwell 66 284
 fet  nfet ndiff,ndc 1 nfet Gnd! pwell 66 284

 fetresis  hpfet linear		18703
 fetresis  hpfet saturation	18703
 fetresis  hnfet linear		6839
 fetresis  hnfet saturation	6839

 fetresis  pfet linear		14879
 fetresis  pfet saturation	14879
 fetresis  nfet linear		5493
 fetresis  nfet saturation	5493

 fet  rnwell	nsd,nsc	2	nwellResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly	poly,pc	2	polyResistor	Gnd!	nwell,pwell 0 0
 fet  nwr	nwsd	2	nwellFig1bResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly2	poly2,p2c	2	poly2Resistor	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
 fet  rmetal4	metal4	2	metal4Resistor	Gnd!	nwell,pwell 0 0

 style Max:vast:TSMC0.35um(tsmc35)
 cscale 1
 lambda 25
 step   100
 sidehalo 8
 planeorder well 0
 planeorder implant 1
 planeorder select 2
 planeorder cap 3
 planeorder active 4
 planeorder metal1 5
 planeorder metal2 6
 planeorder metal3 7
 planeorder metal4 8
 planeorder oxide 9
 planeorder xp 10
 planeorder comment 11
 planeorder contact 12
 planeorder via1 13
 planeorder via2 14
 planeorder via3 15

 resist (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c,nsd,nwsd,hnsd,nsc,nwsc,nsm12c,nwsm12c,hnsc,hnsm12c)/active 80900
 resist (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c,psd,hpsd,psc,psm12c,hpsc,hpsm12c)/active 152700
 resist (nwell,hnwell)/well 1017000
 resist (rnw,nwr)/active 1017000
 resist (pwell,hpwell)/well 1
 resist (poly,rp,pc,pm12c,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active 8100
 resist (poly2,ecap,p2c)/cap 45800
 resist (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c)/metal1  70
 resist (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c,m3c,m123c,m234c)/metal2  70
 resist (m3,rm3,m3t,m3c,m123c,m234c,m4c,m4c,m234c)/metal3  70
 resist (m4,rm4,m4c,m234c,pad)/metal4  40

 contact ndc 4 63000
 contact pdc 4 126700
 contact pc 4 6300
 contact p2c 4 31900
 contact m2c 4 1490
 contact m3c 4 1210
 contact m4c 4 1190


#poly2
 overlap (poly,rp,pc,pm12c,pc,pm12c)/active (poly2,ecap,p2c)/cap	 55.250

#nwell,cwell,pwell
 areacap (nwell,hnwell)/well   3.438

#rnw
 areacap (rnw,nwr)/active   3.438

#ndiff
# MODEL HANDLES THIS: areacap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active  60.562
# MODEL HANDLES THIS: overlap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~space/w  60.562
# MODEL HANDLES THIS: perimc (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~(ndiff,hndif,ndc,ndm12c,hndc,hndm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  86.500
# MODEL HANDLES THIS: sideoverlap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~(ndiff,hndif,ndc,ndm12c,hndc,hndm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~space/w  86.500

 areacap (rnd)/active  60.562
 overlap (rnd)/active ~space/w  60.562
 perimc (rnd)/active ~(rnd)/active  86.500
 sideoverlap (rnd)/active ~(rnd)/active ~space/w  86.500

#pdiff
# MODEL HANDLES THIS: areacap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  86.125
# MODEL HANDLES THIS: overlap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~space/w  86.125
# MODEL HANDLES THIS: perimc (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~(pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  99.750
# MODEL HANDLES THIS: sideoverlap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~(pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~space/w  99.750

 areacap (rpd)/active  86.125
 overlap (rpd)/active ~space/w  86.125
 perimc (rpd)/active ~(rpd)/active  99.750
 sideoverlap (rpd)/active ~(rpd)/active ~space/w  99.750

#rnw

#poly
# MODEL HANDLES THIS: overlap (nfet,hnfet)/active (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active 283.500
# MODEL HANDLES THIS: sideoverlap (nfet,hnfet)/active ~(nfet,hnfet)/active (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active  65.750
# MODEL HANDLES THIS: overlap (pfet,hpfet)/active (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active 282.688
# MODEL HANDLES THIS: sideoverlap (pfet,hpfet)/active ~(pfet,hpfet)/active (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  65.250

 sidewall (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active (poly,rp,pc,pm12c)/active   7.803
 areacap (poly,rp,pc,pm12c)/active   7.301
 overlap (poly,rp,pc,pm12c)/active ~space/w   7.301
 perimc (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active  13.950
 sideoverlap (poly,rp,pc,pm12c)/active ~(poly,rp,pc,pm12c)/active ~space/w  13.950

#poly2

#rnw

#metal1
 sidewall (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1  20.900
 areacap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   3.070

#metal1-sub blocked by ~space/a,~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~space/w   3.070 ~space/a,~space/c
 perimc (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1  11.338
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~space/w  11.338 ~space/a,~space/c

#rnw
 overlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 rnw,nwr/active   3.070 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 rnw,nwr/active  11.338 ~space/c

#metal1-diff blocked by ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   2.188 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active  11.338 ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   2.188 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  11.338 ~space/c

#metal1-poly blocked by ~space/c
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   3.086 ~space/c
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  11.365 ~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1  11.365 ~space/c

#metal1-poly2 not blocked
 overlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (poly2,ecap)/cap   2.812

#metal2
 sidewall (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2  37.400
 areacap (m2,rm2,m2t,m3c,m123c,m234c)/metal2   0.984

#metal2-sub blocked by 
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 ~space/w   0.984 ~space/a,~space/m1,~space/c
 perimc (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   6.385
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~space/w   6.385 ~space/a,~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 rnw,nwr/active   0.984 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 rnw,nwr/active   6.385 ~space/m1,~space/c

#metal2-*diff blocked by ~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   1.062 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   6.385 ~space/m1,~space/c
 overlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   1.062 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   6.385 ~space/m1,~space/c

#metal2-poly blocked by ~space/m1,~space/c
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.986 ~space/m1,~space/c
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   6.395 ~space/m1,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   6.395 ~space/m1,~space/c

#metal2-poly2 blocked by ~space/m1

#M2->M1
 overlap (m2,rm2,m2t,m3c,m123c,m234c)/metal2 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   3.401
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1  11.797
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2  11.797

#metal3
 sidewall (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3  48.425
 areacap (m3,rm3,m3t,m4c,m234c)/metal3   0.583

#metal3-sub blocked by ~space/a,~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 ~space/w   0.583 ~space/a,~space/m1,~space/m2,~space/c
 perimc (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   4.445
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~space/w   4.445 ~space/a,~space/m1,~space/m2,~space/c

#rnw
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 rnw,nwr/active   0.583 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 rnw,nwr/active   4.445 ~space/m1,~space/m2,~space/c

#metal3-*diff blocked by ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.750 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   4.445 ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.750 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   4.445 ~space/m1,~space/m2,~space/c

#metal3-poly blocked by ~space/m1,~space/m2,~space/c
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.584 ~space/m1,~space/m2,~space/c
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   4.450 ~space/m1,~space/m2,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   4.450 ~space/m1,~space/m2,~space/c

#metal3-poly2 blocked by ~space/m1,~space/m2

#M3->M1

#metal3-metal1 blocked by ~space/m2
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   1.017 ~space/m2
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   6.520 ~space/m2
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   6.520 ~space/m2

#M3->M2
 overlap (m3,rm3,m3t,m4c,m234c)/metal3 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   3.399
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2  11.842
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3  11.842

#metal4
 sidewall (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m4,rm4,m4c,m234c,pad)/metal4  78.375
 areacap (m4,rm4,pad)/metal4   0.385

#metal4-sub blocked by ~space/a,~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 ~space/w   0.385 ~space/a,~space/m1,~space/m2,~space/m3,~space/c
 perimc (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4   3.848
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 ~space/w   3.848 ~space/a,~space/m1,~space/m2,~space/m3,~space/c

#rnw
 overlap (m4,rm4,pad)/metal4 rnw,nwr/active   0.385 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 rnw,nwr/active   3.848 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-*diff blocked by ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   0.625 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (ndiff,rnd,hndif,ndc,ndm12c,hndc,hndm12c)/active   3.848 ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   0.625 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (pdiff,rpd,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active   3.848 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-poly blocked by ~space/m1,~space/m2,~space/m3,~space/c
 overlap (m4,rm4,pad)/metal4 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.446 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   3.862 ~space/m1,~space/m2,~space/m3,~space/c
 sideoverlap (poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,rp,pc,pm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m4,rm4,m4c,m234c,pad)/metal4   3.862 ~space/m1,~space/m2,~space/m3,~space/c

#metal4-poly2 blocked by ~space/m1,~space/m2,~space/m3

#M4->M1

#metal4-metal1 blocked by ~space/m2,~space/m3
 overlap (m4,rm4,pad)/metal4 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   0.595 ~space/m2,~space/m3
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1   5.402 ~space/m2,~space/m3
 sideoverlap (m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 ~(m1,rm1,m1t,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,pc,pm12c,p2c,m2c,m123c)/metal1 (m4,rm4,m4c,m234c,pad)/metal4   5.402 ~space/m2,~space/m3

#M4->M2

#metal4-metal2 blocked by ~space/m3
 overlap (m4,rm4,pad)/metal4 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   1.017 ~space/m3
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   8.030 ~space/m3
 sideoverlap (m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,rm2,m2t,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m4,rm4,m4c,m234c,pad)/metal4   8.030 ~space/m3

#M4->M3
 overlap (m4,rm4,pad)/metal4 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3   3.399
 sideoverlap (m4,rm4,m4c,m234c,pad)/metal4 ~(m4,rm4,m4c,m234c,pad)/metal4 (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3  15.898
 sideoverlap (m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 ~(m3,rm3,m3t,m3c,m123c,m234c,m4c)/metal3 (m4,rm4,m4c,m234c,pad)/metal4  15.898

#metal5

#metal6

#metal7

#metali

#fets

 fet  hpfet hpdif,hpdc 2 hpfet Vdd! hnwell 65 283
 fet  hpfet hpdif,hpdc 1 hpfet Vdd! hnwell 65 283

 fet  hnfet hndif,hndc 2 hnfet Gnd! hpwell 66 284
 fet  hnfet hndif,hndc 1 hnfet Gnd! hpwell 66 284

 fet  pfet pdiff,pdc 2 pfet Vdd! nwell 65 283
 fet  pfet pdiff,pdc 1 pfet Vdd! nwell 65 283

 fet  nfet ndiff,ndc 2 nfet Gnd! pwell 66 284
 fet  nfet ndiff,ndc 1 nfet Gnd! pwell 66 284

 fetresis  hpfet linear		18703
 fetresis  hpfet saturation	18703
 fetresis  hnfet linear		6839
 fetresis  hnfet saturation	6839

 fetresis  pfet linear		14879
 fetresis  pfet saturation	14879
 fetresis  nfet linear		5493
 fetresis  nfet saturation	5493

 fet  rnwell	nsd,nsc	2	nwellResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly	poly,pc	2	polyResistor	Gnd!	nwell,pwell 0 0
 fet  nwr	nwsd	2	nwellFig1bResistor	Gnd!	nwell,pwell 0 0
 fet  rpoly2	poly2,p2c	2	poly2Resistor	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
 fet  rmetal4	metal4	2	metal4Resistor	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
 contact	m4contact	4	metal3	0	metal4 0

end

router
 layer2 metal2 3 m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2 4 poly,rp,ndiff,rnd,nsd,nwsd,pdiff,rpd,psd,hndif,hnsd,hpdif,hpsd,m1,rm1,m1t 1
 layer1 metal1 3 m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1 3
 contacts m2contact 4
 gridspacing 8

end

plowing
 fixed	nfet,pfet,glass,pad,hnfet,hpfet
 covered	nfet,pfet,hnfet,hpfet
 drag	nfet,pfet,hnfet,hpfet

end

plot
style colorversatec
 ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a yellow \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA
 ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a cyan \
 0000 5555 0000 5555 \
 0000 5555 0000 5555 \
 0000 5555 0000 5555 \
 0000 5555 0000 5555
 nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a yellow \
 1515 2A2A 5151 A2A2 \
 1515 2A2A 5151 A2A2 \
 1515 2A2A 5151 A2A2 \
 1515 2A2A 5151 A2A2
 nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a cyan \
 0000 1515 0000 5151 \
 0000 1515 0000 5151 \
 0000 1515 0000 5151 \
 0000 1515 0000 5151
 pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a yellow \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA
 pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a cyan \
 0000 5555 0000 5555 \
 0000 5555 0000 5555 \
 0000 5555 0000 5555 \
 0000 5555 0000 5555
 pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a magenta \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000
 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a yellow \
 1515 2A2A 5151 A2A2 \
 1515 2A2A 5151 A2A2 \
 1515 2A2A 5151 A2A2 \
 1515 2A2A 5151 A2A2
 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a cyan \
 0000 1515 0000 5151 \
 0000 1515 0000 5151 \
 0000 1515 0000 5151 \
 0000 1515 0000 5151
 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a magenta \
 2A2A 0000 A2A2 0000 \
 2A2A 0000 A2A2 0000 \
 2A2A 0000 A2A2 0000 \
 2A2A 0000 A2A2 0000
 poly,rp,pc/a,pm12c/a magenta \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA \
 5555 AAAA 5555 AAAA
 nfet,hnfet yellow \
 0505 8282 1414 0A0A \
 5050 2828 4141 A0A0 \
 0505 8282 1414 0A0A \
 5050 2828 4141 A0A0
 nfet,hnfet cyan \
 0000 0505 0000 1414 \
 0000 5050 0000 4141 \
 0000 0505 0000 1414 \
 0000 5050 0000 4141
 nfet,hnfet magenta \
 5050 2828 4141 A0A0 \
 0505 8282 1414 0A0A \
 5050 2828 4141 A0A0 \
 0505 8282 1414 0A0A
 pfet,hpfet yellow \
 6363 A0A0 5050 2828 \
 3636 0A0A 0505 8282 \
 6363 A0A0 5050 2828 \
 3636 0A0A 0505 8282
 pfet,hpfet cyan \
 0000 5151 0000 5454 \
 0000 1515 0000 1515 \
 0000 5151 0000 5454 \
 0000 1515 0000 1515
 pfet,hpfet magenta \
 9494 0A0A 2525 8282 \
 4949 A0A0 5252 2828 \
 9494 0A0A 2525 8282 \
 4949 A0A0 5252 2828
 poly2,ecap yellow \
 FFFF FFFF FFFF FFFF \
 FFFF FFFF FFFF FFFF \
 FFFF FFFF FFFF FFFF \
 FFFF FFFF FFFF FFFF
 m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,m2c/m1,m123c/m1 cyan \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000
 m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m234c/m2 cyan \
 0000 1111 0000 4444 \
 0000 1111 0000 4444 \
 0000 1111 0000 4444 \
 0000 1111 0000 4444
 m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m234c/m2 magenta \
 0000 4444 0000 1111 \
 0000 4444 0000 1111 \
 0000 4444 0000 1111 \
 0000 4444 0000 1111
 m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/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,hnwell yellow \
 0800 1000 2000 4000 \
 8000 0001 0002 0004 \
 0008 0010 0020 0040 \
 0080 0010 0200 0400
 nwell,hnwell cyan \
 1000 2000 4000 8000 \
 0001 0002 0004 0008 \
 0010 0020 0040 0080 \
 0100 0200 0400 0800
 pwell,hpwell yellow \
 1000 0400 0400 0100 \
 0100 0040 0040 0010 \
 0010 0004 0004 0001 \
 0001 4000 4000 1000
 pwell,hpwell cyan \
 0000 0800 0000 0200 \
 0000 0080 0000 0020 \
 0000 0008 0000 0002 \
 0000 8000 0000 2000
 pwell,hpwell magenta \
 0800 0000 0200 0000 \
 0080 0000 0020 0000 \
 0008 0000 0002 0000 \
 8000 0000 2000 0000
 m3c/m2,m123c/m2,m234c/m2,gv2 black \
 0100 0000 0000 0000 \
 1010 0000 0000 0000 \
 0001 0000 0000 0000 \
 1010 0000 0000 0000
 m3c/m2,m123c/m2,m234c/m2,gv2 cyan \
 0280 0000 0820 0000 \
 2008 0000 8002 0000 \
 8002 0000 2008 0000 \
 0820 0000 0280 0000
 m3c/m2,m123c/m2,m234c/m2,gv2 magenta \
 0100 06C0 0440 1830 \
 1010 600C 4004 8003 \
 0001 C006 4004 3018 \
 1010 0C60 0440 0380
 m3c/m2,m123c/m2,m234c/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,pm12c/a,ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a,gc,gc,gc X

style versatec
 pfet,hpfet \
 07c0 0f80 1f00 3e00 \
 7c00 f800 f001 e003 \
 c007 800f 001f 003e \
 00c7 00f8 01f0 03e0
 nfet,hnfet \
 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,hpwell \
 2020 2020 2020 2020 \
 2020 2020 2020 2020 \
 0000 0000 0000 0000 \
 0000 0000 0000 0000
 nwell,hnwell \
 0808 0404 0202 0101 \
 0000 0000 0000 0000 \
 0808 0404 0202 0101 \
 0000 0000 0000 0000
 poly,rp,pc/a,pm12c/a,nfet,hnfet,pfet,hpfet \
 0808 0400 0202 0101 \
 8080 4000 2020 1010 \
 0808 0004 0202 0101 \
 8080 0040 2020 1010
 m1,rm1,m1t,ndc/m1,ndm12c/m1,nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,pc/m1,pm12c/m1,p2c,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,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a \
 0808 1414 2222 4141 \
 8080 4040 2020 1010 \
 0808 1414 2222 4141 \
 8080 4040 2020 1010
 m2,rm2,m2t,m2c/m2,pdm12c/m2,ndm12c/m2,psm12c/m2,nsm12c/m2,pm12c/m2,m123c/m2,nwsm12c/m2,hpdm12c/m2,hndm12c/m2,hpsm12c/m2,hnsm12c/m2,m3c/m2,m234c/m2 \
 0000 1111 0000 0000 \
 0000 1111 0000 0000 \
 0000 1111 0000 0000 \
 0000 1111 0000 0000
 pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,pfet,hpfet \
 0000 0808 5555 8080 \
 0000 8080 5555 0808 \
 0000 0808 5555 8080 \
 0000 8080 5555 0808
 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a \
 1414 2222 0000 2222 \
 4141 2222 0000 2222 \
 1414 2222 0000 2222 \
 4141 2222 0000 2222
 ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nfet,hnfet \
 0808 1010 2020 4040 \
 8080 4141 2222 1414 \
 0808 1010 2020 4040 \
 8080 4141 2222 1414
 pc/a,pm12c/a,ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a,gc,gc,gc X

style gremlin
 pfet,hpfet 9
 nfet,hnfet 10
 gv1 11
 pwell,hpwell 15
 nwell,hnwell 16
 poly,rp,pc/a,pm12c/a,nfet,hnfet,pfet,hpfet 19
 pc/a,pm12c/a,ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a,gc,gc,gc 22
 pad,glass 23
 nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 24
 gv1 28
 pdiff,rpd,hpdif,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,pfet,hpfet 29
 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 30
 ndiff,rnd,hndif,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nfet,hnfet 31
 pc/a,pm12c/a,ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psc/a,psm12c/a,hpsc/a,hpsm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a,gc,gc,gc,gv1 X

end

