2010-07-14 07:11:00 -05:00
|
|
|
from DTR import *
|
2010-06-15 03:58:29 -05:00
|
|
|
|
2010-11-17 09:39:03 -06:00
|
|
|
techno = Techno(Name("myTech"), Name("micro"), Name("rev.A"))
|
2010-06-15 03:58:29 -05:00
|
|
|
|
2010-06-15 06:29:44 -05:00
|
|
|
techno.addRule (Name("transistorMinL"), 0.1 , Name("ref1"))
|
|
|
|
techno.addRule (Name("transistorMinW"), 0.2 , Name("ref2"))
|
|
|
|
techno.addRule (Name("minWidth") , 0.15, Name("ref3"), Name("metal1"))
|
|
|
|
techno.addRule (Name("minSpacing") , 0.2 , Name("ref4"), Name("metal1"))
|
|
|
|
techno.addRule (Name("minSpacing") , 0.1 , Name("ref5"), Name("active"), Name("poly"))
|
|
|
|
techno.addARule(Name("minExtension") , 0.2 , Name("ref6"), Name("poly"), Name("active"))
|
|
|
|
|
|
|
|
rule = techno.addRule(Name("minArea"), 0.1, Name("ref7"), Name("metal1"))
|
2010-06-15 03:58:29 -05:00
|
|
|
rule.setType(Name("area"))
|
|
|
|
|
|
|
|
techno.writeToFile("./out.dtr.xml")
|