<> <> <> DIRECTORY CD, CMosB, CoreCreate, PadFrame, PW, PWCore; PadFrameTest: CEDAR PROGRAM IMPORTS CMosB, CoreCreate, PadFrame, PW, PWCore = BEGIN OPEN CoreCreate; padDesign: CD.Design _ PW.OpenDesign["testpadframe"]; innerCt: CellType _ PWCore.FromLayoutWithoutPublic[PW.Get[padDesign, "inner"]]; CreateWholeChip: PROC RETURNS [cellType: CellType] = { iL: CellInstances _ LIST [Instance[innerCt]]; iL _ PadFrame.AddPad[iL, "Top1", $In, 2, ["Chip", "top1"]]; iL _ PadFrame.AddPad[iL, "Top2", $In, 6, ["Chip", "top2"]]; iL _ PadFrame.AddPad[iL, "Top3", $In, 11, ["Chip", "top3"]]; iL _ PadFrame.AddPad[iL, "Seul", $In, 15, ["Chip", "seul"]]; cellType _ Cell[name: "WholeChip", public: Wires["Top1", "Top2", "Top3", "Seul", "PadVdd", "PadGnd", "Vdd", "Gnd"], onlyInternal: Wires["top1", "top2", "top3", "seul"], instances: iL]; PWCore.SetLayout[cellType, $PadFrame, PadFrame.padFrameParamsProp, NEW[PadFrame.PadFrameParametersRec _ [nbPadsX: 5, nbPadsY: 4, radialLayer: CMosB.met, ringLayer: CMosB.met2]]]; }; END.