DIRECTORY CD, CDIO, CDOps, Core, PW, Rope, SC, SCTestUtil; SCTestPW: CEDAR PROGRAM IMPORTS CDIO, CDOps, PW, Rope, SC, SCTestUtil SHARES SC = BEGIN debug: BOOLEAN _ FALSE; TestSCTiny: PW.UserProc = BEGIN cellType: Core.CellType; result: SC.Result; cdDesign: CD.Design; rules: SC.DesignRules; handle: SC.Handle; libName: Rope.ROPE _"SCTestLib.dale"; hMaterial: Rope.ROPE _ "metal"; vMaterial: Rope.ROPE _ "poly"; libDesign: CD.Design _ CDIO.ReadDesign[libName]; cellType _ SCTestUtil.CreateCore[]; IF libDesign = NIL THEN SC.Signal[callingError, Rope.Cat["Unable to load library: ", libName]]; cdDesign _ CDOps.CreateDesign[libDesign.technology]; rules _ SC.CreateDesignRules[cdDesign.technology.key, hMaterial, vMaterial, horizontal]; handle _ SC.CreateHandle[cellType, cdDesign, libDesign, rules, "SCTestPW"]; SC.InitialPlace[handle, 5]; SC.PlaceImprove[handle: handle, t0: 70000, eqVarLimit: 0.04, fzVarLimit: 0.04, alpha: 0.97]; SC.GlobalRoute[handle]; SC.PosImprove[handle, 5]; SC.OrientImprove[handle, 5]; result _ SC.DetailRoute[handle]; SC.Destroy[handle]; RETURN[result.object]; END; PW.Register[TestSCTiny, "TestSCTiny"]; END. ¨SCTestPW.mesa Copyright c 1985 by Xerox Corporation. All rights reserved. Last Edited by: Preas, September 5, 1985 10:39:21 am PDT Bryan Preas September 5, 1985 10:37:21 am PDT Use the file SCTestPW.cm to test routing: Install Sc cdread SCTestPW run SCTestPW middle click P in the ChipNDale viewer select the appropriate generator result _ SCTestUtil.DoLayout[cellType, cdDesign, libDesign, hMaterial, vMaterial]; Κ˜Jšœ ™ Jšœ Οmœ1™<™8Icode™-—J™šœ)™)J™ Jšœ™Jšœ ™ J™&J™ J™—šΟk œ˜ Jšžœ˜Jšžœ˜J˜J˜J˜Jšœ˜Jšžœ˜Jšœ ˜ —J˜šœ žœž˜J˜Jšžœžœžœ ˜-Jšžœžœ˜ —˜Jšž˜Jšœžœžœ˜J˜šΟb œžœ ˜Jšž˜Jšœ˜Jšœžœ˜Jšœ žœ˜Jšœžœ ˜Jšœžœ˜Jšœžœ˜%Jšœžœ ˜Jšœžœ ˜Jšœ žœ žœ˜0J˜Jšœ#˜#šžœ žœžœ˜JšžœE˜G—Jšœ4˜4JšœR™RJšœžœN˜XJšœ žœ@˜KJšžœ˜JšžœZ˜\Jšžœ˜Jšžœ˜Jšžœ˜Jšœ žœ˜ Jšœ˜Jšžœ˜J˜Jšžœ˜J˜—J˜Jšžœ$˜&J˜Jšžœ˜——…—|>