tech
 scmos
end

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

planes
  well,w
  implant,i
  select,s
  active,a
  metal1,m1
  metal2,m2
  metal3,m3
  metal4,m4
  metal5,m5
  metali,mi
  oxide,ox
  comment
  xp
  contact
  via1,v1
  via2,v2
  via3,v3
  via4,v4
  viai,vi
  fill
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
  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  pbase,pb
  active  emitter,emit,em
  active  emittercontact,emitcontact,emc,ec
  active  base
  active  basecontact,bcontact,bc
  active  collector,coll,col,co,cl
  active  collectorcontact,colcontact,colc,coc,clc
  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  hactiven_resist,hanres
  active  hactivep_resist,hapres
  active  polysilicon,red,poly,p
  active  polycontact,pcontact,polycut,pc
  active  polypplus,pp
  active  polynplus,pn
  active  polyppluscontact,ppcontact,ppc
  active  polynpluscontact,pncontact,pnc
  contact  genericcontact,gcontact,gc
  metal1  metal1,m1,blue
  metal1  pseudo_rmetal1,prm1
  metal1  rmetal1,rm1
  metal1  fillm1,fm1
  metal1  m2contact,m2cut,m2c,via1,v1
  metal1  pm12contact,pm12c
  metal1  ppm12contact,ppm12c
  metal1  pnm12contact,pnm12c
  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  fillm2,fm2
  via1  gv1
  metal2  m3contact,m3cut,m3c,via2,v2
  metal2  m123contact,m123c
  metal3  metal3,m3,cyan
  metal3  pseudo_rmetal3,prm3
  metal3  rmetal3,rm3
  metal3  fillm3,fm3
  via2    gv2
  metal3  m234contact,m234c
  metal3  m4contact,m4cut,m4c,via3,v3
  metal4  metal4,m4,yellow
  metal4  pseudo_rmetal4,prm4
  metal4  rmetal4,rm4
  metal4  fillm4,fm4
  via3    gv3
  metal4  m345contact,m345c
  metal4  m5contact,m5cut,m5c,via4,v4
  metal5  metal5,m5
  metal5  pseudo_rmetal5,prm5
  metal5  rmetal5,rm5
  metal5  fillm5,fm5
  via4    gv4
  metal5  pad
  metal5  micontact,micut,mic,viai,vi
  metali  metali,mim,mi
  mi  pseudo_rmetali,prmi
  mi rmi
  viai    gvi
  oxide  glass
  oxide  thickoxide,to
  active  silicide_block,sb
  active  poly_resist,pres
  active  pseudo_rpoly,prp
  active  rpoly,rp
  active  pseudo_rndiffusion,prnd
  active  rndiffusion,rndiff,rnd
  active  pseudo_rpdiffusion,prpd
  active  rpdiffusion,rpdiff,rpd
  active  pseudo_rnwell,prnwell,prnw
  active  rnwell,rnw
  active  pseudo_nwr,pnwr
  implant  filln,fn
  fill  filla,fa
  fill  fillb,fb
  active  fillp,fp
  active  fillapm,fapm
  active  activen_resist,anres
  active  activep_resist,apres
  xp  xp
  xp  m1p
  xp  m2p
  xp  m3p
  xp  m4p
  xp  m5p
  comment  comment
  comment  bb
end

contact
  pc  poly  metal1
  ppc  pp  metal1
  pnc  pn  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
  m5c  metal4  metal5
  mic  metal5  metali
  pm12c  poly  metal1  metal2
  ppm12c  pp  metal1  metal2
  pnm12c  pn  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
  m345c  metal3  metal4  metal5
  clc  collector  metal1
  emc  emit  metal1
  bc   base  metal1
  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
  pp  1
  pp  44
  pn  1
  pn  43
  pcontact  1
  pcontact  20
  pcontact  32
  gc  32
  metal1  20
  rm1  20
  rm1  48
  prm1  48
  m1p  20
  m1p  34
  fm1  20
  fm1  34
  fp  1
  fp  34
  fa  32
  fb  45
  fb  34
  fn  45
  fn  34
  fapm  1
  fapm  20
  fapm  21
  fapm  34
  gv1  55
  m2contact  20
  m2contact  21
  m2contact  55
  pm12contact  1
  pm12contact  20
  pm12contact  21
  pm12contact  32
  pm12contact  55
  ppm12contact  1
  ppm12contact  20
  ppm12contact  21
  ppm12contact  32
  ppm12contact  55
  ppm12contact  44
  pnm12contact  1
  pnm12contact  20
  pnm12contact  21
  pnm12contact  32
  pnm12contact  55
  pnm12contact  43
  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
  fm2  21
  fm2  34
  gv2  56
  m3contact  21
  m3contact  22
  m3contact  56
  m123c  20
  m123c  21
  m123c  22
  m123c  55
  m123c  56
  metal3  22
  rm3  22
  rm3  48
  prm3  48
  m3p  22
  m3p  34
  fm3  22
  fm3  34
  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
  fm4  23
  fm4  34
  gv4  58
  m5contact  23
  m5contact  24
  m5contact  58
  m345contact  21
  m345contact  22
  m345contact  23
  m345contact  24
  m345contact  57
  m345contact  58
  metal5  24
  rm5  24
  rm5  48
  m5p  24
  m5p  34
  fm5  24
  fm5  34
  prm5  48
  gvi  61
  micontact  26
  micontact  27
  micontact  61
  mi  27
  rmi  27
  rmi  48
  prmi  48
  pad  22
  pad  23
  pad  34
  pad  38
  glass  34
  to  34
  xp  25
  xp  34
  pbase  15
  base  17
  bc  5
  bc  20
  bc  32
  emit  16
  emc  16
  emc  20
  emc  32
  col  3
  clc  3
  clc  20
  clc  32
  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
  sb  10
  pres  47
  pres  48
  rp  47
  rp  48
  prp  48
  anres  2
  anres  48
  hanres  2
  hanres  48
  rnd  2
  rnd  48
  prnd  48
  apres  4
  apres  53
  hapres  4
  hapres  53
  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
  compose  nfet  pn  ndiff
  compose  pfet  pp  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  anres  nwell  apres
  paint  apres  pwell  anres
  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  anres  nwell  hapres
  paint  apres  pwell  hanres
  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  hanres  nwell  hapres
  paint  hapres  pwell  hanres
  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  anres  hnwell  hapres
  paint  apres  hpwell  hanres
  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  pad  m3  pad
  paint  pad  m4  pad
  paint  pad  m5  pad
  paint  pbase  nselect emit
  paint  pbase  pselect base
  compose  pres  poly  sb
  paint  sb  poly  pres
  paint  poly  sb  pres
  erase  pres  sb  poly
  compose  anres  ndiff  sb
  paint  sb  ndiff  anres
  paint  ndiff  sb  anres
  erase  anres  sb  ndiff
  compose  apres  pdiff  sb
  paint  sb  pdiff  apres
  paint  pdiff  sb  apres
  erase  apres  sb  pdiff
  compose  hanres  hndif  sb
  paint  sb  hndif  hanres
  paint  hndif  sb  hanres
  erase  hanres  sb  hndif
  compose  hapres  hpdif  sb
  paint  sb  hpdif  hapres
  paint  hpdif  sb  hapres
  erase  hapres  sb  hpdif
#CRE/CRM
  compose  rm1  prm1 m1
  compose  rm2  prm2 m2
  compose  rm3  prm3 m3
  compose  rm4  prm4 m4
  compose  rm5  prm5 m5
  compose  rmi  prmi mi
  compose  rp  prp poly
  compose  rnd  prnd ndiff
  compose  rpd  prpd pdiff
  paint  nwell  rnw space
  paint  nwell  nwr space
  paint  nwell  prnw space
  paint poly fp fp
  paint m1 fm1 fm1
  paint m2 fm2 fm2
  paint m3 fm3 fm3
  paint m4 fm4 fm4
  paint m5 fm5 fm5
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,fm1,fapm,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/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,emc/a,bc/a  m1,fm1,fapm,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/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,emc/a,bc/a
  clc  collector,metal1
  collector nwell,hnwell,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a,nsd,nwsd,hnsd,gc
  m2,fm2,fapm,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,fm2,fapm,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,fm3,fapm,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m345c/m3,m4c/m3,m234c/m3,m345c/m3  m3,fm3,fapm,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m345c/m3,m4c/m3,m234c/m3,m345c/m3
  m4,fm4,fapm,m4c/m4,m234c/m4,m345c/m4,m5c/m4,m345c/m4,m5c/m4,m345c/m4  m4,fm4,fapm,m4c/m4,m234c/m4,m345c/m4,m5c/m4,m345c/m4,m5c/m4,m345c/m4
  m5,fm5,fapm,m5c/m5,m345c/m5,mic/m5  m5,fm5,fapm,m5c/m5,m345c/m5,mic/m5
  mi,mic/mi  mi,mic/mi
  ndiff,nsd,nwsd,hndif,hnsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,pdiff,psd,hpdif,hpsd,pdc/a,pdm12c/a,psc/a,psm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a  ndiff,nsd,nwsd,hndif,hnsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,pdiff,psd,hpdif,hpsd,pdc/a,pdm12c/a,psc/a,psm12c/a,hpdc/a,hpdm12c/a,hpsc/a,hpsm12c/a
  poly,fp,pp,pn,nfet,pfet,fet,hnfet,hpfet,hfet,fapm,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a  poly,fp,pp,pn,nfet,pfet,fet,hnfet,hpfet,hfet,fapm,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a
  gc  poly,fp,pp,pn,ndiff,hndif,pdiff,hpdif,nsd,nwsd,psd,hnsd,hpsd,hndif,hanres,hpdif,hapres,m1,fm1,fapm,m2c/m1,pdm12c/m1,ndm12c/m1,psm12c/m1,nsm12c/m1,pm12c/m1,m123c/m1,nwsm12c/m1,hpdm12c/m1,hndm12c/m1,hpsm12c/m1,hnsm12c/m1
  pbase  base,bc/a
  base  bc/a
  emit  emc/a
  gc  emit,base
  gv1  m1,fm1,fapm,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,m2,fm2,fapm,m3c/m2,m123c/m2,m234c/m2
  gv2  m2,fm2,fapm,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,fm3,fapm,m4c/m3,m234c/m3,m345c/m3
  gv3  m3,fm3,fapm,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m345c/m3,m4,fm4,fapm,m5c/m4,m345c/m4
  gv4  m4,fm4,fapm,m4c/m4,m234c/m4,m345c/m4,m5c/m4,m345c/m4,m5,fm5,fapm
  gvi  m5,fm5,fapm,m5c/m5,m345c/m5,mic/m5,mi
  pad  m1,fm1,m2,fm2,m3,fm3,m4,fm4,m5,fm5
  rm1  prm1
  rm2  prm2
  rm3  prm3
  rm4  prm4
  rm5  prm5
  rmi  prmi
  rnw  prnw
  nwr  pnwr
  rp  prp
  rnd  prnd
  rpd  prpd
  pres  sb
  anres  sb
  apres  sb
  hanres  sb
  hapres  sb
end

cifoutput

style  CIFCHECK:dummy-style-for-cif-check-rules-only-NOT-FOR-CIF!
 scalefactor  15 calmaonly

 layer CWN nwell,hnwell,rnw,nwr,nwsd,nwsc
 bloat-or pbase,emit,base,emc/a,bc/a * 90
 bloat-or pdiff,apres,rpd,hpdif,hapres,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,pfet,hpfet * 90
 bloat-or nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a,coll,clc * 45
 bloat-or nfi * 60
 grow 45
 shrink 45
 labels nwell,hnwell,rnw,nwr,nwsd,nwsc
 calma 42 0

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

 layer CWND nwr
 labels nwr
 calma 92 0

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

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

 templayer TNWR
 bloat-or nwr * 105 nwsd,nwsc 45

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

 layer CRNW pnwr
 labels pnwr
 calma 93 0

 layer CWP pwell,hpwell
 bloat-or ndiff,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nfet,hnfet * 90
 bloat-or psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a * 45
 bloat-or pfi * 60
 grow 45
 shrink 45
 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*30) Or ps
#XDN = (ndiff*30) Or ns
#FSP = ((pdiff*30,psc*30) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*30,nsc*30) Or XDN And-Not FDP Or ns shrink-grow
#CSN = FSN
#CSP = FSP

#diffusion auto-nselect (will have priority)
 templayer XDN
 bloat-or ndiff,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a * 30 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 0
 bloat-or pn * 15 pp 0
 or TNS

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

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

#final nselect
 templayer FSN
 bloat-or ndiff,anres,rnd,nfet,nsd,nwsd,hndif,hanres,hnfet,hnsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,nfet,hnfet,coll,clc * 30 pdiff,apres,rpd,hpdif,hapres,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 emit,emc/a
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 18
 grow 18
 grow 18
 shrink 18

 layer CSN FSN
 calma 45 0

 layer CSP FSP
 calma 44 0


style  lambda=0.15(p)
 scalefactor  15 calmaonly

 layer CWN nwell,hnwell,rnw,nwr,nwsd,nwsc
 bloat-or pbase,emit,base,emc/a,bc/a * 90
 bloat-or pdiff,apres,rpd,hpdif,hapres,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,pfet,hpfet * 90
 bloat-or nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a,coll,clc * 45
 bloat-or nfi * 60
 grow 45
 shrink 45
 labels nwell,hnwell,rnw,nwr,nwsd,nwsc
 calma 42 0

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

 layer CWND nwr
 labels nwr
 calma 92 0

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

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

 templayer TNWR
 bloat-or nwr * 105 nwsd,nwsc 45

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

 layer CRNW pnwr
 labels pnwr
 calma 93 0

 layer CWP pwell,hpwell
 bloat-or ndiff,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nfet,hnfet * 90
 bloat-or psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a * 45
 bloat-or pfi * 60
 grow 45
 shrink 45
 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*30) Or ps
#XDN = (ndiff*30) Or ns
#FSP = ((pdiff*30,psc*30) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*30,nsc*30) Or XDN And-Not FDP Or ns shrink-grow
#CSN = FSN
#CSP = FSP

#diffusion auto-nselect (will have priority)
 templayer XDN
 bloat-or ndiff,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a * 30 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 0
 bloat-or pn * 15 pp 0
 or TNS

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

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

#final nselect
 templayer FSN
 bloat-or ndiff,anres,rnd,nfet,nsd,nwsd,hndif,hanres,hnfet,hnsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,nfet,hnfet,coll,clc * 30 pdiff,apres,rpd,hpdif,hapres,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 emit,emc/a
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 18
 grow 18
 grow 18
 shrink 18

 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,hanres,hnfet,hnsd,hpdif,hapres,hpfet,hpsd
 grow 60
 or to
 or hnwell,hpwell
 grow 30
 shrink 30
 labels hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,hpfet,hpsd,to
 calma 60 0

 layer CAA diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,clc
 labels diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,clc
 calma 43 0

 layer CCA nwsc/m1,nwsm12c/m1
 squares 30 30 45
 calma 48 0

 layer CCA ndc/m1,ndm12c/m1,hndc/m1,hndm12c/m1,nsc/m1,nsm12c/m1,hnsc/m1,hnsm12c/m1
 squares 15 30 45
 calma 48 0

 layer CCA pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1
 squares 15 30 45
 calma 48 0

 layer CPG poly,pp,pn,pres,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a
 labels poly,pp,pn,pres,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a
 calma 46 0

 layer CCP pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1
 squares 15 30 45
 calma 47 0

 layer CCC gc
 squares 0 30 45
 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 15 30 45
 calma 50 0

 layer CV1 gv1
 squares 0 30 45
 calma 50 0

 layer CV2 m3c/m2,m123c/m2,m234c/m2
 squares 15 30 45
 calma 61 0

 layer CV2 gv2
 squares 0 30 45
 calma 61 0

 layer CV3 m4c/m3,m234c/m3,m345c/m3
 squares 15 30 45
 calma 30 0

 layer CV3 gv3
 squares 0 30 45
 calma 30 0

 layer CV4 m5c/m4,m345c/m4
 squares 15 30 45
 calma 32 0

 layer CV4 gv4
 squares 0 30 45
 calma 32 0

 layer CV4 mic/mi
 squares 45 30 300
 calma 32 0

 layer CV4 gvi
 squares 0 30 300
 calma 32 0


 templayer XPAD1 pad
 shrink 90

 templayer XPAD2 XPAD1
 shrink 90

 layer CM5 pad
 labels pad
 calma 33 0

 layer CV4 XPAD2
 squares 120 30 150
 calma 32 0

 layer CM4 pad
 labels pad
 calma 31 0

 layer CV3 XPAD2
 squares 30 30 150
 calma 30 0

 layer CM3 pad
 labels pad
 calma 62 0

 layer CV2 XPAD2
 squares 120 30 150
 calma 61 0

 layer CM2 pad
 labels pad
 calma 51 0

 layer CV1 XPAD2
 squares 30 30 150
 calma 50 0

 layer CM1 pad
 calma 49 0

 layer CM1 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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/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
 labels 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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/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
 calma 49 0

 layer CM2 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,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 labels 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,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 100 fp
 labels fp
 calma 100 0

 layer 101 fm1
 labels fm1
 calma 101 0

 layer 102 fm2
 labels fm2
 calma 102 0

 layer 103 fm3
 labels fm3
 calma 103 0

 layer 104 fm4
 labels fm4
 calma 104 0

 layer 105 fm5
 labels fm5
 calma 105 0

 layer 109 fa
 or fb
 squares 0 210 60
 labels fa
 calma 109 0

 layer 119 fn
 calma 119 0

 layer 110 fapm
 labels fapm
 calma 110 0

