<> <> <> <> <<>> <> <<>> DIRECTORY CD, CDIO, Core, GC, IPMainViewer, PW, PWCore, Rope, RTCoreUtil, RTStructure, RTTestUtil; GCTestTiny: CEDAR PROGRAM IMPORTS GC, PW, PWCore, RTCoreUtil, RTTestUtil SHARES GC = BEGIN libName: Rope.ROPE _"SCLibCMOSB.dale"; hMaterial: Rope.ROPE _ "metal"; vMaterial: Rope.ROPE _ "metal2"; cellType: Core.CellType _ RTTestUtil.CreateCore[libName]; technologyKey: ATOM _ $cmosB; -- $cmosA or $cmosB name: Rope.ROPE _ "GCTestTiny"; result: GC.Result; context: GC.Context; rulesKey: ATOM _ $cmosB; rules: GC.DesignRules _ GC.CreateDesignRules[rulesKey, technologyKey, hMaterial, vMaterial]; structure: RTStructure.Structure _ GC.CreateStructure[cellType, RTCoreUtil.defaultFlatten, PWCore.extractMode.decoration, NIL]; GC.InitialPlace[structure]; context _ GC.CreateContext[name, structure, rules]; -- IPMainViewer.BuildViewer[name]; -- IPMainViewer.SetTopTo[NARROW[context.topology], structure.name, FALSE]; GC.DoInitialGlobalRoute[context, power, goodInternal]; result _ GC.DoDetailRoute[context, generalCell]; <> [] _ PW.Draw[result.object]; END.