SimpleInv.mesa
Copyright © 1985 by Xerox Corporation. All rights reversed.
Barth, August 1, 1985 2:31:39 pm PDT
Spreitzer, October 2, 1985 9:48:15 pm PDT
DIRECTORY BasicTime, BitTwiddling, Core, CoreOps, CoreProperties, CoreUnspecified, GetMe, IO, Rope, RoseBehavior, RoseBind;
SimpleInv:
CEDAR
PROGRAM
IMPORTS CoreOps, CoreUnspecified
=
BEGIN OPEN Core, CoreOps, CoreProperties, CoreUnspecified, RoseBind;
DefineInverter:
PROC [design: Design]
RETURNS [ct: CellType] = {
in: Wire ← CreateAtomWire["in"];
out: Wire ← CreateAtomWire["out"];
pw: Wire ← CreateRecordWire[NIL, LIST[in, out]];
ct ←
NEW [CellTypeRec ← [
name: "SimpleInv",
publicWire: pw,
class: unspecifiedCellClass
]];
InsertCellType[design, ct];
};
END.