SCTestED.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
Last Edited by: Preas, September 5, 1985 10:39:21 am PDT
Frank Bowers March 25, 1986 9:12:21 am PST
Bryan Preas March 24, 1986 4:54:06 pm PST
To run the standard cell test package: SCTestXXXX.cm (XXXX -> Tiny or Small
DIRECTORY
CD,
CDIO,
CDOps,
Core,
CoreCompose,
Rope,
SC,
SCTestUtil;
SCTestED: CEDAR PROGRAM
IMPORTS CDIO, CDOps, Rope, SC, SCTestUtil
SHARES SC =
BEGIN
context: CoreCompose.Context;
cellType: Core.CellType;
result: SC.Result;
cdDesign: CD.Design;
libName: Rope.ROPE ←"PLTCELLTest.dale";
hMaterial: Rope.ROPE ← "metal";
vMaterial: Rope.ROPE ← "metal2";
libDesign: CD.Design ← CDIO.ReadDesign[libName];
[context, cellType] ← SCTestUtil.CreateCore[];
IF libDesign = NIL THEN
SC.Signal[callingError, Rope.Cat["Unable to load library: ", libName]];
cdDesign ← CDOps.CreateDesign[libDesign.technology];
result ← SCTestUtil.DoLayout[context, cellType, cdDesign, libDesign, hMaterial, vMaterial];
SCTestUtil.WriteLayout[result, cdDesign];
END.