(*------------------------------------------------------------------------*)
DEFINITION MODULE PADS;

(*------------------------------------------------------------------------*)
(*  Pads & simple pad placement for MLAP.  To start with we just try to   *)
(*  produce a pad ring, given the list of pads.                           *)
(*------------------------------------------------------------------------*)

FROM KERN IMPORT CELL, PORT, INST, NET, DIRN ;

EXPORT QUALIFIED PAD, FindPad, BeginChip, 
                 Pad,Pad1,Pad2,Pad3,Pad4, Corner, EndChip ;

TYPE PAD ;

PROCEDURE FindPad (padtype:ARRAY OF CHAR) : PAD ;

(*  Begin at bottom left, & go round anti-clockwise  *)

PROCEDURE BeginChip (chipname:ARRAY OF CHAR; chip:CELL; powwid:INTEGER) ;
PROCEDURE Pad (name:ARRAY OF CHAR; pad:PAD) ;
PROCEDURE Pad1(name:ARRAY OF CHAR; pad:PAD; p1:PORT) ;
PROCEDURE Pad2(name:ARRAY OF CHAR; pad:PAD; p1,p2:PORT) ;
PROCEDURE Pad3(name:ARRAY OF CHAR; pad:PAD; p1,p2,p3:PORT) ;
PROCEDURE Pad4(name:ARRAY OF CHAR; pad:PAD; p1,p2,p3,p4:PORT) ;
PROCEDURE Corner () ;
PROCEDURE EndChip (chipname:ARRAY OF CHAR) ;

END PADS.
(*------------------------------------------------------------------------*)