# layer CPG fp
 layer CPG fp,fapm
 squares 0 210 60
 labels fp
 calma 46 0

# layer CM1 fm1
 layer CM1 fm1,fapm
 squares 0 210 60
 labels fm1
 calma 49 0

# layer CM2 fm2
 layer CM2 fm2,fapm

 squares 0 210 60
 labels fm2
 calma 51 0

# layer CM3 fm3
 layer CM3 fm3,fapm

 squares 0 210 60
 labels fm3
 calma 62 0

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

 layer CMTP m3p
 labels m3p
 calma 83 0

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

 layer CMQP m4p
 labels m4p
 calma 84 0

# layer CM4 fm4
 layer CM4 fm4,fapm

 squares 0 210 60
 labels fm4
 calma 31 0

 layer CM5 m5,rm5,m5c/m5,m345c/m5,mic/m5
 labels m5,rm5,m5c/m5,m345c/m5,mic/m5
 calma 33 0

 layer CMPP m5p
 labels m5p
 calma 85 0

# layer CM5 fm5
 layer CM5 fm5,fapm

 squares 0 210 60
 labels fm5
 calma 33 0

 layer CTM mi,mic/mi
 labels mi,mic/mi
 calma 35 0

 layer COG pad
 shrink 495
 labels pad
 calma 52 0

 layer COG glass
 labels glass
 calma 52 0

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

 layer CSB sb,pres,anres,apres,hanres,hapres
 labels sb,pres,anres,apres,hanres,hapres
 calma 29 0

 layer CBA pbase,emit,base,emc/a,bc/a
 labels pbase,emit,base,emc/a,bc/a
 calma 58 0

 layer CCA emc/a
 squares 45 30 45
 labels emc/a
 calma 48 0

 layer CCA bc/a
 squares 30 30 45
 labels bc/a
 calma 48 0

 layer CCA clc
 squares 30 30 45
 labels clc
 calma 48 0

#CRE/CRM
 layer CRW rnw,prnw
 labels rnw,prnw
 calma 65 0
 layer CRG rp,prp,pres
 labels rp,prp,pres
 calma 67 0
 layer CRD rnd,rpd,prnd,prpd,anres,apres,hanres,hapres
 labels rnd,rpd,prnd,prpd,anres,apres,hanres,hapres
 calma 66 0
 layer CRE rnw,rp,rnd,rpd,pres,anres,apres,hanres,hapres
 labels rnw,rp,rnd,rpd,pres,anres,apres,hanres,hapres
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRT rm3,prm3
 labels rm3,prm3
 calma 73 0
 layer CRQ rm4,prm4
 labels rm4,prm4
 calma 74 0
 layer CRP rm5,prm5
 labels rm5,prm5
 calma 75 0
 layer CRI rmi,prmi
 labels rmi,prmi
 calma 79 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3,rm4,prm4,rm5,prm5,rmi,prmi
#CRE/CRM calma 70 0

 layer CX comment
 labels comment
 calma 63 0

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

style  fill-only
 scalefactor  15 calmaonly

 layer 100 fp
 calma 100 0

 layer 101 fm1
 calma 101 0

 layer 102 fm2
 calma 102 0

 layer 103 fm3
 calma 103 0

 layer 104 fm4
 calma 104 0

 layer 105 fm5
 calma 105 0

 layer 109 fa
 or fb
 calma 109 0

 layer 119 fn
 calma 119 0

style fapm-boxes

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

 scalefactor  15 calmaonly

 templayer CRIT fapm,fn,diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,clc,poly,pp,pn,pres,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a
 or fm1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/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
 or fm2,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,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 or fm3,m3,rm3,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m345c/m3,m4c/m3,m234c/m3,m345c/m3
 or fm4,m4,rm4,m4c/m4,m234c/m4,m345c/m4,m5c/m4,m345c/m4,m5c/m4,m345c/m4
 or fm5,m5,rm5,m5c/m5,m345c/m5,mic/m5
 or glass,pad
 grow 500
 and fa

 layer 110 fa
 squares 0 210 60
 and-not CRIT
 shrink 95
 grow 95
 or fapm
 labels fapm
 calma 110 0

style fapm-stripes
 scalefactor  15 calmaonly

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

 templayer CRIT fapm,fn,diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,clc,poly,pp,pn,pres,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a
 or fm1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/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
 or fm2,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,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 or fm3,m3,rm3,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m234c/m3,m345c/m3,m4c/m3,m234c/m3,m345c/m3
 or fm4,m4,rm4,m4c/m4,m234c/m4,m345c/m4,m5c/m4,m345c/m4,m5c/m4,m345c/m4
 or fm5,m5,rm5,m5c/m5,m345c/m5,mic/m5
 or glass,pad
 grow 500
 and fa

 templayer FB fa
 or fb
 squares 0 210 60
 and-not CRIT

 layer 110 fa
 squares 0 210 60
 and-not CRIT
 or FB
 shrink 95
 grow 95
 or fapm
 labels fapm
 calma 110 0


style  lambda=0.15(cp)
 scalefactor  15 calmaonly

 layer CWN nwell,hnwell,rnw,nwr,nwsd,nwsc
 bloat-or pbase,emit,base,emc/a,bc/a * 90
 bloat-or pdiff,apres,rpd,hpdif,hapres,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,pfet,hpfet * 90
 bloat-or nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a,coll,clc * 45
 bloat-or nfi * 60
 grow 45
 shrink 45
 labels nwell,hnwell,rnw,nwr,nwsd,nwsc
 calma 42 0

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

 layer CWND nwr
 labels nwr
 calma 92 0

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

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

 templayer TNWR
 bloat-or nwr * 105 nwsd,nwsc 45

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

 layer CRNW pnwr
 labels pnwr
 calma 93 0

 layer CWP pwell,hpwell
 bloat-or ndiff,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nfet,hnfet * 90
 bloat-or psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a * 45
 bloat-or pfi * 60
 grow 45
 shrink 45
 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*30) Or ps
#XDN = (ndiff*30) Or ns
#FSP = ((pdiff*30,psc*30) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*30,nsc*30) Or XDN And-Not FDP Or ns shrink-grow
#CSN = FSN
#CSP = FSP

#diffusion auto-nselect (will have priority)
 templayer XDN
 bloat-or ndiff,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a * 30 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 0
 bloat-or pn * 15 pp 0
 or TNS

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

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

#final nselect
 templayer FSN
 bloat-or ndiff,anres,rnd,nfet,nsd,nwsd,hndif,hanres,hnfet,hnsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,nfet,hnfet,coll,clc * 30 pdiff,apres,rpd,hpdif,hapres,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 emit,emc/a
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 18
 grow 18
 grow 18
 shrink 18

 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,hanres,hnfet,hnsd,hpdif,hapres,hpfet,hpsd
 grow 60
 or to
 or hnwell,hpwell
 grow 30
 shrink 30
 labels hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,hpfet,hpsd,to
 calma 60 0

 layer CAA diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,clc
 labels diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,clc
 calma 43 0

 layer CCC nwsc/m1,nwsm12c/m1
 squares 30 30 45
 calma 25 0

 layer CCC ndc/m1,ndm12c/m1,hndc/m1,hndm12c/m1,nsc/m1,nsm12c/m1,hnsc/m1,hnsm12c/m1
 squares 15 30 45
 calma 25 0

 layer CCC pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1
 squares 15 30 45
 calma 25 0

 layer CPG poly,pp,pn,pres,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a
 labels poly,pp,pn,pres,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a
 calma 46 0

 layer CCC pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1
 squares 15 30 45
 calma 25 0

 layer CCC gc
 squares 0 30 45
 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 15 30 45
 calma 50 0

 layer CV1 gv1
 squares 0 30 45
 calma 50 0

 layer CV2 m3c/m2,m123c/m2,m234c/m2
 squares 15 30 45
 calma 61 0

 layer CV2 gv2
 squares 0 30 45
 calma 61 0

 layer CV3 m4c/m3,m234c/m3,m345c/m3
 squares 15 30 45
 calma 30 0

 layer CV3 gv3
 squares 0 30 45
 calma 30 0

 layer CV4 m5c/m4,m345c/m4
 squares 15 30 45
 calma 32 0

 layer CV4 gv4
 squares 0 30 45
 calma 32 0

 layer CV4 mic/mi
 squares 45 30 300
 calma 32 0

 layer CV4 gvi
 squares 0 30 300
 calma 32 0


 templayer XPAD1 pad
 shrink 90

 templayer XPAD2 XPAD1
 shrink 90

 layer CM5 pad
 labels pad
 calma 33 0

 layer CV4 XPAD2
 squares 120 30 150
 calma 32 0

 layer CM4 pad
 labels pad
 calma 31 0

 layer CV3 XPAD2
 squares 30 30 150
 calma 30 0

 layer CM3 pad
 labels pad
 calma 62 0

 layer CV2 XPAD2
 squares 120 30 150
 calma 61 0

 layer CM2 pad
 labels pad
 calma 51 0

 layer CV1 XPAD2
 squares 30 30 150
 calma 50 0

 layer CM1 pad
 calma 49 0

 layer CM1 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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/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
 labels 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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/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
 calma 49 0

 layer CM2 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,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 labels 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,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 100 fp
 labels fp
 calma 100 0

 layer 101 fm1
 labels fm1
 calma 101 0

 layer 102 fm2
 labels fm2
 calma 102 0

 layer 103 fm3
 labels fm3
 calma 103 0

 layer 104 fm4
 labels fm4
 calma 104 0

 layer 105 fm5
 labels fm5
 calma 105 0

 layer 109 fa
 or fb
 squares 0 210 60
 labels fa
 calma 109 0

 layer 119 fn
 calma 119 0

 layer 110 fapm
 labels fapm
 calma 110 0

# layer CPG fp
 layer CPG fp,fapm
 squares 0 210 60
 labels fp
 calma 46 0

# layer CM1 fm1
 layer CM1 fm1,fapm
 squares 0 210 60
 labels fm1
 calma 49 0

# layer CM2 fm2
 layer CM2 fm2,fapm

 squares 0 210 60
 labels fm2
 calma 51 0

# layer CM3 fm3
 layer CM3 fm3,fapm

 squares 0 210 60
 labels fm3
 calma 62 0

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

 layer CMTP m3p
 labels m3p
 calma 83 0

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

 layer CMQP m4p
 labels m4p
 calma 84 0

# layer CM4 fm4
 layer CM4 fm4,fapm

 squares 0 210 60
 labels fm4
 calma 31 0

 layer CM5 m5,rm5,m5c/m5,m345c/m5,mic/m5
 labels m5,rm5,m5c/m5,m345c/m5,mic/m5
 calma 33 0

 layer CMPP m5p
 labels m5p
 calma 85 0

# layer CM5 fm5
 layer CM5 fm5,fapm

 squares 0 210 60
 labels fm5
 calma 33 0

 layer CTM mi,mic/mi
 labels mi,mic/mi
 calma 35 0

 layer COG pad
 shrink 495
 labels pad
 calma 52 0

 layer COG glass
 labels glass
 calma 52 0

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

 layer CSB sb,pres,anres,apres,hanres,hapres
 labels sb,pres,anres,apres,hanres,hapres
 calma 29 0

 layer CBA pbase,emit,base,emc/a,bc/a
 labels pbase,emit,base,emc/a,bc/a
 calma 58 0

 layer CCC emc/a
 squares 45 30 45
 labels emc/a
 calma 25 0

 layer CCC bc/a
 squares 30 30 45
 labels bc/a
 calma 25 0

 layer CCC clc
 squares 30 30 45
 labels clc
 calma 25 0

#CRE/CRM
 layer CRW rnw,prnw
 labels rnw,prnw
 calma 65 0
 layer CRG rp,prp,pres
 labels rp,prp,pres
 calma 67 0
 layer CRD rnd,rpd,prnd,prpd,anres,apres,hanres,hapres
 labels rnd,rpd,prnd,prpd,anres,apres,hanres,hapres
 calma 66 0
 layer CRE rnw,rp,rnd,rpd,pres,anres,apres,hanres,hapres
 labels rnw,rp,rnd,rpd,pres,anres,apres,hanres,hapres
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRT rm3,prm3
 labels rm3,prm3
 calma 73 0
 layer CRQ rm4,prm4
 labels rm4,prm4
 calma 74 0
 layer CRP rm5,prm5
 labels rm5,prm5
 calma 75 0
 layer CRI rmi,prmi
 labels rmi,prmi
 calma 79 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3,rm4,prm4,rm5,prm5,rmi,prmi
#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.15(c)
 scalefactor  15 calmaonly

 layer CWN nwell,hnwell,rnw,nwr,nwsd,nwsc
 bloat-or pbase,emit,base,emc/a,bc/a * 90
 bloat-or pdiff,apres,rpd,hpdif,hapres,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,pfet,hpfet * 90
 bloat-or nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a,coll,clc * 45
 bloat-or nfi * 60
 grow 45
 shrink 45
 labels nwell,hnwell,rnw,nwr,nwsd,nwsc
 calma 42 0

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

 layer CWND nwr
 labels nwr
 calma 92 0

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

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

 templayer TNWR
 bloat-or nwr * 105 nwsd,nwsc 45

 templayer TCSB nwsd,nwsc
 grow 30
 and-not TNWR
 
 layer CSB nwsd,nwsc,nwr
 grow 135
 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*30) Or ps
#XDN = (ndiff*30) Or ns
#FSP = ((pdiff*30,psc*30) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*30,nsc*30) Or XDN And-Not FDP Or ns shrink-grow
#CSN = FSN
#CSP = FSP

#diffusion auto-nselect (will have priority)
 templayer XDN
 bloat-or ndiff,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a * 30 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 0
 bloat-or pn * 15 pp 0
 or TNS

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

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

