diff --git a/alliance/src/genlib/man3/GENLIB_FLATTEN_ALL_LOINS.3 b/alliance/src/genlib/man3/GENLIB_FLATTEN_ALL_LOINS.3 index 9a5ee24f..33252474 100644 --- a/alliance/src/genlib/man3/GENLIB_FLATTEN_ALL_LOINS.3 +++ b/alliance/src/genlib/man3/GENLIB_FLATTEN_ALL_LOINS.3 @@ -1,4 +1,4 @@ -.\" $Id: GENLIB_FLATTEN_ALL_LOINS.3,v 1.1 2002/03/08 14:08:10 fred Exp $ +.\" $Id: GENLIB_FLATTEN_ALL_LOINS.3,v 1.2 2002/12/12 21:27:37 xtof Exp $ .\" @(#)GENLIB_FLATTEN_ALL_LOINS.3 2.11 91/08/22; Labo Cao-vlsi; Author : Frederic Petrot .if t \{\ .so man1/alc_contents.mac @@ -16,8 +16,8 @@ GENLIB_FLATTEN_ALL_LOINS \- flatten all instances in the current netlist figure .if t \{\ .ft CR \} #include -void GENLIB_FLATTEN_ALL_LOINS(concat) -char concat; +void GENLIB_FLATTEN_ALL_LOINS(concat, catal) +char concat, catal; .ft R .fi .so man1/alc_origin.1 @@ -25,6 +25,8 @@ char concat; .TP 20 \fIconcat\fP Indicate whether or not to concatenate instance name to instance' objects name +\fIcatal\fP +Indicate whether or not to look in the catalog file before flattening a cell .SH DESCRIPTION \fBFLATTEN_ALL_LOINS\fP inserts the contents of all the instances of the current figure in the current figure. @@ -43,6 +45,14 @@ In most case, the \fIconcat\fP value must be \fBYES\fP, in order to warranty the unicity of names in the figure. It may otherwise fail, because the function would try to add in the current figure some object with an already existing name. +The \fIcatal\fP parameter may also take two values: +.TP +\fBYES\fP +to check the catalog file to see if the model of an instance is in it. +If the model belong to the catalog, then it is \fInot\fR flattened. +.TP +\fBNO\fP +in this case, no checks are done, and every instance is flattened. .SH EXAMPLE .nf .if n \{\ @@ -60,7 +70,7 @@ main() /\(** Place an instance \(**/ GENLIB_LOINS("model","instance", "sig1", "sig2", EOL); /\(** flatten all figure instance \(**/ - GENLIB_FLATTEN_ALL_LOINS(YES); + GENLIB_FLATTEN_ALL_LOINS(YES, YES); /\(** Save all that on disk \(**/ GENLIB_SAVE_LOFIG(); } @@ -68,8 +78,9 @@ main() .fi .SH SEE ALSO .BR genlib (1), -.BR GENLIB_LOINS (3) -.BR GENLIB_FLATTEN_LOFIG (3). +.BR GENLIB_LOINS (3), +.BR GENLIB_FLATTEN_LOFIG (3), +.BR GENLIB_FLATTEN_ALL_PHINS(3). .so man1/alc_bug_report.1 diff --git a/alliance/src/genlib/man3/GENLIB_FLATTEN_ALL_PHINS.3 b/alliance/src/genlib/man3/GENLIB_FLATTEN_ALL_PHINS.3 index 9822fa24..63298243 100644 --- a/alliance/src/genlib/man3/GENLIB_FLATTEN_ALL_PHINS.3 +++ b/alliance/src/genlib/man3/GENLIB_FLATTEN_ALL_PHINS.3 @@ -1,4 +1,4 @@ -.\" $Id: GENLIB_FLATTEN_ALL_PHINS.3,v 1.1 2002/03/08 14:08:10 fred Exp $ +.\" $Id: GENLIB_FLATTEN_ALL_PHINS.3,v 1.2 2002/12/12 21:27:37 xtof Exp $ .\" @(#)GENLIB_FLATTEN_ALL_PHINS.3 2.11 91/08/22; Labo Cao-vlsi; Author : Frederic Petrot .if t \{\ .so man1/alc_contents.mac @@ -26,7 +26,7 @@ char concat, catal; \fIconcat\fP Indicate whether or not to concatenate instance name to instance' objects name .TP 20 -\fIconcat\fP +\fIcatal\fP Indicate whether or not to look in the catalog file before flattening a cell .SH DESCRIPTION \fBFLATTEN_ALL_PHINS\fP inserts the contents of all the instances of the @@ -86,7 +86,8 @@ main() .BR GENLIB_PLACE_TOP (3), .BR GENLIB_PLACE_BOTTOM (3), .BR GENLIB_PLACE_ON (3), -.BR GENLIB_FLATTEN_PHFIG (3). +.BR GENLIB_FLATTEN_PHFIG (3), +.BR GENLIB_FLATTEN_ALL_LOINS(3). .so man1/alc_bug_report.1