SCTestSmall.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
Last Edited by: Preas, September 5, 1985 10:39:21 am PDT
Frank Bowers December 20, 1985 2:38:20 pm PST
Bryan Preas April 7, 1986 9:56:18 am PST
To run the standard cell test package: SCTestSmall.cm
DIRECTORY
CD, CDIO, CDOps, Core, Rope, SC, RTTestUtil;
SCTestSmall: CEDAR PROGRAM
IMPORTS CDIO, CDOps, SC, RTTestUtil
SHARES SC =
BEGIN
result: SC.Result;
libName: Rope.ROPE ←"SCTestLib.dale";
hMaterial: Rope.ROPE ← "metal";
vMaterial: Rope.ROPE ← "poly";
libDesign: CD.Design ← CDIO.ReadDesign[libName, NIL, CDIO.GetWorkingDirectory[]];
cellType: Core.CellType ← RTTestUtil.CreateCore[libName];
saParms: SC.SAParms;
initialResult: SC.SAInitialResult;
cdDesign: CD.Design ← CDOps.CreateDesign[libDesign.technology];
result ← RTTestUtil.DoLayout[cellType, NIL, libDesign, hMaterial, vMaterial];
rules: SC.DesignRules ← SC.CreateDesignRules[cdDesign.technology.key, hMaterial, vMaterial, horizontal];
handle: SC.Handle ← SC.CreateHandle[cellType, NIL, libName, rules, "SCTestSmall"];
SC.InitialPlace[handle, 5];
initialResult ← SC.SAInitialPlace[handle];
-- saParms.fzTabSize ← 200; saParms.fzVarLimit ← 0.02; saParms.alpha ← 0.96;
saParms ← SC.SAGetParms[handle, initialResult, cellType];
SC.SAPlaceImprove[handle: handle, saParms: saParms];
SC.GlobalRoute[handle];
SC.PosImprove[handle, 5];
SC.OrientImprove[handle, 5];
result ← SC.DetailRoute[handle];
RTTestUtil.WriteLayout[result.object, handle.name, cdDesign];
SC.Destroy[handle];
END.