#final nselect
 templayer FSN
 bloat-or ndiff,anres,rnd,nfet,nsd,nwsd,hndif,hanres,hnfet,hnsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,nfet,hnfet,coll,clc * 30 pdiff,apres,rpd,hpdif,hapres,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 emit,emc/a
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 18
 grow 18
 grow 18
 shrink 18

 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,hanres,hnfet,hnsd,hpdif,hapres,hpfet,hpsd
 grow 60
 or to
 or hnwell,hpwell
 grow 30
 shrink 30
 labels hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,hpfet,hpsd,to
 calma 60 0

 layer CAA diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,clc
 labels diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,clc
 calma 43 0

 layer CCC nwsc/m1,nwsm12c/m1
 squares 30 30 45
 calma 25 0

 layer CCC ndc/m1,ndm12c/m1,hndc/m1,hndm12c/m1,nsc/m1,nsm12c/m1,hnsc/m1,hnsm12c/m1
 squares 15 30 45
 calma 25 0

 layer CCC pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1
 squares 15 30 45
 calma 25 0

 layer CPG poly,pp,pn,pres,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a
 labels poly,pp,pn,pres,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a
 calma 46 0

 layer CCC pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1
 squares 15 30 45
 calma 25 0

 layer CCC gc
 squares 0 30 45
 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 15 30 45
 calma 50 0

 layer CV1 gv1
 squares 0 30 45
 calma 50 0

 layer CV2 m3c/m2,m123c/m2,m234c/m2
 squares 15 30 45
 calma 61 0

 layer CV2 gv2
 squares 0 30 45
 calma 61 0

 layer CV3 m4c/m3,m234c/m3,m345c/m3
 squares 15 30 45
 calma 30 0

 layer CV3 gv3
 squares 0 30 45
 calma 30 0

 layer CV4 m5c/m4,m345c/m4
 squares 15 30 45
 calma 32 0

 layer CV4 gv4
 squares 0 30 45
 calma 32 0

 layer CV4 mic/mi
 squares 45 30 300
 calma 32 0

 layer CV4 gvi
 squares 0 30 300
 calma 32 0


 templayer XPAD1 pad
 shrink 90

 templayer XPAD2 XPAD1
 shrink 90

 layer CM5 pad
 labels pad
 calma 33 0

 layer CV4 XPAD2
 squares 120 30 150
 calma 32 0

 layer CM4 pad
 labels pad
 calma 31 0

 layer CV3 XPAD2
 squares 30 30 150
 calma 30 0

 layer CM3 pad
 labels pad
 calma 62 0

 layer CV2 XPAD2
 squares 120 30 150
 calma 61 0

 layer CM2 pad
 labels pad
 calma 51 0

 layer CV1 XPAD2
 squares 30 30 150
 calma 50 0

 layer CM1 pad
 calma 49 0

 layer CM1 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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/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
 labels 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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/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
 calma 49 0

 layer CM2 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,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 labels 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,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 100 fp
 labels fp
 calma 100 0

 layer 101 fm1
 labels fm1
 calma 101 0

 layer 102 fm2
 labels fm2
 calma 102 0

 layer 103 fm3
 labels fm3
 calma 103 0

 layer 104 fm4
 labels fm4
 calma 104 0

 layer 105 fm5
 labels fm5
 calma 105 0

 layer 109 fa
 or fb
 squares 0 210 60
 labels fa
 calma 109 0

 layer 119 fn
 calma 119 0

 layer 110 fapm
 labels fapm
 calma 110 0

# layer CPG fp
 layer CPG fp,fapm
 squares 0 210 60
 labels fp
 calma 46 0

# layer CM1 fm1
 layer CM1 fm1,fapm
 squares 0 210 60
 labels fm1
 calma 49 0

# layer CM2 fm2
 layer CM2 fm2,fapm

 squares 0 210 60
 labels fm2
 calma 51 0

# layer CM3 fm3
 layer CM3 fm3,fapm

 squares 0 210 60
 labels fm3
 calma 62 0

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

 layer CMTP m3p
 labels m3p
 calma 83 0

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

 layer CMQP m4p
 labels m4p
 calma 84 0

# layer CM4 fm4
 layer CM4 fm4,fapm

 squares 0 210 60
 labels fm4
 calma 31 0

 layer CM5 m5,rm5,m5c/m5,m345c/m5,mic/m5
 labels m5,rm5,m5c/m5,m345c/m5,mic/m5
 calma 33 0

 layer CMPP m5p
 labels m5p
 calma 85 0

# layer CM5 fm5
 layer CM5 fm5,fapm

 squares 0 210 60
 labels fm5
 calma 33 0

 layer CTM mi,mic/mi
 labels mi,mic/mi
 calma 35 0

 layer COG pad
 shrink 495
 labels pad
 calma 52 0

 layer COG glass
 labels glass
 calma 52 0

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

 layer CSB sb,pres,anres,apres,hanres,hapres
 labels sb,pres,anres,apres,hanres,hapres
 calma 29 0

 layer CBA pbase,emit,base,emc/a,bc/a
 labels pbase,emit,base,emc/a,bc/a
 calma 58 0

 layer CCC emc/a
 squares 45 30 45
 labels emc/a
 calma 25 0

 layer CCC bc/a
 squares 30 30 45
 labels bc/a
 calma 25 0

 layer CCC clc
 squares 30 30 45
 labels clc
 calma 25 0

#CRE/CRM
 layer CRW rnw,prnw
 labels rnw,prnw
 calma 65 0
 layer CRG rp,prp,pres
 labels rp,prp,pres
 calma 67 0
 layer CRD rnd,rpd,prnd,prpd,anres,apres,hanres,hapres
 labels rnd,rpd,prnd,prpd,anres,apres,hanres,hapres
 calma 66 0
 layer CRE rnw,rp,rnd,rpd,pres,anres,apres,hanres,hapres
 labels rnw,rp,rnd,rpd,pres,anres,apres,hanres,hapres
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRT rm3,prm3
 labels rm3,prm3
 calma 73 0
 layer CRQ rm4,prm4
 labels rm4,prm4
 calma 74 0
 layer CRP rm5,prm5
 labels rm5,prm5
 calma 75 0
 layer CRI rmi,prmi
 labels rmi,prmi
 calma 79 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3,rm4,prm4,rm5,prm5,rmi,prmi
#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.15()
 scalefactor  15 calmaonly

 layer CWN nwell,hnwell,rnw,nwr,nwsd,nwsc
 bloat-or pbase,emit,base,emc/a,bc/a * 90
 bloat-or pdiff,apres,rpd,hpdif,hapres,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,pfet,hpfet * 90
 bloat-or nsd,hnsd,nsc/a,nsm12c/a,hnsc/a,hnsm12c/a,coll,clc * 45
 bloat-or nfi * 60
 grow 45
 shrink 45
 labels nwell,hnwell,rnw,nwr,nwsd,nwsc
 calma 42 0

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

 layer CWND nwr
 labels nwr
 calma 92 0

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

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

 templayer TNWR
 bloat-or nwr * 105 nwsd,nwsc 45

 templayer TCSB nwsd,nwsc
 grow 30
 and-not TNWR
 
 layer CSB nwsd,nwsc,nwr
 grow 135
 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*30) Or ps
#XDN = (ndiff*30) Or ns
#FSP = ((pdiff*30,psc*30) Or XDP And-Not XDN Or ps shrink-grow
#FSN = ((ndiff*30,nsc*30) Or XDN And-Not FDP Or ns shrink-grow
#CSN = FSN
#CSP = FSP

#diffusion auto-nselect (will have priority)
 templayer XDN
 bloat-or ndiff,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a * 30 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 0
 bloat-or pn * 15 pp 0
 or TNS

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

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

#final nselect
 templayer FSN
 bloat-or ndiff,anres,rnd,nfet,nsd,nwsd,hndif,hanres,hnfet,hnsd,ndc/a,ndm12c/a,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hndc/a,hndm12c/a,hnsc/a,hnsm12c/a,nfet,hnfet,coll,clc * 30 pdiff,apres,rpd,hpdif,hapres,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 emit,emc/a
 or XDN
#never conflict with final pselect
 and-not FSP
#drawn select always goes
 or TNS
 shrink 18
 grow 18
 grow 18
 shrink 18

 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,hanres,hnfet,hnsd,hpdif,hapres,hpfet,hpsd
 grow 60
 or to
 or hnwell,hpwell
 grow 30
 shrink 30
 labels hndc/m1,hndm12c/m1,hnsc/m1,hnsm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,hpfet,hpsd,to
 calma 60 0

 layer CAA diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,clc
 labels diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,clc
 calma 43 0

 layer CCA nwsc/m1,nwsm12c/m1
 squares 30 30 45
 calma 48 0

 layer CCA ndc/m1,ndm12c/m1,hndc/m1,hndm12c/m1,nsc/m1,nsm12c/m1,hnsc/m1,hnsm12c/m1
 squares 15 30 45
 calma 48 0

 layer CCA pdc/m1,pdm12c/m1,psc/m1,psm12c/m1,hpdc/m1,hpdm12c/m1,hpsc/m1,hpsm12c/m1
 squares 15 30 45
 calma 48 0

 layer CPG poly,pp,pn,pres,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a
 labels poly,pp,pn,pres,rp,nfet,pfet,fet,hnfet,hpfet,hfet,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a
 calma 46 0

 layer CCP pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1
 squares 15 30 45
 calma 47 0

 layer CCC gc
 squares 0 30 45
 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 15 30 45
 calma 50 0

 layer CV1 gv1
 squares 0 30 45
 calma 50 0

 layer CV2 m3c/m2,m123c/m2,m234c/m2
 squares 15 30 45
 calma 61 0

 layer CV2 gv2
 squares 0 30 45
 calma 61 0

 layer CV3 m4c/m3,m234c/m3,m345c/m3
 squares 15 30 45
 calma 30 0

 layer CV3 gv3
 squares 0 30 45
 calma 30 0

 layer CV4 m5c/m4,m345c/m4
 squares 15 30 45
 calma 32 0

 layer CV4 gv4
 squares 0 30 45
 calma 32 0

 layer CV4 mic/mi
 squares 45 30 300
 calma 32 0

 layer CV4 gvi
 squares 0 30 300
 calma 32 0


 templayer XPAD1 pad
 shrink 90

 templayer XPAD2 XPAD1
 shrink 90

 layer CM5 pad
 labels pad
 calma 33 0

 layer CV4 XPAD2
 squares 120 30 150
 calma 32 0

 layer CM4 pad
 labels pad
 calma 31 0

 layer CV3 XPAD2
 squares 30 30 150
 calma 30 0

 layer CM3 pad
 labels pad
 calma 62 0

 layer CV2 XPAD2
 squares 120 30 150
 calma 61 0

 layer CM2 pad
 labels pad
 calma 51 0

 layer CV1 XPAD2
 squares 30 30 150
 calma 50 0

 layer CM1 pad
 calma 49 0

 layer CM1 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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/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
 labels 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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/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
 calma 49 0

 layer CM2 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,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2
 labels 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,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 100 fp
 labels fp
 calma 100 0

 layer 101 fm1
 labels fm1
 calma 101 0

 layer 102 fm2
 labels fm2
 calma 102 0

 layer 103 fm3
 labels fm3
 calma 103 0

 layer 104 fm4
 labels fm4
 calma 104 0

 layer 105 fm5
 labels fm5
 calma 105 0

 layer 109 fa
 or fb
 squares 0 210 60
 labels fa
 calma 109 0

 layer 119 fn
 calma 119 0

 layer 110 fapm
 labels fapm
 calma 110 0

# layer CPG fp
 layer CPG fp,fapm
 squares 0 210 60
 labels fp
 calma 46 0

# layer CM1 fm1
 layer CM1 fm1,fapm
 squares 0 210 60
 labels fm1
 calma 49 0

# layer CM2 fm2
 layer CM2 fm2,fapm

 squares 0 210 60
 labels fm2
 calma 51 0

# layer CM3 fm3
 layer CM3 fm3,fapm

 squares 0 210 60
 labels fm3
 calma 62 0

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

 layer CMTP m3p
 labels m3p
 calma 83 0

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

 layer CMQP m4p
 labels m4p
 calma 84 0

# layer CM4 fm4
 layer CM4 fm4,fapm

 squares 0 210 60
 labels fm4
 calma 31 0

 layer CM5 m5,rm5,m5c/m5,m345c/m5,mic/m5
 labels m5,rm5,m5c/m5,m345c/m5,mic/m5
 calma 33 0

 layer CMPP m5p
 labels m5p
 calma 85 0

# layer CM5 fm5
 layer CM5 fm5,fapm

 squares 0 210 60
 labels fm5
 calma 33 0

 layer CTM mi,mic/mi
 labels mi,mic/mi
 calma 35 0

 layer COG pad
 shrink 495
 labels pad
 calma 52 0

 layer COG glass
 labels glass
 calma 52 0

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

 layer CSB sb,pres,anres,apres,hanres,hapres
 labels sb,pres,anres,apres,hanres,hapres
 calma 29 0

 layer CBA pbase,emit,base,emc/a,bc/a
 labels pbase,emit,base,emc/a,bc/a
 calma 58 0

 layer CCA emc/a
 squares 45 30 45
 labels emc/a
 calma 48 0

 layer CCA bc/a
 squares 30 30 45
 labels bc/a
 calma 48 0

 layer CCA clc
 squares 30 30 45
 labels clc
 calma 48 0

#CRE/CRM
 layer CRW rnw,prnw
 labels rnw,prnw
 calma 65 0
 layer CRG rp,prp,pres
 labels rp,prp,pres
 calma 67 0
 layer CRD rnd,rpd,prnd,prpd,anres,apres,hanres,hapres
 labels rnd,rpd,prnd,prpd,anres,apres,hanres,hapres
 calma 66 0
 layer CRE rnw,rp,rnd,rpd,pres,anres,apres,hanres,hapres
 labels rnw,rp,rnd,rpd,pres,anres,apres,hanres,hapres
 calma 64 0
 layer CRF rm1,prm1
 labels rm1,prm1
 calma 71 0
 layer CRS rm2,prm2
 labels rm2,prm2
 calma 72 0
 layer CRT rm3,prm3
 labels rm3,prm3
 calma 73 0
 layer CRQ rm4,prm4
 labels rm4,prm4
 calma 74 0
 layer CRP rm5,prm5
 labels rm5,prm5
 calma 75 0
 layer CRI rmi,prmi
 labels rmi,prmi
 calma 79 0
#CRE/CRM layer CRM rm1,prm1,rm2,prm2,rm3,prm3,rm4,prm4,rm5,prm5,rmi,prmi
#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.15(p)
 scalefactor  15

 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 105
 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 CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hnsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpdc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpsc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer ndc CAA
 and CSN
 and CCA
 and-not CTA
 and-not CV1
 and-not CWNR
 and-not CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer nsc CAA
 and CSN
 and CCA
 and-not CTA
 and-not CV1
 and-not CWNR
 and-not CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer nwsc CAA
 and CSN
 and-not CTA
 and-not CV1
 and CWNR
 shrink 105
 and-not CTA
 and CCA
 and-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer pdc CAA
 and CSP
 and CCA
 and-not CTA
 and-not CV1
 and-not CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer psc CAA
 and CSP
 and CCA
 and-not CTA
 and-not CV1
 and-not CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hnsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpsc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CV3
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and CWNR
 shrink 105
 and-not CTA
 and CCA
 and-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 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-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hnsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hnsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hpdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hpdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hpsc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and CWNR
 shrink 105
 and-not CTA
 and CCA
 and-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer pdc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer pc CCC
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 15
 and CM1
 grow 8
 shrink 8
 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 15
 and CM1
 grow 8
 shrink 8
 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 15
 and CM1
 grow 8
 shrink 8
 calma CCC 25 *

 layer pc CCP
 and CV1
 and CV2
 and CV3
 and CV4
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 15
 and CM1
 grow 8
 shrink 8
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 15
 and CM1
 grow 8
 shrink 8
 calma CCC 25 *

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

 layer gc CCP
 and-not CM1
 calma CCP 47 *

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

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

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

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

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

 layer gc CCE
 and-not CM1
 calma CCE 55 *

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

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

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

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

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

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

 layer gv4 CV4
 and-not CTM
 and-not COP
 and-not CM4
 calma CV4 32 *

 layer gv4 CV4
 and-not CTM
 and-not COP
 and-not CM5
 calma CV4 32 *

 layer gvi CV4
 and CTM
 and-not COP
 and-not CM5
 calma CV4 32 *

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

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

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

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

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

 layer pm12c CV1
 and CV2
 and CV3
 and-not CV4
 and CCC
 grow 15
 and CM2
 and CM1
 and CPG
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and-not CWN
 grow 10
 shrink 10
 calma CV1 50 *

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

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

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

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

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

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

 layer hpsm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCC
 grow 15
 and CM1
 and CM2
 and-not CBA
 and-not CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and-not CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 grow 10
 shrink 10
 calma CV1 50 *

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

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCC
 grow 15
 and CM1
 and CM2
 and-not CBA
 and CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and CWN
 grow 10
 shrink 10
 calma CV1 50 *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fm4 104
 calma 104 104 *

 layer fm5 105
 calma 105 105 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

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

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

 layer m123c CV2
 and-not CV3
 and CV1
 and-not XP
 grow 15
 and CM3
 and CM2
 and CM1
 grow 10
 shrink 10
 calma CV2 61 *

 layer m123c CV2
 and CV3
 and CV4
 and CV1
 and-not XP
 grow 15
 and CM3
 and CM2
 and CM1
 grow 10
 shrink 10
 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-not CV4
 and CV2
 and-not XP
 grow 15
 and CM4
 and CM3
 and CM2
 grow 15
 shrink 15
 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 CV4
 and-not CV2
 and-not XP
 grow 15
 and CM4
 and CM3
 grow 15
 shrink 15
 calma CV3 30 *

 layer m345c CV4
 and-not CTM
 and CV3

 and-not XP
 grow 15
 and CM5
 and CM4
 and CM3
 grow 15
 shrink 15
 calma CV4 32 *

 layer m5 CM5
 and-not CRM
 and-not CRP
 and-not XP
 labels CM5
 calma CM5 33 *

 layer rm5 CRM
 and CM5
 calma CRM 70 *

 layer rm5 CRP
 and CM5
 calma CRP 75 *

 layer pseudo_rmetal5 CRP
 and-not rm5
 calma CRP 75 *

 layer m5p CMPP
 labels CMPP
 calma CMPP 85 *

 layer m5c CV4
 and-not CTM

 and-not CV3
 and-not XP
 grow 15
 and CM5
 and CM4
 grow 15
 shrink 15
 calma CV4 32 *

 layer mi CTM
 and-not CRM
 and-not CRI
 and-not XP
 labels CTM
 calma CTM 35 *

 layer rmi CRM
 and CTM
 calma CRM 70 *

 layer rmi CRI
 and CTM
 calma CRI 79 *

 layer pseudo_rmetali CRI
 and-not rmi
 calma CRI 79 *

 layer mic CV4
 and CTM
 and-not XP
 grow 15
 and CTM
 and CM6
 grow 15
 shrink 15
 calma CV4 32 *

 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 sb CSB
 and-not CWNR
 labels CSB
 calma CSB 29 *

 layer pres CPG
 and CSB
 calma CPG 46 *

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

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

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

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

 layer pbase CBA
 labels CBA
 calma CBA 58 *

 layer base CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN

 layer emit CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN

 layer bc CCA
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN
 and CM1
 grow 30
 labels CBA
 calma CCA 48 *

 layer bc CCC
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN
 and CM1
 grow 30
 labels CBA
 calma CCC 25 *

 layer emc CCA
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN
 and CM1
 grow 45
 labels CBA
 calma CCA 48 *

 layer emc CCC
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN
 and CM1
 grow 45
 labels CBA
 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 CRP 75 *
 calma CRI 79 *
 calma CRM 70 *


