EcadOps.mesa
Copyright Ó 1987 by Xerox Corporation. All rights reserved.
Christian Le Cocq October 7, 1987 3:27:34 pm PDT
EcadOps:
CEDAR
DEFINITIONS ~
BEGIN
CheckDRC:
PROC [instance:
CD.Instance, design:
CD.Design, rules: Rope.
ROPE]
RETURNS [noErrors:
BOOLEAN];
checks the instance according to the specified rules.
ExecuteRemoteECAD:
PROC [topCellName, rules: Rope.
ROPE]
RETURNS [errmsg: Rope.
ROPE];
Sends the files and relevant commands to a Unix host, fetches the resulting files back. errmsg#NIL => see WaitForOk.
noError: Rope.
ROPE;
--the message of ExecuteRemoteECAD for no errors
WaitForOk:
PROC[topCellName: Rope.
ROPE]
RETURNS [msg: Rope.
ROPE];
waits for the return of the DRC output. Only one job at any time !
msg#NIL means that a failure occured during the transmission, not during the execution of ECAD itself, except for the msg noError ("No Errors !!!") which means that the transmission was deliberately terminated before the fetch of the resulting cif file (which is not empty, but does not carry any information, of course).