CifToCD.mesa
Copyright Ó 1987 by Xerox Corporation. All rights reserved.
written by Ch. LeCocq, September 16, 1987
Christian Le Cocq September 16, 1987 1:06:46 pm PDT
Conversion of format form CIF to ChipNDale
DIRECTORY
CD USING [Design, Layer, Transformation],
IO USING [STREAM],
Rope USING [ROPE];
CifToCD: CEDAR DEFINITIONS
~ BEGIN
RegisterLayer: PROC [regKey: ATOM, cifName: Rope.ROPE, cdLayer: CD.Layer, compensation: INT ← 0] RETURNS [found: BOOLEAN];
registers the correspondance between a CIF layer name and a CD.Layer, with an optional compensation, for a given set of CIF conventions (i.e. a given atom).
ReadFile: PROC [cifFile: IO.STREAM, design: CD.Design, regKey: ATOM, basicTransf: CD.Transformation ← [], cifPerLambda: INT ← 100, commented: BOOLEANFALSE] RETURNS [errMsg: Rope.ROPE];
END.