style  lambda=0.15(s)
 scalefactor  15

 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 105
 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 CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hnsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpdc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpsc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer ndc CAA
 and CSN
 and CCA
 and-not CTA
 and-not CV1
 and-not CWNR
 and-not CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer nsc CAA
 and CSN
 and CCA
 and-not CTA
 and-not CV1
 and-not CWNR
 and-not CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer nwsc CAA
 and CSN
 and-not CTA
 and-not CV1
 and CWNR
 shrink 105
 and-not CTA
 and CCA
 and-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer pdc CAA
 and CSP
 and CCA
 and-not CTA
 and-not CV1
 and-not CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer psc CAA
 and CSP
 and CCA
 and-not CTA
 and-not CV1
 and-not CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hnsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpsc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CV3
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and CWNR
 shrink 105
 and-not CTA
 and CCA
 and-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 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-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hnsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hnsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hpdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hpdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hpsc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and CWNR
 shrink 105
 and-not CTA
 and CCA
 and-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer pdc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer pc CCC
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 15
 and CM1
 grow 8
 shrink 8
 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 15
 and CM1
 grow 8
 shrink 8
 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 15
 and CM1
 grow 8
 shrink 8
 calma CCC 25 *

 layer pc CCP
 and CV1
 and CV2
 and CV3
 and CV4
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 15
 and CM1
 grow 8
 shrink 8
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 15
 and CM1
 grow 8
 shrink 8
 calma CCC 25 *

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

 layer gc CCP
 and-not CM1
 calma CCP 47 *

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

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

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

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

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

 layer gc CCE
 and-not CM1
 calma CCE 55 *

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

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

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

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

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

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

 layer gv4 CV4
 and-not CTM
 and-not COP
 and-not CM4
 calma CV4 32 *

 layer gv4 CV4
 and-not CTM
 and-not COP
 and-not CM5
 calma CV4 32 *

 layer gvi CV4
 and CTM
 and-not COP
 and-not CM5
 calma CV4 32 *

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

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

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

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

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

 layer pm12c CV1
 and CV2
 and CV3
 and-not CV4
 and CCC
 grow 15
 and CM2
 and CM1
 and CPG
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and-not CWN
 grow 10
 shrink 10
 calma CV1 50 *

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

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

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

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

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

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

 layer hpsm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCC
 grow 15
 and CM1
 and CM2
 and-not CBA
 and-not CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and-not CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 grow 10
 shrink 10
 calma CV1 50 *

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

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCC
 grow 15
 and CM1
 and CM2
 and-not CBA
 and CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and CWN
 grow 10
 shrink 10
 calma CV1 50 *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fm4 104
 calma 104 104 *

 layer fm5 105
 calma 105 105 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

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

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

 layer m123c CV2
 and-not CV3
 and CV1
 and-not XP
 grow 15
 and CM3
 and CM2
 and CM1
 grow 10
 shrink 10
 calma CV2 61 *

 layer m123c CV2
 and CV3
 and CV4
 and CV1
 and-not XP
 grow 15
 and CM3
 and CM2
 and CM1
 grow 10
 shrink 10
 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-not CV4
 and CV2
 and-not XP
 grow 15
 and CM4
 and CM3
 and CM2
 grow 15
 shrink 15
 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 CV4
 and-not CV2
 and-not XP
 grow 15
 and CM4
 and CM3
 grow 15
 shrink 15
 calma CV3 30 *

 layer m345c CV4
 and-not CTM
 and CV3

 and-not XP
 grow 15
 and CM5
 and CM4
 and CM3
 grow 15
 shrink 15
 calma CV4 32 *

 layer m5 CM5
 and-not CRM
 and-not CRP
 and-not XP
 labels CM5
 calma CM5 33 *

 layer rm5 CRM
 and CM5
 calma CRM 70 *

 layer rm5 CRP
 and CM5
 calma CRP 75 *

 layer pseudo_rmetal5 CRP
 and-not rm5
 calma CRP 75 *

 layer m5p CMPP
 labels CMPP
 calma CMPP 85 *

 layer m5c CV4
 and-not CTM

 and-not CV3
 and-not XP
 grow 15
 and CM5
 and CM4
 grow 15
 shrink 15
 calma CV4 32 *

 layer mi CTM
 and-not CRM
 and-not CRI
 and-not XP
 labels CTM
 calma CTM 35 *

 layer rmi CRM
 and CTM
 calma CRM 70 *

 layer rmi CRI
 and CTM
 calma CRI 79 *

 layer pseudo_rmetali CRI
 and-not rmi
 calma CRI 79 *

 layer mic CV4
 and CTM
 and-not XP
 grow 15
 and CTM
 and CM6
 grow 15
 shrink 15
 calma CV4 32 *

 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 sb CSB
 and-not CWNR
 labels CSB
 calma CSB 29 *

 layer pres CPG
 and CSB
 calma CPG 46 *

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

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

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

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

 layer pbase CBA
 labels CBA
 calma CBA 58 *

 layer base CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN

 layer emit CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN

 layer bc CCA
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN
 and CM1
 grow 30
 labels CBA
 calma CCA 48 *

 layer bc CCC
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN
 and CM1
 grow 30
 labels CBA
 calma CCC 25 *

 layer emc CCA
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN
 and CM1
 grow 45
 labels CBA
 calma CCA 48 *

 layer emc CCC
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN
 and CM1
 grow 45
 labels CBA
 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 CRP 75 *
 calma CRI 79 *
 calma CRM 70 *


style  lambda=0.15(ps)
 scalefactor  15

 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 105
 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 CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hnsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpdc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpsc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer ndc CAA
 and CSN
 and CCA
 and-not CTA
 and-not CV1
 and-not CWNR
 and-not CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer nsc CAA
 and CSN
 and CCA
 and-not CTA
 and-not CV1
 and-not CWNR
 and-not CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer nwsc CAA
 and CSN
 and-not CTA
 and-not CV1
 and CWNR
 shrink 105
 and-not CTA
 and CCA
 and-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer pdc CAA
 and CSP
 and CCA
 and-not CTA
 and-not CV1
 and-not CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer psc CAA
 and CSP
 and CCA
 and-not CTA
 and-not CV1
 and-not CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hnsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpsc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CV3
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and CWNR
 shrink 105
 and-not CTA
 and CCA
 and-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 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-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hnsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hnsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hpdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hpdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hpsc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and CWNR
 shrink 105
 and-not CTA
 and CCA
 and-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer pdc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer pc CCC
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 15
 and CM1
 grow 8
 shrink 8
 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 15
 and CM1
 grow 8
 shrink 8
 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 15
 and CM1
 grow 8
 shrink 8
 calma CCC 25 *

 layer pc CCP
 and CV1
 and CV2
 and CV3
 and CV4
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 15
 and CM1
 grow 8
 shrink 8
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 15
 and CM1
 grow 8
 shrink 8
 calma CCC 25 *

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

 layer gc CCP
 and-not CM1
 calma CCP 47 *

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

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

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

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

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

 layer gc CCE
 and-not CM1
 calma CCE 55 *

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

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

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

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

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

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

 layer gv4 CV4
 and-not CTM
 and-not COP
 and-not CM4
 calma CV4 32 *

 layer gv4 CV4
 and-not CTM
 and-not COP
 and-not CM5
 calma CV4 32 *

 layer gvi CV4
 and CTM
 and-not COP
 and-not CM5
 calma CV4 32 *

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

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

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

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

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

 layer pm12c CV1
 and CV2
 and CV3
 and-not CV4
 and CCC
 grow 15
 and CM2
 and CM1
 and CPG
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and-not CWN
 grow 10
 shrink 10
 calma CV1 50 *

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

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

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

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

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

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

 layer hpsm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCC
 grow 15
 and CM1
 and CM2
 and-not CBA
 and-not CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and-not CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 grow 10
 shrink 10
 calma CV1 50 *

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

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCC
 grow 15
 and CM1
 and CM2
 and-not CBA
 and CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and CWN
 grow 10
 shrink 10
 calma CV1 50 *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fm4 104
 calma 104 104 *

 layer fm5 105
 calma 105 105 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

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

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

 layer m123c CV2
 and-not CV3
 and CV1
 and-not XP
 grow 15
 and CM3
 and CM2
 and CM1
 grow 10
 shrink 10
 calma CV2 61 *

 layer m123c CV2
 and CV3
 and CV4
 and CV1
 and-not XP
 grow 15
 and CM3
 and CM2
 and CM1
 grow 10
 shrink 10
 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-not CV4
 and CV2
 and-not XP
 grow 15
 and CM4
 and CM3
 and CM2
 grow 15
 shrink 15
 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 CV4
 and-not CV2
 and-not XP
 grow 15
 and CM4
 and CM3
 grow 15
 shrink 15
 calma CV3 30 *

 layer m345c CV4
 and-not CTM
 and CV3

 and-not XP
 grow 15
 and CM5
 and CM4
 and CM3
 grow 15
 shrink 15
 calma CV4 32 *

 layer m5 CM5
 and-not CRM
 and-not CRP
 and-not XP
 labels CM5
 calma CM5 33 *

 layer rm5 CRM
 and CM5
 calma CRM 70 *

 layer rm5 CRP
 and CM5
 calma CRP 75 *

 layer pseudo_rmetal5 CRP
 and-not rm5
 calma CRP 75 *

 layer m5p CMPP
 labels CMPP
 calma CMPP 85 *

 layer m5c CV4
 and-not CTM

 and-not CV3
 and-not XP
 grow 15
 and CM5
 and CM4
 grow 15
 shrink 15
 calma CV4 32 *

 layer mi CTM
 and-not CRM
 and-not CRI
 and-not XP
 labels CTM
 calma CTM 35 *

 layer rmi CRM
 and CTM
 calma CRM 70 *

 layer rmi CRI
 and CTM
 calma CRI 79 *

 layer pseudo_rmetali CRI
 and-not rmi
 calma CRI 79 *

 layer mic CV4
 and CTM
 and-not XP
 grow 15
 and CTM
 and CM6
 grow 15
 shrink 15
 calma CV4 32 *

 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 sb CSB
 and-not CWNR
 labels CSB
 calma CSB 29 *

 layer pres CPG
 and CSB
 calma CPG 46 *

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

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

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

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

 layer pbase CBA
 labels CBA
 calma CBA 58 *

 layer base CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN

 layer emit CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN

 layer bc CCA
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN
 and CM1
 grow 30
 labels CBA
 calma CCA 48 *

 layer bc CCC
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN
 and CM1
 grow 30
 labels CBA
 calma CCC 25 *

 layer emc CCA
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN
 and CM1
 grow 45
 labels CBA
 calma CCA 48 *

 layer emc CCC
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN
 and CM1
 grow 45
 labels CBA
 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 CRP 75 *
 calma CRI 79 *
 calma CRM 70 *


style  lambda=0.15()
 scalefactor  15

 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 105
 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 CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hnsc CAA
 and CSN
 and CCA
 and-not CV1
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpdc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpsc CAA
 and CSP
 and CCA
 and-not CV1
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer ndc CAA
 and CSN
 and CCA
 and-not CTA
 and-not CV1
 and-not CWNR
 and-not CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer nsc CAA
 and CSN
 and CCA
 and-not CTA
 and-not CV1
 and-not CWNR
 and-not CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer nwsc CAA
 and CSN
 and-not CTA
 and-not CV1
 and CWNR
 shrink 105
 and-not CTA
 and CCA
 and-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer pdc CAA
 and CSP
 and CCA
 and-not CTA
 and-not CV1
 and-not CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer psc CAA
 and CSP
 and CCA
 and-not CTA
 and-not CV1
 and-not CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hnsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and-not CV3
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer hpsc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and-not CV3
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and-not CV3
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and-not CV3
 and CWNR
 shrink 105
 and-not CTA
 and CCA
 and-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 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-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 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 CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hndc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hndc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hnsc CAA
 and CSN
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hnsc CAA
 and CSN
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hpdc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hpdc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer hpsc CAA
 and CSP
 and CCA
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer hpsc CAA
 and CSP
 and CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer ndc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer ndc CAA
 and CSN
 and CCC
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer nsc CAA
 and CSN
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer nsc CAA
 and CSN
 and CCC
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CWNR
 and-not CTA
 and-not CBA
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer nwsc CAA
 and CSN
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and CWNR
 shrink 105
 and-not CTA
 and CCA
 and-not CBA
 and CWN
 and CM1
 grow 30
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer pdc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

 layer pdc CAA
 and CSP
 and CCC
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CTA
 and-not CBA
 and-not CPS
 and CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCC 25 *

 layer psc CAA
 and CSP
 and CCA
 and-not CTA
 and CV1
 and CV2
 and CV3
 and CV4
 and-not CTA
 and-not CBA
 and-not CPS
 and-not CWN
 and CM1
 grow 15
 grow 8
 shrink 8
 calma CCA 48 *

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

 layer pc CCC
 and-not CV1
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 15
 and CM1
 grow 8
 shrink 8
 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 15
 and CM1
 grow 8
 shrink 8
 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 15
 and CM1
 grow 8
 shrink 8
 calma CCC 25 *

 layer pc CCP
 and CV1
 and CV2
 and CV3
 and CV4
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 15
 and CM1
 grow 8
 shrink 8
 calma CCP 47 *

 layer pc CCC
 and CV1
 and CV2
 and CV3
 and CV4
 and CPG
 and-not CPC
 and-not CEL
 and-not CAA
 grow 15
 and CM1
 grow 8
 shrink 8
 calma CCC 25 *

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

 layer gc CCP
 and-not CM1
 calma CCP 47 *

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

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

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

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

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

 layer gc CCE
 and-not CM1
 calma CCE 55 *

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

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

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

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

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

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

 layer gv4 CV4
 and-not CTM
 and-not COP
 and-not CM4
 calma CV4 32 *

 layer gv4 CV4
 and-not CTM
 and-not COP
 and-not CM5
 calma CV4 32 *

 layer gvi CV4
 and CTM
 and-not COP
 and-not CM5
 calma CV4 32 *

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

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

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

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

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

 layer pm12c CV1
 and CV2
 and CV3
 and-not CV4
 and CCC
 grow 15
 and CM2
 and CM1
 and CPG
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and-not CWN
 grow 10
 shrink 10
 calma CV1 50 *

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

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

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

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

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

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

 layer hpsm12c CAA
 and CSP
 and CV1
 and-not CV2
 and CTA
 and CCC
 grow 15
 and CM1
 and CM2
 and-not CBA
 and-not CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and-not CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 grow 10
 shrink 10
 calma CV1 50 *

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

 layer pdm12c CAA
 and CSP
 and CV1
 and-not CTA
 and-not CV2
 and-not CTA
 and CCC
 grow 15
 and CM1
 and CM2
 and-not CBA
 and CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and CWN
 grow 10
 shrink 10
 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 15
 and CM1
 and CM2
 and-not CBA
 and CWN
 grow 10
 shrink 10
 calma CV1 50 *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fm4 104
 calma 104 104 *

 layer fm5 105
 calma 105 105 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

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

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

 layer m123c CV2
 and-not CV3
 and CV1
 and-not XP
 grow 15
 and CM3
 and CM2
 and CM1
 grow 10
 shrink 10
 calma CV2 61 *

 layer m123c CV2
 and CV3
 and CV4
 and CV1
 and-not XP
 grow 15
 and CM3
 and CM2
 and CM1
 grow 10
 shrink 10
 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-not CV4
 and CV2
 and-not XP
 grow 15
 and CM4
 and CM3
 and CM2
 grow 15
 shrink 15
 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 CV4
 and-not CV2
 and-not XP
 grow 15
 and CM4
 and CM3
 grow 15
 shrink 15
 calma CV3 30 *

 layer m345c CV4
 and-not CTM
 and CV3

 and-not XP
 grow 15
 and CM5
 and CM4
 and CM3
 grow 15
 shrink 15
 calma CV4 32 *

 layer m5 CM5
 and-not CRM
 and-not CRP
 and-not XP
 labels CM5
 calma CM5 33 *

 layer rm5 CRM
 and CM5
 calma CRM 70 *

 layer rm5 CRP
 and CM5
 calma CRP 75 *

 layer pseudo_rmetal5 CRP
 and-not rm5
 calma CRP 75 *

 layer m5p CMPP
 labels CMPP
 calma CMPP 85 *

 layer m5c CV4
 and-not CTM

 and-not CV3
 and-not XP
 grow 15
 and CM5
 and CM4
 grow 15
 shrink 15
 calma CV4 32 *

 layer mi CTM
 and-not CRM
 and-not CRI
 and-not XP
 labels CTM
 calma CTM 35 *

 layer rmi CRM
 and CTM
 calma CRM 70 *

 layer rmi CRI
 and CTM
 calma CRI 79 *

 layer pseudo_rmetali CRI
 and-not rmi
 calma CRI 79 *

 layer mic CV4
 and CTM
 and-not XP
 grow 15
 and CTM
 and CM6
 grow 15
 shrink 15
 calma CV4 32 *

 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 sb CSB
 and-not CWNR
 labels CSB
 calma CSB 29 *

 layer pres CPG
 and CSB
 calma CPG 46 *

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

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

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

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

 layer pbase CBA
 labels CBA
 calma CBA 58 *

 layer base CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN

 layer emit CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN

 layer bc CCA
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN
 and CM1
 grow 30
 labels CBA
 calma CCA 48 *

 layer bc CCC
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN
 and CM1
 grow 30
 labels CBA
 calma CCC 25 *

 layer emc CCA
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN
 and CM1
 grow 45
 labels CBA
 calma CCA 48 *

 layer emc CCC
 and CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN
 and CM1
 grow 45
 labels CBA
 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 CRP 75 *
 calma CRI 79 *
 calma CRM 70 *


