<> <> <> <> <> <<>> DIRECTORY CD, CDIO, CDOps, Core, PWCore, Rope, RTTestUtil, SC; SCTestECC: CEDAR PROGRAM IMPORTS CDIO, CDOps, PWCore, RTTestUtil, SC SHARES SC = BEGIN result: SC.Result; libName: Rope.ROPE _"PLTCELLTest.dale"; hMaterial: Rope.ROPE _ "metal"; vMaterial: Rope.ROPE _ "metal2"; libDesign: CD.Design _ CDIO.ReadDesign[libName, NIL, CDIO.GetWorkingDirectory[]]; cellType: Core.CellType _ RTTestUtil.CreateCore[libName]; cdDesign: CD.Design _ CDOps.CreateDesign[libDesign.technology]; rules: SC.DesignRules _ SC.CreateDesignRules[libDesign.technology.key, hMaterial, vMaterial, horizontal]; handle: SC.Handle _ SC.CreateHandle[cellType: cellType, flattenCellType: NIL, libName: libName, designRules: rules, name: "SCTestECC", decoration: PWCore.extractMode.decoration]; SC.InitialPlace[handle, 0]; SC.SAPlaceImprove[handle: handle, saParms: SC.SAGetParms[handle, SC.SAInitialPlace[handle], cellType]]; SC.GlobalRoute[handle]; SC.PosImprove[handle, 1]; SC.OrientImprove[handle, 1]; result _ SC.DetailRoute[handle]; RTTestUtil.WriteLayout[result.object, handle.name, cdDesign]; END.