<> <> <> <> <> <<>> <> <<>> DIRECTORY CD, CDIO, CDOps, Core, PWCore, Rope, RTCoreUtil, SC, SCPrivate, RTTestUtil; SCTestTiny: CEDAR PROGRAM IMPORTS CDIO, CDOps, PWCore, RTCoreUtil, SC, RTTestUtil SHARES SC = BEGIN result: SC.Result; libName: Rope.ROPE _"SCTestLib.dale"; hMaterial: Rope.ROPE _ "metal"; vMaterial: Rope.ROPE _ "poly"; cellType: Core.CellType _ RTTestUtil.CreateCore[libName]; numRows: INT _ 2; cdDesign: CD.Design _ CDOps.CreateDesign[CDIO.ReadDesign[libName].technology]; rules: SC.DesignRules _ SC.CreateDesignRules[cdDesign.technology.key, hMaterial, vMaterial, horizontal]; handle: SC.Handle _ SC.CreateHandle[cellType: cellType, flattenCellType: RTCoreUtil.defaultFlatten, libName: libName, designRules: rules, name: "SCTestTiny", decoration: PWCore.extractMode.decoration]; SC.InitialPlace[handle, numRows]; -- SCPrivate.SCRandomTest[handle, 10000, 0]; SC.SAPlaceImproveM[handle: handle, saParms: SC.SAGetParms[handle, SC.SAInitialPlace[handle], cellType]]; SC.GlobalRoute[handle]; SC.PosImprove[handle]; SC.OrientImprove[handle]; result _ SC.DetailRoute[handle]; RTTestUtil.WriteLayout[result.object, handle.name, cdDesign]; SC.Destroy[handle]; END.