style  lambda=0.15(c)
 scalefactor  15

 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 105
 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 gc CCA
 and CPG
 and-not CEL
 calma CCA 48 *

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

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

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

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

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

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

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

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

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

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

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

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV1
 calma CV1 50 *

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

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fm4 104
 calma 104 104 *

 layer fm5 105
 calma 105 105 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 61 *

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

 layer rm3 CRM
 and CM3
 calma CRM 70 *

 layer rm3 CRT
 and CM3
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer 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 gv4 CV4
 and-not CTM
 calma CV4 32 *

 layer m5 CM5
 and-not CRM
 and-not CRP
 labels CM5
 calma CM5 33 *

 layer rm5 CRM
 and CM5
 calma CRM 70 *

 layer rm5 CRP
 and CM5
 calma CRP 75 *

 layer pseudo_rmetal5 CRP
 and-not rm5
 calma CRP 75 *

 layer m5p CMPP
 labels CMPP
 calma CMPP 85 *

 layer gvi CV4
 and CTM
 calma CV4 32 *

 layer mi CTM
 and-not CRM
 and-not CRI
 labels CTM
 calma CTM 35 *

 layer rmi CRM
 and CTM
 calma CRM 70 *

 layer rmi CRI
 and CTM
 calma CRI 79 *

 layer pseudo_rmetali CRI
 and-not rmi
 calma CRI 79 *

 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 sb CSB
 and-not CWNR
 labels CSB
 calma CSB 29 *

 layer pres CPG
 and CSB
 calma CPG 46 *

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

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

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

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

 layer pbase CBA
 labels CBA
 calma CBA 58 *

 layer base CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN

 layer emit CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN

 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 CRP 75 *
 calma CRI 79 *
 calma CRM 70 *


style  lambda=0.15(cs)
 scalefactor  15

 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 105
 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 gc CCA
 and CPG
 and-not CEL
 calma CCA 48 *

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

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

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

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

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

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

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

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

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

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

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

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV1
 calma CV1 50 *

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

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fm4 104
 calma 104 104 *

 layer fm5 105
 calma 105 105 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 61 *

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

 layer rm3 CRM
 and CM3
 calma CRM 70 *

 layer rm3 CRT
 and CM3
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer 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 gv4 CV4
 and-not CTM
 calma CV4 32 *

 layer m5 CM5
 and-not CRM
 and-not CRP
 labels CM5
 calma CM5 33 *

 layer rm5 CRM
 and CM5
 calma CRM 70 *

 layer rm5 CRP
 and CM5
 calma CRP 75 *

 layer pseudo_rmetal5 CRP
 and-not rm5
 calma CRP 75 *

 layer m5p CMPP
 labels CMPP
 calma CMPP 85 *

 layer gvi CV4
 and CTM
 calma CV4 32 *

 layer mi CTM
 and-not CRM
 and-not CRI
 labels CTM
 calma CTM 35 *

 layer rmi CRM
 and CTM
 calma CRM 70 *

 layer rmi CRI
 and CTM
 calma CRI 79 *

 layer pseudo_rmetali CRI
 and-not rmi
 calma CRI 79 *

 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 sb CSB
 and-not CWNR
 labels CSB
 calma CSB 29 *

 layer pres CPG
 and CSB
 calma CPG 46 *

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

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

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

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

 layer pbase CBA
 labels CBA
 calma CBA 58 *

 layer base CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN

 layer emit CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN

 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 CRP 75 *
 calma CRI 79 *
 calma CRM 70 *


style  lambda=0.15(cps)
 scalefactor  15

 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 105
 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 gc CCA
 and CPG
 and-not CEL
 calma CCA 48 *

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

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

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

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

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

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

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

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

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

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

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

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV1
 calma CV1 50 *

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

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fm4 104
 calma 104 104 *

 layer fm5 105
 calma 105 105 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 61 *

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

 layer rm3 CRM
 and CM3
 calma CRM 70 *

 layer rm3 CRT
 and CM3
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer 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 gv4 CV4
 and-not CTM
 calma CV4 32 *

 layer m5 CM5
 and-not CRM
 and-not CRP
 labels CM5
 calma CM5 33 *

 layer rm5 CRM
 and CM5
 calma CRM 70 *

 layer rm5 CRP
 and CM5
 calma CRP 75 *

 layer pseudo_rmetal5 CRP
 and-not rm5
 calma CRP 75 *

 layer m5p CMPP
 labels CMPP
 calma CMPP 85 *

 layer gvi CV4
 and CTM
 calma CV4 32 *

 layer mi CTM
 and-not CRM
 and-not CRI
 labels CTM
 calma CTM 35 *

 layer rmi CRM
 and CTM
 calma CRM 70 *

 layer rmi CRI
 and CTM
 calma CRI 79 *

 layer pseudo_rmetali CRI
 and-not rmi
 calma CRI 79 *

 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 sb CSB
 and-not CWNR
 labels CSB
 calma CSB 29 *

 layer pres CPG
 and CSB
 calma CPG 46 *

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

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

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

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

 layer pbase CBA
 labels CBA
 calma CBA 58 *

 layer base CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN

 layer emit CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN

 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 CRP 75 *
 calma CRI 79 *
 calma CRM 70 *


style  lambda=0.15(cp)
 scalefactor  15

 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 105
 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 gc CCA
 and CPG
 and-not CEL
 calma CCA 48 *

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

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

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

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

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

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

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

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

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

 layer rp CPG
 and CRG
 calma CPG 46 *

 layer pseudo_rpoly CRG
 and-not CRE
 calma CRG 67 *

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

 layer rm1 CRM
 and CM1
 calma CRM 70 *

 layer rm1 CRF
 and CM1
 calma CRF 71 *

 layer pseudo_rmetal1 CRF
 and-not rm1
 calma CRF 71 *

 layer m1p CMFP
 labels CMFP
 calma CMFP 81 *

 layer gv1 CV1
 calma CV1 50 *

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

 layer rm2 CRM
 and CM2
 calma CRM 70 *

 layer rm2 CRS
 and CM2
 calma CRS 72 *

 layer pseudo_rmetal2 CRS
 and-not rm2
 calma CRS 72 *

 layer m2p CMSP
 labels CMSP
 calma CMSP 82 *

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fm4 104
 calma 104 104 *

 layer fm5 105
 calma 105 105 *

 layer fa 109
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

 layer gv2 CV2
 calma CV2 61 *

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

 layer rm3 CRM
 and CM3
 calma CRM 70 *

 layer rm3 CRT
 and CM3
 calma CRT 73 *

 layer pseudo_rmetal3 CRT
 and-not rm3
 calma CRT 73 *

 layer m3p CMTP
 labels CMTP
 calma CMTP 83 *

 layer 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 gv4 CV4
 and-not CTM
 calma CV4 32 *

 layer m5 CM5
 and-not CRM
 and-not CRP
 labels CM5
 calma CM5 33 *

 layer rm5 CRM
 and CM5
 calma CRM 70 *

 layer rm5 CRP
 and CM5
 calma CRP 75 *

 layer pseudo_rmetal5 CRP
 and-not rm5
 calma CRP 75 *

 layer m5p CMPP
 labels CMPP
 calma CMPP 85 *

 layer gvi CV4
 and CTM
 calma CV4 32 *

 layer mi CTM
 and-not CRM
 and-not CRI
 labels CTM
 calma CTM 35 *

 layer rmi CRM
 and CTM
 calma CRM 70 *

 layer rmi CRI
 and CTM
 calma CRI 79 *

 layer pseudo_rmetali CRI
 and-not rmi
 calma CRI 79 *

 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 sb CSB
 and-not CWNR
 labels CSB
 calma CSB 29 *

 layer pres CPG
 and CSB
 calma CPG 46 *

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

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

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

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

 layer pbase CBA
 labels CBA
 calma CBA 58 *

 layer base CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSP
 and CWN

 layer emit CBA
 and-not CPG
 and-not CEL
 and-not CPC
 and CSN
 and CWN

 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 CRP 75 *
 calma CRI 79 *
 calma CRM 70 *

style  fill-only
 scalefactor  15
# scalefactor  100

 layer fp 100
 calma 100 100 *

 layer fm1 101
 calma 101 101 *

 layer fm2 102
 calma 102 102 *

 layer fm3 103
 calma 103 103 *

 layer fm4 104
 calma 104 104 *

 layer fm5 105
 calma 105 105 *

 layer fa 109
 or fb
 calma 109 109 *

 layer fn 119
 calma 119 119 *

 layer fapm 110
 calma 110 110 *

end

mzrouter
 style irouter
