# MOSIS configuration file
# Provided on an as is basis. Stabie-Soft does not
# warrant the correctness of this file.
# Please contact Stabie-Soft if you find errors. We will
# correct them as we are notified.
#
edbTFCreateView lay mask 1000 100 500 5
edbTFCreateView abs mask 1000 100 500 5
edbTFCreateLayer cont 25 mask white blank solid 0
edbTFCreateLayer pads 26 mask white blank solid 0
edbTFCreateLayer pwell 41 mask yellow fineDot solid 0
edbTFCreateLayer nwell 42 mask orange lightRand1 solid 0
edbTFCreateLayer actv 43 mask orange lightAngle135 solid 0
edbTFCreateLayer psel 44 mask yellow lightRand2 solid 0
edbTFCreateLayer nsel 45 mask orange lightRand2 solid 0
edbTFCreateLayer poly1 46 mask red fineDot solid 0
edbTFCreateLayer pcont 47 mask white blank solid 0
edbTFCreateLayer acont 48 mask white blank solid 0
edbTFCreateLayer met1 49 mask blue fineDot solid 0
edbTFCreateLayer via1 50 mask white X solid 0
edbTFCreateLayer met2 51 mask cyan lightRand2 solid 0
edbTFCreateLayer via2 61 mask white X solid 0
edbTFCreateLayer met3 62 mask red lightRand1 solid 0
edbTFCreateLayer ovgl 52 mask white X solid 0
edbTFCreateLayer poly2 56 mask red solid solid 0
edbTFCreateLayer pbase 58 mask white fineDot solid 0
edbTFCreateLayer cwell 59 mask white fineDot solid 0
edbTFCreateLayer violation 200 mask red lightRand1 solid 3 1 1 true
edbTFCreateLayer warning 201 mask orange lightRand1 solid 3 1 1 true
# Next define the details of the layers
# the fab order is unknown except for metal layers, but we guessed
edbTFSetLayerMaskInfo nwell { nwell } 1
edbTFSetLayerMaskInfo pwell { pwell } 2
edbTFSetLayerMaskInfo cwell { device } 3
edbTFSetLayerMaskInfo pbase { device } 4
edbTFSetLayerMaskInfo actv { device } 5
edbTFSetLayerMaskInfo nsel { ndiff device } 6
edbTFSetLayerMaskInfo psel { pdiff device } 7
edbTFSetLayerMaskInfo poly1 { interconnect gate } 8
edbTFSetLayerMaskInfo poly2 { interconnect } 9
edbTFSetLayerMaskInfo cont { insulation } 10
edbTFSetLayerMaskInfo met1 { interconnect } 11
edbTFSetLayerMaskInfo via1 { insulation } 12
edbTFSetLayerMaskInfo met2 { interconnect } 13
edbTFSetLayerMaskInfo via2 { insulation } 14
edbTFSetLayerMaskInfo met3 { interconnect } 15
edbTFSetLayerMaskInfo ovgl { interconnect } 16
# Standard contacts
edbTFDefineVia pCont {cont 2.0 2.0 4.0 4.0 } {{psel 1.0 1.0} {met1 1.0 1.0}}
edbTFDefineVia nCont {cont 2.0 2.0 4.0 4.0 } {{nsel 1.0 1.0} {met1 1.0 1.0}}
edbTFDefineVia polyCont {cont 2.0 2.0 4.0 4.0 } {{poly1 1.0 1.0} {met1 1.0 1.0}}
edbTFDefineVia v12 {via1 2.0 2.0 5.0 5.0 } {{met1 1.0 1.0} {met2 1.0 1.0}}
edbTFDefineVia v23 {via2 2.0 2.0 5.0 5.0 } {{met2 1.0 1.0} {met3 2.0 2.0}}
# define routing info
# order route width space pitch pref
edbTFSetLayerRteInfo poly1 0 2.0 2.0 6.0 Y
edbTFSetLayerRteInfo met1 1 3.0 3.0 7.0 X
edbTFSetLayerRteInfo met2 2 3.0 4.0 8.0 Y
edbTFSetLayerRteInfo met3 3 6.0 4.0 10.0 X
edbTFSetStartingFont 0 font1000