TestPadFrame.mesa
Copyright © 1986 by Xerox Corporation. All rights reserved.
Louis Monier June 14, 1986 6:34:00 pm PDT
Bertrand Serlet June 3, 1986 7:02:07 pm PDT
DIRECTORY CD, CoreCreate, PadFrame, PW, PWCore;
TestPadFrame: CEDAR PROGRAM
IMPORTS 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, ["toChip", "top1"]];
iL ← PadFrame.AddPad[iL, "Top2", $In, 6, ["toChip", "top2"]];
iL ← PadFrame.AddPad[iL, "Top3", $In, 11, ["toChip", "top3"]];
iL ← PadFrame.AddPad[iL, "Xx", $In, 15, ["toChip", "xx"]];
iL ← PadFrame.AddPad[iL, "Yy", $In, 16, ["toChip", "yy"]];
iL ← PadFrame.AddPad[iL, NIL, $Logo, 17];
cellType ← Cell[name: "WholeChip",
public: Wires["Top1", "Top2", "Top3", "Xx", "Yy", "PadVdd", "PadGnd", "Vdd", "Gnd"],
onlyInternal: Wires["top1", "top2", "top3", "xx", "yy"],
instances: iL];
PWCore.SetLayout[cellType, $PadFrame, PadFrame.padFrameParamsProp, NEW[PadFrame.PadFrameParametersRec ← [nbPadsX: 5, nbPadsY: 4, horizLayer: "met", vertLayer: "met2"]]];
};
END.