#		layer	hCost	vCost	jogCost	hintCost 
 layer		metal5	1	2	2	1
 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	m5contact	metal5	metal4	3
 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 12 \
 "N-well width < 12 (Mosis #1.1)"

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

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

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

 width diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll 3 \
 "Diffusion width < 3 (Mosis #2.1)"

 edge4way nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a pdiff,apres,rpd,hpdif,hapres,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,apres,rpd,hpdif,hapres,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,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a 3 ~(psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a)/active ndiff,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a 3 \
 "N-Diffusion width in P-Ohmic < 3 (Mosis #2.1)" active

 edge4way pdiff,apres,rpd,hpdif,hapres,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,apres,rpd,hpdif,hapres,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,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 3 ~(ndiff,anres,rnd,hndif,hanres,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,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/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,anres,rnd,hndif,hanres,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,apres,rpd,hpdif,hapres,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 ppc/m1 4 \
 "Poly contact width < 4 (Mosis #5.1)"

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

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

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

 width pnm12c/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,fm1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,m2c/m1,m123c/m1 3 \
 "Metal1 width < 3 (Mosis #7.1)"

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

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

 width 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,fm2,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 3 \
 "Metal2 width < 3 (Mosis #9.1)"

 width gv2 2 \
 "GV2 via width < 2 (Mosis #14.1)"

 width m3c/m2 4 \
 "Metal3 contact width < 4 (Mosis #14.1)"

 width m123c/m2 4 \
 "Metal3 contact width < 4 (Mosis #14.1)"

 width m234c/m2 4 \
 "Metal3 contact width < 4 (Mosis #14.1)"

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

 width pbase,emit,base,emc/a,bc/a 12 \
 "Pbase width < 12 (Mosis #16)"

 width base,bc/a 4 \
 "Base width < 4 (Mosis #16)"

 width emit,emc/a 4 \
 "Emitter width < 4 (Mosis #16)"

 width bc/a 6 \
 "Base contact width < 6 (Mosis #16)"

 width bc 2 \
 "Base Generic contact width < 2 (Mosis #16)"

 width emc/a 8 \
 "Emitter contact width < 8 (Mosis #16)"

 width emc 2 \
 "Emitter Generic contact width < 2 (Mosis #16)"

 width clc 6 \
 "Collector contact width < 6 (Mosis #16.9)"

 width coll 3 \
 "Collector width < 3 (Mosis #16.9)"

 width sb,pres,anres,apres,hanres,hapres 4 \
 "Silicide-Block width < 4 (Mosis #20.1)"

 width pres 5 \
 "Silicide-Block polyR width < 5 (Mosis #20.6)"

 width anres,apres,hanres,hapres 6 \
 "Silicide-Block activeR width < 6 (Mosis #20.16)"

 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 m345c/m3 4 \
 "Metal4 contact width < 4 (Mosis #21.3)"

 width m4,fm4,rm4,m4c/m4,m234c/m4,m345c/m4,m5c/m4 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)"

 width gv4 2 \
 "GV4 via width < 2 (Mosis #25.4)"

 width m5c/m4 4 \
 "Metal5 contact width < 4 (Mosis #25.4)"

 width m345c/m4 4 \
 "Metal5 contact width < 4 (Mosis #25.4)"

 width m5,fm5,rm5,m5c/m5,m345c/m5,mic/m5,pad 4 \
 "Metal5 width < 4 (Mosis #26.2)"

 width gvi 2 \
 "MIM via width < 2 (Mosis #28.4)"

 width mic/mi 8 \
 "MIM contact width < 8 (Mosis #28.4)"

 width mi,mic/mi 40 \
 "MIM width < 40 (Mosis #28.1)"

 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 18 touching_illegal \
 "rnw (for resistor L/W extraction) spacing to N-well < 18 (Mosis #2.3)"

 spacing nwr nwell,hnwell 18 touching_illegal \
 "nwr (for Fig1b resistor L/W extraction) spacing to N-well < 18 (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,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll 3 touching_ok \
 "Diffusion spacing < 3 (Mosis #2.2)"

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

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

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

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

 edge4way ~(pwell,hpwell)/well pwell,hpwell 6 ~(ndiff,anres,rnd,nfet,hndif,hanres,hnfet,ndc/a,ndm12c/a,hndc/a,hndm12c/a)/active pwell,hpwell 6 \
 "P-well overlap of N-Diffusion < 6 (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,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a 9 touching_illegal \
 "N-Diffusion spacing to N-Ohmic < 9 (Mosis #2.3+2.4)"

 spacing pdiff,apres,rpd,hpdif,hapres,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 9 touching_illegal \
 "P-Diffusion spacing to P-Ohmic < 9 (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,anres,rnd,nfet,hndif,hanres,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,apres,rpd,pfet,hpdif,hapres,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,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a,nfet,pfet,fet,hnfet,hpfet,hfet poly,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a,nfet,pfet,fet,hnfet,hpfet,hfet 3 touching_ok \
 "Poly spacing < 3 (Mosis #3.2)"

 spacing poly,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a,nfet,pfet,fet,hnfet,hpfet,hfet fp,fapm 3 touching_illegal \
 "Poly spacing to fill layer (fp) < 3 (Mosis #3.2)"

 spacing fp fp 4 touching_ok \
 "Poly fill layer (fp) spacing < 4 (Mosis #0)"

 edge4way nfet,pfet,fet,hnfet,hpfet,hfet space/active,poly,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a 2 poly,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a 0 0 \
 "Poly overhang of Transistor < 2 (Mosis #3.3)" active

 edge4way nfet,pfet,fet,hnfet,hpfet,hfet space/active,ndiff,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdiff,apres,rpd,hpdif,hapres,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a 3 ndiff,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a,pdiff,apres,rpd,hpdif,hapres,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,fp,pp,pn,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a ~(poly,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/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,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll)/active nselect,pselect 2 \
 "N-Select,P-Select overlap of Diffusion < 2 (Mosis #4.2_)" active

 edge4way ~(nselect,pselect)/select nselect,pselect 1 ~(pp,pn)/active nselect,pselect 1 \
 "N-Select,P-Select overlap of poly biased with Nselect or Pselect < 1 (Mosis #4.2_)" active

#SOC edge4way ~(nselect)/select nselect 1 ~(gc)/contact nselect 1 \
#SOC "N-Select overlap of Generic contact < 1 (Mosis #?.?__)" contact

#SOC edge4way ~(pselect)/select pselect 1 ~(gc)/contact pselect 1 \
#SOC "P-Select overlap of Generic contact < 1 (Mosis #?.?__)" contact

 edge4way space nselect,pselect 2 ~(ndiff,anres,rnd,nfet,hndif,hanres,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,anres,rnd,nfet,hndif,hanres,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,anres,rnd,nfet,hndif,hanres,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,apres,rpd,pfet,hpdif,hapres,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,apres,rpd,pfet,hpdif,hapres,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,apres,rpd,pfet,hpdif,hapres,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

#SOC edge4way ~(nselect)/select nselect 0 ~(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)/active nselect 0 \
#SOC "N-Select overlap of Diffusion contact < 0 (Mosis #?.?__)" active

#SOC edge4way ~(pselect,dps)/select pselect,dps 0 ~(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)/active pselect,dps 0 \
#SOC "P-Select overlap of Diffusion contact < 0 (Mosis #?.?__)" active

 edge4way space nselect 1 ~(pn)/active nselect 1 \
 "N-Select space to Poly < 1 (Mosis #4.2d)" active

 edge4way space pselect 1 ~(pp)/active pselect 1 \
 "P-Select space to Poly < 1 (Mosis #4.2d)" active

 edge4way nselect space 1 ~(pn)/active nselect 1 \
 "N-Select space to Poly < 1 (Mosis #4.2ep)" active

 edge4way pselect space 1 ~(pp)/active pselect 1 \
 "P-Select space to Poly < 1 (Mosis #4.2ep)" active

 edge4way nselect space 1 ~(pn)/active space,nselect 1 \
 "N-Select space to Poly < 1 (Mosis #4.2f)" active

 edge4way pselect space 1 ~(pp)/active space,pselect 1 \
 "P-Select space to Poly < 1 (Mosis #4.2f)" active

  area nsd,nwsd,psd,hnsd,hpsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,psc/a,psm12c/a,hnsc/a,hnsm12c/a,hpsc/a,hpsm12c/a 16 3 \
 "Ohmic-Diffusion area < 16 (Mosis #+++)"

 edge4way pn space 1 ~(pselect)/select space 1 \
 "poly with Nselect spacing to P-Select < 1 (Mosis #4.2y)" select

 edge4way pp space 1 ~(nselect)/select space 1 \
 "poly with Pselect spacing to N-Select < 1 (Mosis #4.2y)" select

 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,anres,rnd,nfet,hndif,hanres,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,apres,rpd,pfet,hpdif,hapres,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,apres,rpd,pfet,hpdif,hapres,hpfet,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a)/active pdiff,apres,rpd,pfet,hpdif,hapres,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,anres,rnd,nfet,hndif,hanres,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,anres,rnd,nfet,hndif,hanres,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

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

  edge4way pdiff,apres,rpd,hpdif,hapres,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,apres,rpd,hpdif,hapres,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,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a,diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,emit,emc/a,base,bc/a,coll ~(gc)/contact 1 \
 "Poly,Diffusion overlap of Poly contact < 1 (Mosis #5.2)" active

 edge4way gc space 1 poly,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a,diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,emit,emc/a,base,bc/a,coll space 1 \
 "one of: Poly,Diffusion,Emitter,Base,Collector must overlap GC contact by 1 (Mosis #5.2a,6.2a)" active

 edge4way ~(poly,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a,diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,emit,emc/a,base,bc/a,coll)/active poly,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a,diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,emit,emc/a,base,bc/a,coll 1 ~(gc)/contact 0 0 \
 "Edge to one of: Poly,Diffusion,Emitter,Base,Collector cannot touch GC contact (Mosis #5.2a,6.2a)" contact

 spacing gc gc 3 touching_ok \
 "Generic contact spacing < 3 (Mosis #5.3)"

 edge4way ~(gc)/contact gc 1 ~(ndc/m1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1)/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)"

#PSC spacing poly,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a 4 touching_ok \
#PSC "Poly spacing to Poly contact < 4 (Mosis #5.5.b)"

 edge4way gc ~(gc)/contact 1 diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,emit,emc/a,base,bc/a,coll,poly,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a ~(gc)/contact 1 \
 "Diffusion,Poly overlap of GC contact < 1 (Mosis #6.2)" active

 spacing gc pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/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 \
 "Generic contact spacing to Poly contact,Diffusion contact < 2 (Mosis #5.3)"

 spacing nsc/m1,nwsc/m1,nsm12c/m1,nwsm12c/m1,hnsc/m1,hnsm12c/m1 pdc/m1,pdm12c/m1,hpdc/m1,hpdm12c/m1 1 touching_illegal \
 "nsc spacing to pdc < 1 (Mosis #6.3)"

 spacing psc/m1,psm12c/m1,hpsc/m1,hpsm12c/m1 ndc/m1,ndm12c/m1,hndc/m1,hndm12c/m1 1 touching_illegal \
 "psc spacing to ndc < 1 (Mosis #6.3)"

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

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

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

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

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

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

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

 spacing m345c/m4 m4c/m4,m5c/m4,m234c/m4 1 touching_illegal \
 "m345c spacing to m4c or m5c or m234c < 1 (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,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a 1 touching_illegal \
 "Diffusion spacing to Poly contact < 1 (Mosis #6.5.b)"

 spacing diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll,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,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/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,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,m2c/m1,m123c/m1 3 touching_ok \
 "Metal1 spacing < 3 (Mosis #7.2)"

 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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,m2c/m1,m123c/m1 fm1,fapm 3 touching_illegal \
 "Metal1 spacing to fill layer (fm1) < 3 (Mosis #7.2)"

 spacing fm1 fm1 4 touching_ok \
 "Metal1 fill layer (fm1) spacing < 4 (Mosis #0)"

 edge4way gc space 1 m1,fm1,rm1,ndc/m1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,m2c/m1,m123c/m1 space 1 \
 "Metal1 must overlap GC contact by 1 (Mosis #7.3,7.4)" metal1

 edge4way ~(m1,fm1,rm1,ndc/m1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,m2c/m1,m123c/m1)/metal1 m1,fm1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,m2c/m1,m123c/m1 1 ~(gc)/contact 0 0 \
 "Metal1(edge) cannot touch GC contact (Mosis #7.3+7.4)" contact

 spacing gv1 gv1 3 touching_ok \
 "GV1 via spacing < 3 (Mosis #8.2)"

 edge4way gv1 ~(gv1)/via1 1 m1,fm1,rm1,ndc/m1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,m2c/m1,m123c/m1 ~(gv1)/via1 1 \
 "Metal1 overlap of GV1 via < 1 (Mosis #8.3)" metal1

 edge4way gv1 space 1 m1,fm1,rm1,ndc/m1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,m2c/m1,m123c/m1 space 1 \
 "Metal1 must overlap GV1 via by 1 (Mosis #8.3)" metal1

 edge4way ~(m1,fm1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,m2c/m1,m123c/m1)/metal1 m1,fm1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,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 3 touching_ok \
 "Metal2 spacing < 3 (Mosis #9.2)"

 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 fm2,fapm 3 touching_illegal \
 "Metal2 spacing to fill layer (fm2) < 3 (Mosis #9.2)"

 spacing fm2 fm2 4 touching_ok \
 "Metal2 fill layer (fm2) spacing < 4 (Mosis #0)"

 edge4way gv1 space 1 m2,fm2,rm2,m2c/m2,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,fm2,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)/metal2 m2,fm2,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 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)/metal5 pad 40 ~(glass)/oxide pad 40 \
 "pad overlap of COG < 40 (Mosis #10.3)" oxide

 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,fm2,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 space 1 \
 "Metal2 must overlap GV2 via by 1 (Mosis #14.3)" metal2

 edge4way ~(m2,fm2,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)/metal2 m2,fm2,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 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,m345c/m3 m3,rm3,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m345c/m3 3 touching_ok \
 "Metal3 spacing < 3 (Mosis #15.2)"

 spacing m3,rm3,m3c/m3,m123c/m3,m234c/m3,m4c/m3,m345c/m3 fm3,fapm 3 touching_illegal \
 "Metal3 spacing to fill layer (fm3) < 3 (Mosis #15.2)"

 spacing fm3 fm3 4 touching_ok \
 "Metal3 fill layer (fm3) spacing < 4 (Mosis #0)"

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

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

 edge4way ~(emit,emc/a)/active emit,emc/a 3 ~(gc)/contact emit,emc/a 3 \
 "Emitter overlap of GC contact < 3 (Mosis #16.2)" contact

 edge4way emit,emc/a,emc/a ~(emit,emc/a,emc/a)/active 2 pbase,emit,base,emc/a,bc/a ~(emit,emc/a,emc/a)/active 2 \
 "Pbase overlap of Emitter < 2 (Mosis #16.3)" active

 spacing emit,emc/a,emc/a base,bc/a,bc/a 4 touching_illegal \
 "Emitter spacing to Base < 4 (Mosis #16.4)"

 edge4way base,bc/a,bc/a ~(base,bc/a,bc/a)/active 2 pbase,emit,base,emc/a,bc/a ~(base,bc/a,bc/a)/active 2 \
 "Pbase overlap of Base < 2 (Mosis #16.5)" active

 edge4way ~(base,bc/a)/active base,bc/a 2 ~(gc)/contact base,bc/a 2 \
 "Base overlap of GC contact < 2 (Mosis #16.6)" contact

 edge4way ~(nwell,hnwell)/well nwell,hnwell 6 ~(pbase,emit,base,emc/a,bc/a,base,bc/a,bc/a,emit,emc/a,emc/a)/active nwell,hnwell 6 \
 "N-well overlap of Pbase < 6 (Mosis #16.7)" active

 spacing pbase,emit,base,emc/a,bc/a nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a,coll,clc 4 touching_illegal \
 "Pbase spacing to Collector,Collector contact < 4 (Mosis #16.8)"

 edge4way ~(coll)/active coll 2 ~(gc)/contact coll 2 \
 "Collector overlap of Generic contact < 2 (Mosis #16.9)" contact

 spacing sb,pres,anres,apres,hanres,hapres sb,pres,anres,apres,hanres,hapres 4 touching_ok \
 "Silicide-Block spacing < 4 (Mosis #20.2)"

 spacing sb,pres,anres,apres,hanres,hapres,pres,anres,apres,hanres,hapres pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/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 \
 "Silicide-Block spacing to Diffusion contact,Poly contact < 1 (Mosis #20.3)"

 spacing sb,pres,anres,apres,hanres,hapres,pres,anres,apres,hanres,hapres gc 2 touching_illegal \
 "Silicide-Block spacing to GC contact < 2 (Mosis #20.3)"

 edge4way sb,pres,anres,apres,hanres,hapres space 2 ~(diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll)/active 0 2 \
 "Silicide-Block space to Diffusion < 2 (Mosis #20.4)" active

 spacing sb,pres,anres,apres,hanres,hapres,pres poly,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a 2 touching_ok \
 "Silicide-Block spacing to other Poly < 2 (Mosis #20.5)"

 edge4way sb,pres,anres,apres,hanres,hapres space 2 ~(poly,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a)/contact sb,pres,anres,apres,hanres,hapres 2 \
 "Silicide-Block space to Poly < 2 (Mosis #20.5x)" contact

 spacing sb,pres,anres,apres,hanres,hapres,pres nfet,pfet,fet,hnfet,hpfet,hfet 2 touching_ok \
 "Silicide-Block spacing to other Transistor < 2 (Mosis #20.5)"

 edge4way sb,pres,anres,apres,hanres,hapres space 2 ~(nfet,pfet,fet,hnfet,hpfet,hfet)/contact sb,pres,anres,apres,hanres,hapres 2 \
 "Silicide-Block space to Transistor < 2 (Mosis #20.5x)" contact

 spacing pres pres 7 touching_ok \
 "Silicide-Block polyR spacing < 7 (Mosis #20.13)"

 edge4way pres,anres,apres,hanres,hapres space/active,sb 2 sb sb 2 \
 "Silicide-Block overlap of Silicide-Block polyR/activeR < 2 (Mosis #20.15)"

 edge4way sb,pres,anres,apres,hanres,hapres 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,coll 3 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,coll 0 0 \
 "Diffusion overhang of Silicide-Block < 3 (Mosis #20.17) 

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

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

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

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

 spacing m4,rm4,m4c/m4,m234c/m4,m345c/m4,m5c/m4 m4,rm4,m4c/m4,m234c/m4,m345c/m4,m5c/m4 3 touching_ok \
 "Metal4 spacing < 3 (Mosis #22.2)"

 spacing m4,rm4,m4c/m4,m234c/m4,m345c/m4,m5c/m4 fm4,fapm 3 touching_illegal \
 "Metal4 spacing to fill layer (fm4) < 3 (Mosis #22.2)"

 spacing fm4 fm4 4 touching_ok \
 "Metal4 fill layer (fm4) spacing < 4 (Mosis #0)"

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

 edge4way ~(m4,fm4,rm4,m4c/m4,m234c/m4,m345c/m4,m5c/m4)/metal4 m4,fm4,rm4,m4c/m4,m234c/m4,m345c/m4,m5c/m4 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,hanres,hnfet,hnsd,hpdif,hapres,hpfet,hpsd diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,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,anres,rnd,nfet,nsd,nwsd,pdiff,apres,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,hanres,hnfet,hnsd,hpdif,hapres,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 gv4 gv4 3 touching_ok \
 "GV4 via spacing < 3 (Mosis #25.3)"

 edge4way ~(gv4)/via4 gv4 1 ~(m5c/m5,m345c/m5)/metal5 0 0 \
 "GV4 via cannot touch Metal5 contacts (Mosis #0)" metal5

 edge4way gv4 space 1 m4,fm4,rm4,m4c/m4,m234c/m4,m345c/m4,m5c/m4 space 1 \
 "Metal4 must overlap GV4 via by 1 (Mosis #25.4)" metal4

 edge4way ~(m4,fm4,rm4,m4c/m4,m234c/m4,m345c/m4,m5c/m4)/metal4 m4,fm4,rm4,m4c/m4,m234c/m4,m345c/m4,m5c/m4 1 ~(gv4)/via4 0 0 \
 "Metal4(edge) cannot touch GV4 via (Mosis #25.4)" via4

 spacing m5,rm5,m5c/m5,m345c/m5,mic/m5,pad m5,rm5,m5c/m5,m345c/m5,mic/m5,pad 3 touching_ok \
 "Metal5 spacing < 3 (Mosis #26.3)"

 spacing m5,rm5,m5c/m5,m345c/m5,mic/m5,pad fm5,fapm 3 touching_illegal \
 "Metal5 spacing to fill layer (fm5) < 3 (Mosis #26.3)"

 spacing fm5 fm5 4 touching_ok \
 "Metal5 fill layer (fm5) spacing < 4 (Mosis #0)"

 edge4way space gv4 1 m5,fm5,rm5,m5c/m5,m345c/m5,mic/m5,pad 0 0 \
 "Metal5 must overlap GV4 via (Mosis #26.1)" metal5

 edge4way gv4 space 1 m5,fm5,rm5,m5c/m5,m345c/m5,mic/m5,pad space 1 \
 "Metal5 must overlap GV4 via by 1 (Mosis #26.1)" metal5

 edge4way ~(m5,fm5,rm5,m5c/m5,m345c/m5,mic/m5,pad)/metal5 m5,fm5,rm5,m5c/m5,m345c/m5,mic/m5,pad 1 ~(gv4)/via4 0 0 \
 "Metal5(edge) cannot touch GV4 via (Mosis #26.1)" via4

 spacing mi,mic/mi mi,mic/mi 12 touching_ok \
 "MIM spacing < 12 (Mosis #28.2)"

 spacing gvi mic/mi 17 touching_illegal \
 "MIM via spacing to MIM contact < 17 (Mosis #28.2)"

 spacing mic/mi mic/mi 14 touching_ok \
 "MIM contact spacing < 14 (Mosis #28.2)"

 edge4way mi,mic/mi ~(mi,mic/mi)/metali 4 m4,fm4,rm4,m4c/m4,m234c/m4,m345c/m4,m5c/m4 ~(mi,mic/mi)/metali 4 \
 "Metal4 overlap of MIM < 4 (Mosis #28.3)" metal4

 edge4way gvi ~(gvi)/viai 1 m5,fm5,rm5,m5c/m5,m345c/m5,mic/m5,pad ~(gvi)/viai 1 \
 "Metal5 overlap of MIM via < 1 (Mosis #28.4)" metal5

 spacing gvi gvi 20 touching_ok \
 "MIM via spacing < 20 (Mosis #28.4)"

 edge4way space gvi 1 mi,mic/mi 0 0 \
 "MIM must overlap MIM via (Mosis #28.4)" metali

 edge4way ~(mi,mic/mi)/metali mi,mic/mi 1 ~(gvi)/viai 0 0 \
 "MIM(edge) cannot touch MIM via (Mosis #28.4)" viai

 spacing mi,mic/mi m1,fm1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,m2c/m1,m123c/m1 30 touching_illegal \
 "MIM spacing to Metal1 < 30 (Mosis #28.7)"

 spacing mi,mic/mi m2,fm2,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 30 touching_illegal \
 "MIM spacing to Metal2 < 30 (Mosis #28.7)"

 spacing mi,mic/mi poly,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a 30 touching_illegal \
 "MIM spacing to Poly < 30 (Mosis #28.7)"

 spacing mi,mic/mi diff,ndiff,anres,rnd,nfet,nsd,nwsd,pdiff,apres,rpd,pfet,psd,hdiff,htran,hfet,hndif,hanres,hnfet,hnsd,hpdif,hapres,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,coll 30 touching_illegal \
 "MIM spacing to Diffusion < 30 (Mosis #28.7)"

 spacing mi,mic/mi gv3 4 touching_illegal \
 "MIM spacing to GV3 via < 4 (Mosis #28.5)"

 spacing mi,mic/mi m4c/m3,m234c/m3,m345c/m3 3 touching_illegal \
 "MIM spacing to Metal4 contact < 3 (Mosis #28.5)"

 spacing mi,mic/mi gv4 4 touching_illegal \
 "MIM spacing to GV4 via < 4 (Mosis #28.5)"

 spacing mi,mic/mi m5c/m4,m345c/m4 3 touching_illegal \
 "MIM spacing to Metal5 contact < 3 (Mosis #28.5)"

 edge4way gvi space 3 mi,mic/mi space 3 \
 "MIM must overlap MIM via by 3 (Mosis #28.5)" metali

 edge4way ~(mi,mic/mi)/metali mi,mic/mi 1 ~(gvi)/viai 0 0 \
 "MIM(edge) cannot touch MIM via (Mosis #28.5)" viai

 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,apres,rpd,pfet,hpdif,hapres,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,anres,rnd,nfet,hndif,hanres,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

 spacing fa fapm 4 touching_illegal \
 "fill layer fa spacing to fill layer fapm < 4 (Mosis #0)"

 width fa 14 \
 "filla width < 14 (Mosis #0)"

 width fapm 14 \
 "fillapm width < 14 (Mosis #0)"

 width fp 14 \
 "fillp width < 14 (Mosis #0)"

 width fm1 14 \
 "fillm1 width < 14 (Mosis #0)"

 width fm2 14 \
 "fillm2 width < 14 (Mosis #0)"

 width fm3 14 \
 "fillm3 width < 14 (Mosis #0)"

 width fm4 14 \
 "fillm4 width < 14 (Mosis #0)"

 width fm5 14 \
 "fillm5 width < 14 (Mosis #0)"

 edge4way fa ~(fa)/fill 1 ~(fa)/fill (~(fa),fa)/fill 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fb ~(fb)/fill 1 ~(fb)/fill (~(fb),fb)/fill 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fapm ~(fapm)/active 1 ~(fapm)/active (~(fapm),fapm)/active 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fp ~(fp)/active 1 ~(fp)/active (~(fp),fp)/active 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fm1 ~(fm1)/metal1 1 ~(fm1)/metal1 (~(fm1),fm1)/metal1 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fm2 ~(fm2)/metal2 1 ~(fm2)/metal2 (~(fm2),fm2)/metal2 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fm3 ~(fm3)/metal3 1 ~(fm3)/metal3 (~(fm3),fm3)/metal3 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fm4 ~(fm4)/metal4 1 ~(fm4)/metal4 (~(fm4),fm4)/metal4 1 \
 "Contact not rectangular (Magic rule)"

 edge4way fm5 ~(fm5)/metal5 1 ~(fm5)/metal5 (~(fm5),fm5)/metal5 1 \
 "Contact not rectangular (Magic rule)"

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

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

 edge4way 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 rm5 space/metal5 1 prm5 0 0 \
 "prm5 overhang of rmetal5 (for resistor L/W extraction) < 1 (Mosis #0)" metal5

 edge4way rmi space/metali 1 prmi 0 0 \
 "prmi overhang of rmetali (for resistor L/W extraction) < 1 (Mosis #0)" metali

 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,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a ~(pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a)/active 1 ~(pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a)/active (~(pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a),pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a)/active 1 \
 "Contact not rectangular (Magic rule)"

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

 edge4way gv1 ~(gv1)/via1 1 ~(gv1)/via1 (~(gv1),gv1)/via1 1 \
 "Contact not rectangular (Magic rule)"

 edge4way m2c/m1,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 bc/a ~(bc/a)/active 1 ~(bc/a)/active (~(bc/a),bc/a)/active 1 \
 "Contact not rectangular (Magic rule)"

 edge4way emc/a ~(emc/a)/active 1 ~(emc/a)/active (~(emc/a),emc/a)/active 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,m345c/m3 ~(m4c/m3,m234c/m3,m345c/m3)/metal3 1 ~(m4c/m3,m234c/m3,m345c/m3)/metal3 (~(m4c/m3,m234c/m3,m345c/m3),m4c/m3,m234c/m3,m345c/m3)/metal3 1 \
 "Contact not rectangular (Magic rule)"

 edge4way gv4 ~(gv4)/via4 1 ~(gv4)/via4 (~(gv4),gv4)/via4 1 \
 "Contact not rectangular (Magic rule)"

 edge4way m5c/m4,m345c/m4 ~(m5c/m4,m345c/m4)/metal4 1 ~(m5c/m4,m345c/m4)/metal4 (~(m5c/m4,m345c/m4),m5c/m4,m345c/m4)/metal4 1 \
 "Contact not rectangular (Magic rule)"

 edge4way gvi ~(gvi)/viai 1 ~(gvi)/viai (~(gvi),gvi)/viai 1 \
 "Contact not rectangular (Magic rule)"

 edge4way mic/mi ~(mic/mi)/metali 1 ~(mic/mi)/metali (~(mic/mi),mic/mi)/metali 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,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a,gc

 edge4way pad ~(pad)/m5 1 ~(pad)/m5 (~(pad),pad)/m5 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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1

 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,m345c/m4

 exact_overlap m5c/m5,m345c/m5

 exact_overlap mic/mi

 exact_overlap gv1

 exact_overlap gv2

 exact_overlap gv3

 exact_overlap gv4

 exact_overlap gvi

 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)"

 width m5p 4 \
 "Metal5 PIN width < 4 (do_pins)"

 spacing m5p m5p 4 touching_ok \
 "Metal5 PIN spacing < 4 (do_pins)"

 cifstyle  CIFCHECK:dummy-style-for-cif-check-rules-only-NOT-FOR-CIF! 
 cifwidth CWN 180 \
 "generated CIF layer CWN width will be < 12 (';cif see CWN')"
 cifspacing CWN CWN 90 touching_ok \
 "generated CIF layer CWN spacing will be < 6 (';cif see CWN')"
 cifwidth CWP 180 \
 "generated CIF layer CWP width will be < 12 (';cif see CWP')"
 cifspacing CWP CWP 90 touching_ok \
 "generated CIF layer CWP spacing will be < 6 (';cif see CWP')"
 cifwidth CSN 45 \
 "generated CIF layer CSN width will be < 3 (';cif see CSN')"
 cifspacing CSN CSN 45 touching_ok \
 "generated CIF layer CSN spacing will be < 3 (';cif see CSN')"
 cifwidth CSP 45 \
 "generated CIF layer CSP width will be < 3 (';cif see CSP')"
 cifspacing CSP CSP 45 touching_ok \
 "generated CIF layer CSP spacing will be < 3 (';cif see CSP')"

 stepsize 400

