DIRECTORY CD, CDIO, CDOps, Core, Rope, RTCoreUtil, RTTestUtil, SC, SCExprGlobalRoute, SCNewWidth, SCPrivate, SCUtil; SCExprTestSmall: CEDAR PROGRAM IMPORTS CDIO, CDOps, -- RTCoreUtil, -- RTTestUtil, Rope, SC, SCExprGlobalRoute, SCNewWidth, SCUtil -- SCPrivate, -- SHARES SC = BEGIN result: SC.Result; libName: Rope.ROPE _"SCLibCMOSB.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[cdDesign.technology.key, hMaterial, vMaterial, horizontal]; handle: SC.Handle _ SC.CreateHandle[cellType: cellType, flattenCellType: NIL, libName: libName, designRules: rules, name: "SCExprTestSmall"]; SC.InitialPlace[handle, 5]; SCUtil.WriteTWFiles[handle]; IF SCUtil.TWIt[handle.name]#NIL THEN SC.Error[callingError, Rope.Cat["Problem on Unix Placement Server. Check file ", handle.name, ".out"]]; SCUtil.ReadTWPlace[handle: handle]; SC.InitialPlace[handle, 5]; SCExprGlobalRoute.GlobalRouteAllNets[handle]; SCNewWidth.ComputeAllChanDW[handle, areaFom]; result _ SCExprGlobalRoute.DetailRoute[handle]; RTTestUtil.WriteLayout[result.object, handle.name, cdDesign]; SC.Destroy[handle]; END. βSCExprTestSmall.mesa Copyright Σ 1985, 1987 by Xerox Corporation. All rights reserved. Last Edited by: Preas, September 5, 1985 10:39:21 am PDT Christian Le Cocq December 10, 1987 10:21:57 am PST Jean-Marc Frailong October 14, 1987 6:12:00 pm PDT Cong, August 27, 1987 2:58:46 pm PDT Frank Bowers December 20, 1985 2:38:20 pm PST Bryan Preas March 26, 1988 2:07:49 pm PST To test the standard cell test package: SCTestSmall.cm SCPrivate.NewPosImprove[handle, areaFom, 2]; Κ‘˜codešœ™KšœB™BKšœ5Οk™8K™3K™2šœ!™$Kšœ*™-Kšœ)™)K™—K™6—K™š œ˜ Kšœœ-œ4˜k—K˜šΟnœœ˜K˜Kš œœ Οcœœ(Ÿœ˜tKšœœ˜—Kšœœ˜Kšœœ˜&Kšœœ ˜Kšœœ ˜ Kš œ œ œœœ˜QKšœ9˜9Kšœ œ3˜?KšœœœN˜hKšœœ œ3œA˜Kšœ˜Kšœ˜Jšœœœœe˜ŒKšœ#˜#Kšœ˜Kšœ-˜-Jšœ,™,Kšœ-˜-Kšœ/˜/Kšœ=˜=Kšœ˜K˜Kšœ˜—…—HΛ