I’m trying defining a new via with SKILL.I’ve try using function techCreateStdViaDef to do this but it seems not work.My technology file doesn’t have the new via’s definition and I can not create the via to my cell.Are there any other things I should do or any other functions I should use?By the Way,I’ve also tried defining a new via by modifying my technology file manually and I succeeded,but I still want to succeed with SKILL?
I think we need a little more info about how exactly you make the call to techCreateStdViaDef (..), it's return value and whether you get any errors. There's a lot of things that can go wrong like not having a valid techfile id, specifying invalid layers etc...
there is my code:
tf=techOpenTechFile(“techLibname” “tech.db” “a”)
myVia=techCreateStdViaDef(tf “M2_M1a” “Met1” “Met2” list(“Via1” 0.19 0.19) list(1 1 ‘(0.22 0.22)) ‘(0.05 0.05) ‘(0.05 0.05) ‘(0.0 0.0) ‘(0.0 0.0) ‘(0.0 0.0)
These codes are in a script and the CIW return “t” when I load the script.After more detailed check,I find that I can find the new via’s definition from the tech file that I dump from my tech library after I load the script. However,My orignial tech file still has no the via’s definition and I cannot still add the new via to my cell because I can not see the new via in “Create Via” form.
Besides,let me tell you how I define a new via manually.I added a new via’s definition to my tech file’ s standardViaDefs section and then added the new via’s definition name to all the interconnect section and it works.