end

extract
 style TSMC0.25um(tsmc25)from:t11y
 cscale 1
 lambda 15
 step   100
 sidehalo 8
 planeorder well 0
 planeorder implant 1
 planeorder select 2
 planeorder active 3
 planeorder metal1 4
 planeorder metal2 5
 planeorder metal3 6
 planeorder metal4 7
 planeorder metal5 8
 planeorder metali 9
 planeorder oxide 10
 planeorder xp 11
 planeorder comment 12
 planeorder contact 13
 planeorder via1 14
 planeorder via2 15
 planeorder via3 16
 planeorder via4 17
 planeorder viai 18
 planeorder fill 19

 resist (ndiff,anres,rnd,hndif,hanres,ndc,ndm12c,hndc,hndm12c,nsd,nwsd,hnsd,nsc,nwsc,nsm12c,nwsm12c,hnsc,hnsm12c)/active 4600
 resist (pdiff,apres,rpd,hpdif,hapres,pdc,pdm12c,hpdc,hpdm12c,psd,hpsd,psc,psm12c,hpsc,hpsm12c)/active 3500
 resist (nwell,hnwell)/well 1067000
 resist (rnw,nwr)/active 1067000
 resist (pwell,hpwell)/well 1
 resist (poly,fp,pp,pn,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active 4000
 resist (pres)/active 4000
 resist (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c)/metal1  80
 resist (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c,m3c,m123c,m234c)/metal2  80
 resist (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c,m4c,m234c,m345c)/metal3  80
 resist (m4,fm4,rm4,m4c,m234c,m345c,m5c,m5c,m345c)/metal4  80
 resist (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5  40

 contact ndc 4 5700
 contact pdc 4 4800
 contact pc 4 4800
 contact m2c 4 3340
 contact m3c 4 6760
 contact m4c 4 9940


#nwell,cwell,pwell
 areacap (nwell,hnwell)/well   1.418

#rnw
 areacap (rnw,nwr)/active   1.418

#ndiff
# MODEL HANDLES THIS: areacap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active  40.320
# MODEL HANDLES THIS: overlap (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~space/w  40.320
# MODEL HANDLES THIS: perimc (ndiff,hndif,ndc,ndm12c,hndc,hndm12c)/active ~(ndiff,hndif,ndc,ndm12c,hndc,hndm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  60.900
# 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  60.900

 areacap (rnd,anres,hanres)/active  40.320
 overlap (rnd,anres,hanres)/active ~space/w  40.320
 perimc (rnd,anres,hanres)/active ~(rnd,anres,hanres)/active  60.900
 sideoverlap (rnd,anres,hanres)/active ~(rnd,anres,hanres)/active ~space/w  60.900

#pdiff
# MODEL HANDLES THIS: areacap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active  42.593
# MODEL HANDLES THIS: overlap (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~space/w  42.593
# MODEL HANDLES THIS: perimc (pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c)/active ~(pdiff,hpdif,pdc,pdm12c,hpdc,hpdm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active  51.600
# 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  51.600

 areacap (rpd,apres,hapres)/active  42.593
 overlap (rpd,apres,hapres)/active ~space/w  42.593
 perimc (rpd,apres,hapres)/active ~(rpd,apres,hapres)/active  51.600
 sideoverlap (rpd,apres,hapres)/active ~(rpd,apres,hapres)/active ~space/w  51.600

#rnw

#poly
# MODEL HANDLES THIS: overlap (nfet,hnfet)/active (ndiff,anres,rnd,hndif,hanres,ndc,ndm12c,hndc,hndm12c)/active 135.607
# MODEL HANDLES THIS: sideoverlap (nfet,hnfet)/active ~(nfet,hnfet)/active (ndiff,anres,rnd,hndif,hanres,ndc,ndm12c,hndc,hndm12c)/active  91.500
# MODEL HANDLES THIS: overlap (pfet,hpfet)/active (pdiff,apres,rpd,hpdif,hapres,pdc,pdm12c,hpdc,hpdm12c)/active 130.433
# MODEL HANDLES THIS: sideoverlap (pfet,hpfet)/active ~(pfet,hpfet)/active (pdiff,apres,rpd,hpdif,hapres,pdc,pdm12c,hpdc,hpdm12c)/active  98.400

 sidewall (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c)/active ~(poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c)/active ~(poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c)/active (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c)/active  11.331
 areacap (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c)/active   2.291
 overlap (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c)/active ~space/w   2.291
 perimc (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c)/active ~(poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c)/active   3.466
 sideoverlap (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c)/active ~(poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c)/active ~space/w   3.466

#poly2

#rnw

#metal1
 sidewall (m1,fm1,rm1,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 (m1,fm1,rm1,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1  20.619
 areacap (m1,fm1,rm1,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1   0.937

#metal1-sub blocked by ~space/a
 overlap (m1,fm1,rm1,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~space/w   0.937 ~space/a
 perimc (m1,fm1,rm1,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1   1.670
 sideoverlap (m1,fm1,rm1,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~space/w   1.670 ~space/a

#rnw
 overlap (m1,fm1,rm1,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 rnw,nwr/active   0.937 
 sideoverlap (m1,fm1,rm1,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,ndm12c,pdc,pdm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 rnw,nwr/active   1.670 

#metal1-diff blocked by 
 overlap (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 (ndiff,anres,rnd,hndif,hanres,ndc,ndm12c,hndc,hndm12c)/active   1.170 
 sideoverlap (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 (ndiff,anres,rnd,hndif,hanres,ndc,ndm12c,hndc,hndm12c)/active   1.670 
 overlap (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 (pdiff,apres,rpd,hpdif,hapres,pdc,pdm12c,hpdc,hpdm12c)/active   1.170 
 sideoverlap (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 (pdiff,apres,rpd,hpdif,hapres,pdc,pdm12c,hpdc,hpdm12c)/active   1.670 

#metal1-poly blocked by 
 overlap (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.949 
 sideoverlap (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   1.688 
 sideoverlap (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1   1.688 

#metal2
 sidewall (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2  23.532
 areacap (m2,fm2,rm2,m3c,m123c,m234c)/metal2   0.327

#metal2-sub blocked by 
 overlap (m2,fm2,rm2,m3c,m123c,m234c)/metal2 ~space/w   0.327 ~space/a,~space/m1
 perimc (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   0.627
 sideoverlap (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~space/w   0.627 ~space/a,~space/m1
 overlap (m2,fm2,rm2,m3c,m123c,m234c)/metal2 rnw,nwr/active   0.327 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 rnw,nwr/active   0.627 ~space/m1

#metal2-*diff blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c,m234c)/metal2 (ndiff,anres,rnd,hndif,hanres,ndc,ndm12c,hndc,hndm12c)/active   0.472 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (ndiff,anres,rnd,hndif,hanres,ndc,ndm12c,hndc,hndm12c)/active   0.627 ~space/m1
 overlap (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,apres,rpd,hpdif,hapres,pdc,pdm12c,hpdc,hpdm12c)/active   0.472 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (pdiff,apres,rpd,hpdif,hapres,pdc,pdm12c,hpdc,hpdm12c)/active   0.627 ~space/m1

#metal2-poly blocked by ~space/m1
 overlap (m2,fm2,rm2,m3c,m123c,m234c)/metal2 (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.328 ~space/m1
 sideoverlap (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.630 ~space/m1
 sideoverlap (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   0.630 ~space/m1

#M2->M1
 overlap (m2,fm2,rm2,m3c,m123c,m234c)/metal2 (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1   1.037
 sideoverlap (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1   1.824
 sideoverlap (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   1.824

#metal3
 sidewall (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 ~(m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 ~(m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3  24.216
 areacap (m3,fm3,rm3,m4c,m234c,m345c)/metal3   0.198

#metal3-sub blocked by ~space/a,~space/m1,~space/m2
 overlap (m3,fm3,rm3,m4c,m234c,m345c)/metal3 ~space/w   0.198 ~space/a,~space/m1,~space/m2
 perimc (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 ~(m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3   0.385
 sideoverlap (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 ~(m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 ~space/w   0.385 ~space/a,~space/m1,~space/m2

#rnw
 overlap (m3,fm3,rm3,m4c,m234c,m345c)/metal3 rnw,nwr/active   0.198 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 ~(m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 rnw,nwr/active   0.385 ~space/m1,~space/m2

#metal3-*diff blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,m4c,m234c,m345c)/metal3 (ndiff,anres,rnd,hndif,hanres,ndc,ndm12c,hndc,hndm12c)/active   0.315 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 ~(m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 (ndiff,anres,rnd,hndif,hanres,ndc,ndm12c,hndc,hndm12c)/active   0.385 ~space/m1,~space/m2
 overlap (m3,fm3,rm3,m4c,m234c,m345c)/metal3 (pdiff,apres,rpd,hpdif,hapres,pdc,pdm12c,hpdc,hpdm12c)/active   0.315 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 ~(m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 (pdiff,apres,rpd,hpdif,hapres,pdc,pdm12c,hpdc,hpdm12c)/active   0.385 ~space/m1,~space/m2

#metal3-poly blocked by ~space/m1,~space/m2
 overlap (m3,fm3,rm3,m4c,m234c,m345c)/metal3 (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.198 ~space/m1,~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 ~(m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.387 ~space/m1,~space/m2
 sideoverlap (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3   0.387 ~space/m1,~space/m2

#M3->M1

#metal3-metal1 blocked by ~space/m2
 overlap (m3,fm3,rm3,m4c,m234c,m345c)/metal3 (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1   0.338 ~space/m2
 sideoverlap (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 ~(m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1   0.648 ~space/m2
 sideoverlap (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3   0.648 ~space/m2

#M3->M2
 overlap (m3,fm3,rm3,m4c,m234c,m345c)/metal3 (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   1.037
 sideoverlap (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 ~(m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   1.822
 sideoverlap (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3   1.822

#metal4
 sidewall (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 ~(m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 ~(m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4  64.860
 areacap (m4,fm4,rm4)/metal4   0.132

#metal4-sub blocked by ~space/a,~space/m1,~space/m2,~space/m3
 overlap (m4,fm4,rm4)/metal4 ~space/w   0.132 ~space/a,~space/m1,~space/m2,~space/m3
 perimc (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 ~(m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4   0.601
 sideoverlap (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 ~(m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 ~space/w   0.601 ~space/a,~space/m1,~space/m2,~space/m3

#rnw
 overlap (m4,fm4,rm4)/metal4 rnw,nwr/active   0.132 ~space/m1,~space/m2,~space/m3
 sideoverlap (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 ~(m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 rnw,nwr/active   0.601 ~space/m1,~space/m2,~space/m3

#metal4-*diff blocked by ~space/m1,~space/m2,~space/m3
 overlap (m4,fm4,rm4)/metal4 (ndiff,anres,rnd,hndif,hanres,ndc,ndm12c,hndc,hndm12c)/active   0.248 ~space/m1,~space/m2,~space/m3
 sideoverlap (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 ~(m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 (ndiff,anres,rnd,hndif,hanres,ndc,ndm12c,hndc,hndm12c)/active   0.601 ~space/m1,~space/m2,~space/m3
 overlap (m4,fm4,rm4)/metal4 (pdiff,apres,rpd,hpdif,hapres,pdc,pdm12c,hpdc,hpdm12c)/active   0.248 ~space/m1,~space/m2,~space/m3
 sideoverlap (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 ~(m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 (pdiff,apres,rpd,hpdif,hapres,pdc,pdm12c,hpdc,hpdm12c)/active   0.601 ~space/m1,~space/m2,~space/m3

#metal4-poly blocked by ~space/m1,~space/m2,~space/m3
 overlap (m4,fm4,rm4)/metal4 (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.153 ~space/m1,~space/m2,~space/m3
 sideoverlap (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 ~(m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.500 ~space/m1,~space/m2,~space/m3
 sideoverlap (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4   0.500 ~space/m1,~space/m2,~space/m3

#M4->M1

#metal4-metal1 blocked by ~space/m2,~space/m3
 overlap (m4,fm4,rm4)/metal4 (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1   0.202 ~space/m2,~space/m3
 sideoverlap (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 ~(m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1   0.779 ~space/m2,~space/m3
 sideoverlap (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4   0.779 ~space/m2,~space/m3

#M4->M2

#metal4-metal2 blocked by ~space/m3
 overlap (m4,fm4,rm4)/metal4 (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   0.338 ~space/m3
 sideoverlap (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 ~(m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   1.274 ~space/m3
 sideoverlap (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4   1.274 ~space/m3

#M4->M3
 overlap (m4,fm4,rm4)/metal4 (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3   1.037
 sideoverlap (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 ~(m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3   3.453
 sideoverlap (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 ~(m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4   3.453

#metal5
 sidewall (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 ~(m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 ~(m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5  25
 areacap (m5,fm5,rm5,pad)/metal5   0.180

#metal5-sub blocked by ~space/a,~space/m1,~space/m2,~space/m3,~space/m4
 overlap (m5,fm5,rm5,pad)/metal5 ~space/w   0.180 ~space/a,~space/m1,~space/m2,~space/m3,~space/m4
 perimc (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 ~(m5,fm5,rm5,m5c,m345c,mic,pad)/metal5   3.600
 sideoverlap (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 ~(m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 ~space/w   3.600 ~space/a,~space/m1,~space/m2,~space/m3,~space/m4

#rnw
 overlap (m5,fm5,rm5,pad)/metal5 rnw,nwr/active   0.180 ~space/m1,~space/m2,~space/m3,~space/m4
 sideoverlap (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 ~(m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 rnw,nwr/active   3.600 ~space/m1,~space/m2,~space/m3,~space/m4

#metal5-*diff blocked by ~space/m1,~space/m2,~space/m3,~space/m4
 overlap (m5,fm5,rm5,pad)/metal5 (ndiff,anres,rnd,hndif,hanres,ndc,ndm12c,hndc,hndm12c)/active   0.225 ~space/m1,~space/m2,~space/m3,~space/m4
 sideoverlap (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 ~(m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 (ndiff,anres,rnd,hndif,hanres,ndc,ndm12c,hndc,hndm12c)/active   3.600 ~space/m1,~space/m2,~space/m3,~space/m4
 overlap (m5,fm5,rm5,pad)/metal5 (pdiff,apres,rpd,hpdif,hapres,pdc,pdm12c,hpdc,hpdm12c)/active   0.225 ~space/m1,~space/m2,~space/m3,~space/m4
 sideoverlap (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 ~(m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 (pdiff,apres,rpd,hpdif,hapres,pdc,pdm12c,hpdc,hpdm12c)/active   3.600 ~space/m1,~space/m2,~space/m3,~space/m4

#metal5-poly blocked by ~space/m1,~space/m2,~space/m3,~space/m4
 overlap (m5,fm5,rm5,pad)/metal5 (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   0.135 ~space/m1,~space/m2,~space/m3,~space/m4
 sideoverlap (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 ~(m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active   3.150 ~space/m1,~space/m2,~space/m3,~space/m4
 sideoverlap (poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active ~(poly,fp,pp,pn,pres,rp,pc,ppc,pnc,pm12c,ppm12c,pnm12c,nfet,pfet,fet,hnfet,hpfet,hfet)/active (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5   3.150 ~space/m1,~space/m2,~space/m3,~space/m4

#M5->M1

#metal5-metal1 blocked by ~space/m2,~space/m3,~space/m4
 overlap (m5,fm5,rm5,pad)/metal5 (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1   0.202 ~space/m2,~space/m3,~space/m4
 sideoverlap (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 ~(m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1   3.600 ~space/m2,~space/m3,~space/m4
 sideoverlap (m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 ~(m1,fm1,rm1,ndc,ndm12c,nsc,nwsc,nsm12c,nwsm12c,pdc,pdm12c,psc,psm12c,hndc,hndm12c,hnsc,hnsm12c,hpdc,hpdm12c,hpsc,hpsm12c,bc,emc,clc,pc,ppc,pnc,pm12c,ppm12c,pnm12c,m2c,m123c)/metal1 (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5   3.600 ~space/m2,~space/m3,~space/m4

#M5->M2

#metal5-metal2 blocked by ~space/m3,~space/m4
 overlap (m5,fm5,rm5,pad)/metal5 (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   0.202 ~space/m3,~space/m4
 sideoverlap (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 ~(m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2   4.350 ~space/m3,~space/m4
 sideoverlap (m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 ~(m2,fm2,rm2,m2c,pdm12c,ndm12c,psm12c,nsm12c,pm12c,m123c,nwsm12c,hpdm12c,hndm12c,hpsm12c,hnsm12c,m3c,m234c)/metal2 (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5   4.350 ~space/m3,~space/m4

#M5->M3

#metal5-metal3 blocked by ~space/m4
 overlap (m5,fm5,rm5,pad)/metal5 (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3   0.337 ~space/m4
 sideoverlap (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 ~(m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3   5.700 ~space/m4
 sideoverlap (m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 ~(m3,fm3,rm3,m3c,m123c,m234c,m4c,m345c)/metal3 (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5   5.700 ~space/m4

#M5->M4

#metal5-metal4 blocked by ~space/mi
 overlap (m5,fm5,rm5,pad)/metal5 (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4   0.900 ~space/mi
 sideoverlap (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 ~(m5,fm5,rm5,m5c,m345c,mic,pad)/metal5 (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4   9.150 ~space/mi
 sideoverlap (m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 ~(m4,fm4,rm4,m4c,m234c,m345c,m5c)/metal4 (m5,fm5,rm5,m5c,m345c,mic,pad)/metal5   9.150 ~space/mi

#metal6

#metal7

#metali

#Mi->M4

#Mi->M5

#fets

 fet pbase base,bc/a,emit,emc/a 2 npn Error! nwell 0 0

 fet  hpfet hpdif,hpdc 2 hpfet Vdd! hnwell 98 130
 fet  hpfet hpdif,hpdc 1 hpfet Vdd! hnwell 98 130

 fet  hnfet hndif,hndc 2 hnfet Gnd! hpwell 92 136
 fet  hnfet hndif,hndc 1 hnfet Gnd! hpwell 92 136

 fet  pfet pdiff,pdc 2 pfet Vdd! nwell 98 130
 fet  pfet pdiff,pdc 1 pfet Vdd! nwell 98 130

 fet  nfet ndiff,ndc 2 nfet Gnd! pwell 92 136
 fet  nfet ndiff,ndc 1 nfet Gnd! pwell 92 136

 fetresis  hpfet linear		23722
 fetresis  hpfet saturation	23722
 fetresis  hnfet linear		3737
 fetresis  hnfet saturation	3737

 fetresis  pfet linear		24395
 fetresis  pfet saturation	24395
 fetresis  nfet linear		4339
 fetresis  nfet saturation	4339

 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  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
 fet  rmetal5	metal5	2	metal5Resistor	Gnd!	nwell,pwell 0 0

 fet  pres	poly,pc	2	presResistor	Gnd!	nwell,pwell 0 0
 fet  anres	ndiff,ndc	2	anresResistor	Gnd!	nwell,pwell 0 0
 fet  apres	pdiff,pdc	2	apresResistor	Gnd!	nwell,pwell 0 0

 fet  hanres	hndif,hndc	2	hanresResistor	Gnd!	hnwell,hpwell 0 0
 fet  hapres	hpdif,hpdc	2	hapresResistor	Gnd!	hnwell,hpwell 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
 contact	m5contact	5	metal4	0	metal5 0
 contact	micontact	5	metal5	0	mi 0

end

router
 layer2 metal2 3 m2,fm2,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,m123c/m2,m234c/m2,m3c/m2,m123c/m2,m234c/m2 4 poly,fp,pp,pn,pres,rp,ndiff,anres,rnd,nsd,nwsd,pdiff,apres,rpd,psd,hndif,hanres,hnsd,hpdif,hapres,hpsd,m1,fm1,rm1 1
 layer1 metal1 3 m1,fm1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/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 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,anres,rnd,hndif,hanres,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,anres,rnd,hndif,hanres,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,coll,clc 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,coll,clc cyan \
 0000 1515 0000 5151 \
 0000 1515 0000 5151 \
 0000 1515 0000 5151 \
 0000 1515 0000 5151
 pdiff,apres,rpd,hpdif,hapres,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,apres,rpd,hpdif,hapres,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,apres,rpd,hpdif,hapres,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,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/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
 m1,fm1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,m2c/m1,m123c/m1 cyan \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000 \
 AAAA 0000 AAAA 0000
 m2,fm2,rm2,m2c/m2,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,fm2,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 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
 emit,emc/a,emc/a yellow \
 4444 8888 4444 8888 \
 4444 8888 4444 8888 \
 4444 8888 4444 8888 \
 4444 8888 4444 8888 
 emit,emc/a,emc/a cyan \
 0000 4444 0000 4444 \
 0000 4444 0000 4444 \
 0000 4444 0000 4444 \
 0000 4444 0000 4444 
 base,bc/a,bc/a yellow \
 5555 AAAA 0000 0000 \
 5555 AAAA 0000 0000 \
 5555 AAAA 0000 0000 \
 5555 AAAA 0000 0000 
 base,bc/a,bc/a cyan \
 0000 5555 0000 0000 \
 0000 5555 0000 0000 \
 0000 5555 0000 0000 \
 0000 5555 0000 0000 
 base,bc/a,bc/a magenta \
 AAAA 0000 0000 0000 \
 AAAA 0000 0000 0000 \
 AAAA 0000 0000 0000 \
 AAAA 0000 0000 0000 
 clc,emc/a,emc,bc/a,bc X
 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,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/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,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a,nfet,hnfet,pfet,hpfet \
 0808 0400 0202 0101 \
 8080 4000 2020 1010 \
 0808 0004 0202 0101 \
 8080 0040 2020 1010
 m1,fm1,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,bc/m1,emc/m1,clc/m1,pc/m1,ppc/m1,pnc/m1,pm12c/m1,ppm12c/m1,pnm12c/m1,m2c/m1,m123c/m1 \
 8080 0000 0000 0000 \
 0808 0000 0000 0000 \
 8080 0000 0000 0000 \
 0808 0000 0000 0000
 pad,glass \
 0000 0000 1c1c 3e3e \
 3636 3e3e 1c1c 0000 \
 0000 0000 1c1c 3e3e \
 3636 3e3e 1c1c 0000
 nsd,nwsd,hnsd,nsc/a,nwsc/a,nsm12c/a,nwsm12c/a,hnsc/a,hnsm12c/a,coll,clc \
 0808 1414 2222 4141 \
 8080 4040 2020 1010 \
 0808 1414 2222 4141 \
 8080 4040 2020 1010
 m2,fm2,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 \
 0000 1111 0000 0000 \
 0000 1111 0000 0000 \
 0000 1111 0000 0000 \
 0000 1111 0000 0000
 pdiff,apres,rpd,hpdif,hapres,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,anres,rnd,hndif,hanres,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,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/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,fp,pp,pn,pres,rp,pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/a,nfet,hnfet,pfet,hpfet 19
 pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/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,coll,clc 24
 gv1 28
 pdiff,apres,rpd,hpdif,hapres,pdc/a,pdm12c/a,hpdc/a,hpdm12c/a,pfet,hpfet 29
 psd,hpsd,psc/a,psm12c/a,hpsc/a,hpsm12c/a 30
 ndiff,anres,rnd,hndif,hanres,ndc/a,ndm12c/a,hndc/a,hndm12c/a,nfet,hnfet 31
 pc/a,ppc/a,pnc/a,pm12c/a,ppm12c/a,pnm12c/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

