From 5d8bc21a5f2c7342433f57a7977b835f6e8b2cfa Mon Sep 17 00:00:00 2001 From: Pierre Nguyen Tuong Date: Fri, 16 Aug 2002 18:40:25 +0000 Subject: [PATCH] Ajout des fonctions setlocap, setlores et setloself pour positionner les valeurs des capacites, resistances et inductances. Ajout des articles correspondant dans Makefile.am Ajout des articles get(loca,lores,loself).3 dans le Makefile.am (un oubli...) --- alliance/src/mbk/man3/Makefile.am | 6 +++ alliance/src/mbk/man3/getlocap.3 | 3 +- alliance/src/mbk/man3/locap.3 | 4 +- alliance/src/mbk/man3/lores.3 | 4 +- alliance/src/mbk/man3/loself.3 | 4 +- alliance/src/mbk/man3/setlocap.3 | 83 +++++++++++++++++++++++++++++++ alliance/src/mbk/man3/setlores.3 | 83 +++++++++++++++++++++++++++++++ alliance/src/mbk/man3/setloself.3 | 83 +++++++++++++++++++++++++++++++ 8 files changed, 266 insertions(+), 4 deletions(-) create mode 100644 alliance/src/mbk/man3/setlocap.3 create mode 100644 alliance/src/mbk/man3/setlores.3 create mode 100644 alliance/src/mbk/man3/setloself.3 diff --git a/alliance/src/mbk/man3/Makefile.am b/alliance/src/mbk/man3/Makefile.am index 6fcc2967..8e69cb4b 100644 --- a/alliance/src/mbk/man3/Makefile.am +++ b/alliance/src/mbk/man3/Makefile.am @@ -19,6 +19,12 @@ man_MANS = addcapa.3 \ addphseg.3 \ addphvia.3 \ addptype.3 \ + getlocap.3 \ + getlores.3 \ + getloself.3 \ + setlocap.3 \ + setlores.3 \ + setloself.3 \ alliancebanner.3 \ append.3 \ bigvia.3 \ diff --git a/alliance/src/mbk/man3/getlocap.3 b/alliance/src/mbk/man3/getlocap.3 index 599ba06e..b7ae00cb 100644 --- a/alliance/src/mbk/man3/getlocap.3 +++ b/alliance/src/mbk/man3/getlocap.3 @@ -1,4 +1,4 @@ -.\" $Id: getlocap.3,v 1.1 2002/08/14 21:56:40 pnt Exp $ +.\" $Id: getlocap.3,v 1.2 2002/08/16 18:40:24 pnt Exp $ .\" @(#)getlocap.2 2.11 2002/08/14 ; Labo LIP6/ASIM cao-vlsi; Author : Pierre Nguyen Tuong .if t \{\ .so man1/alc_contents.mac @@ -70,6 +70,7 @@ locap_list \(**exist(char \(**figname,char \(**capname) .BR lofig (3), .BR locap (3), .BR addlocap (3), +.BR setlocap (3), .BR dellocap (3). diff --git a/alliance/src/mbk/man3/locap.3 b/alliance/src/mbk/man3/locap.3 index 8d14d0eb..482bd565 100644 --- a/alliance/src/mbk/man3/locap.3 +++ b/alliance/src/mbk/man3/locap.3 @@ -1,4 +1,4 @@ -.\" $Id: locap.3,v 1.1 2002/08/14 20:41:56 pnt Exp $ +.\" $Id: locap.3,v 1.2 2002/08/16 18:40:24 pnt Exp $ .\" @(#)locap.l 0.0 90/22/08 UPMC; Author: Pierre Nguyen Tuong .if t \{\ .so man1/alc_contents.mac @@ -82,7 +82,9 @@ This field is used with the \fBLOCAP_INFO\fP(3) ptype to store physical informat .SH SEE ALSO .BR mbk (1), .BR addlocap (3), +.BR getlocap (3), .BR dellocap (3), +.BR setlocap (3), .BR locon (3), .BR lofig (3), .BR ptype (3). diff --git a/alliance/src/mbk/man3/lores.3 b/alliance/src/mbk/man3/lores.3 index ddf91dc7..2b9bddbd 100644 --- a/alliance/src/mbk/man3/lores.3 +++ b/alliance/src/mbk/man3/lores.3 @@ -1,4 +1,4 @@ -.\" $Id: lores.3,v 1.1 2002/08/14 20:41:56 pnt Exp $ +.\" $Id: lores.3,v 1.2 2002/08/16 18:40:24 pnt Exp $ .\" @(#)lores.l 0.0 90/22/08 UPMC; Author: Pierre Nguyen Tuong .if t \{\ .so man1/alc_contents.mac @@ -78,7 +78,9 @@ This field is used with the \fBLORES_INFO\fP(3) ptype to store physical informat .SH SEE ALSO .BR mbk (1), .BR addlores (3), +.BR getlores (3), .BR dellores (3), +.BR setlores (3), .BR locon (3), .BR lofig (3), .BR ptype (3). diff --git a/alliance/src/mbk/man3/loself.3 b/alliance/src/mbk/man3/loself.3 index 4cfbbcac..52104e6d 100644 --- a/alliance/src/mbk/man3/loself.3 +++ b/alliance/src/mbk/man3/loself.3 @@ -1,4 +1,4 @@ -.\" $Id: loself.3,v 1.1 2002/08/14 20:41:56 pnt Exp $ +.\" $Id: loself.3,v 1.2 2002/08/16 18:40:24 pnt Exp $ .\" @(#)loself.l 0.0 90/22/08 UPMC; Author: Pierre Nguyen Tuong .if t \{\ .so man1/alc_contents.mac @@ -76,7 +76,9 @@ pointer used to share informations on the inductor. .SH SEE ALSO .BR mbk (1), .BR addloself (3), +.BR getloself (3), .BR delloself (3), +.BR setloself (3), .BR locon (3), .BR lofig (3), .BR ptype (3). diff --git a/alliance/src/mbk/man3/setlocap.3 b/alliance/src/mbk/man3/setlocap.3 new file mode 100644 index 00000000..3edd47c0 --- /dev/null +++ b/alliance/src/mbk/man3/setlocap.3 @@ -0,0 +1,83 @@ +.\" $Id: setlocap.3,v 1.1 2002/08/16 18:40:25 pnt Exp $ +.\" @(#)setlocap.2 2.11 2002/08/14 ; Labo LIP6/ASIM cao-vlsi; Author : Pierre Nguyen Tuong +.if t \{\ +.so man1/alc_contents.mac +.XS \n% +.ti 0.2i +setlocap +.XE +.XS2 \n% +.ti 0.2i +setlocap +.XE2 \} +.TH SETLOCAP 3 "August 14, 2002" "ASIM/LIP6" "MBK LOGICAL FUNCTIONS" +.SH NAME +setlocap \- set the capacitance value of a logical capacitor +.so man1/alc_origin.1 +.SH SYNOPSYS +.nf +.if n \{\ +.ft B \} +.if t \{\ +.ft CR \} +#include "mlo.h" + +void setlocap(ptfig,name,newcapa) +lofig_list \(**ptfig ; +const char \(**name ; +double newcapa ; +.ft R +.fi +.SH PARAMETERS +.TP 20 +\fIptfig\fP +Pointer to the figure in which the capacitor should be seeked +.TP +\fIname\fP +Instance name of the capacitor +.TP +\fInewcapa\fP +New capacitance value +.SH DESCRIPTION +\fBsetlocap\fP looks in the list of capacitors of the logical model pointed +to by \fIptfig\fP for a capacitor identified by its instance \fIname\fP and set +the CAPA field to the newcapa value. +.SH RETURN VALUE +None +.SH ERRORS +.if n \{\ +.ft B \} +.if t \{\ +.ft CR \} +"\(**\(**\(** mbk error \(**\(**\(** setlocap impossible : +capacitor \fIname\fP doesn't exist in figure \fIptfig \-> NAME\fP" +.ft R +.RS +No capacitor matches the name. +.RE +.SH EXAMPLE +.ta 3n 6n 9n 12n 15n 18n 21n +.nf +.if n \{\ +.ft B \} +.if t \{\ +.ft CR \} +#include "mlo.h" + +void set_locap_value(char \(**figname,char \(**capname,double newcapa) +{ + setlocap(getlofig(figname),capname,newcapa) ; +} +.ft R +.fi +.SH SEE ALSO +.BR mbk (1), +.BR lofig (3), +.BR locap (3), +.BR addlocap (3), +.BR getlocap (3), +.BR dellocap (3). + + +.so man1/alc_bug_report.1 + diff --git a/alliance/src/mbk/man3/setlores.3 b/alliance/src/mbk/man3/setlores.3 new file mode 100644 index 00000000..7256bba7 --- /dev/null +++ b/alliance/src/mbk/man3/setlores.3 @@ -0,0 +1,83 @@ +.\" $Id: setlores.3,v 1.1 2002/08/16 18:40:25 pnt Exp $ +.\" @(#)setlores.2 2.11 2002/08/14 ; Labo LIP6/ASIM cao-vlsi; Author : Pierre Nguyen Tuong +.if t \{\ +.so man1/alc_contents.mac +.XS \n% +.ti 0.2i +setlores +.XE +.XS2 \n% +.ti 0.2i +setlores +.XE2 \} +.TH SETLORES 3 "August 14, 2002" "ASIM/LIP6" "MBK LOGICAL FUNCTIONS" +.SH NAME +setlores \- set the resistance value of a logical resistor +.so man1/alc_origin.1 +.SH SYNOPSYS +.nf +.if n \{\ +.ft B \} +.if t \{\ +.ft CR \} +#include "mlo.h" + +void setlores(ptfig,name,newresi) +lofig_list \(**ptfig ; +const char \(**name ; +double newresi ; +.ft R +.fi +.SH PARAMETERS +.TP 20 +\fIptfig\fP +Pointer to the figure in which the resistor should be seeked +.TP +\fIname\fP +Instance name of the resistor +.TP +\fInewresi\fP +New resistance value +.SH DESCRIPTION +\fBsetlores\fP looks in the list of resistors of the logical model pointed +to by \fIptfig\fP for a resistor identified by its instance \fIname\fP and set +the RESI field to the newresi value. +.SH RETURN VALUE +None +.SH ERRORS +.if n \{\ +.ft B \} +.if t \{\ +.ft CR \} +"\(**\(**\(** mbk error \(**\(**\(** setlores impossible : +resistor \fIname\fP doesn't exist in figure \fIptfig \-> NAME\fP" +.ft R +.RS +No resistor matches the name. +.RE +.SH EXAMPLE +.ta 3n 6n 9n 12n 15n 18n 21n +.nf +.if n \{\ +.ft B \} +.if t \{\ +.ft CR \} +#include "mlo.h" + +void set_lores_value(char \(**figname,char \(**resname,double newresi) +{ + setlores(getlofig(figname),resname,newresi) ; +} +.ft R +.fi +.SH SEE ALSO +.BR mbk (1), +.BR lofig (3), +.BR lores (3), +.BR addlores (3), +.BR getlores (3), +.BR dellores (3). + + +.so man1/alc_bug_report.1 + diff --git a/alliance/src/mbk/man3/setloself.3 b/alliance/src/mbk/man3/setloself.3 new file mode 100644 index 00000000..a5ee662d --- /dev/null +++ b/alliance/src/mbk/man3/setloself.3 @@ -0,0 +1,83 @@ +.\" $Id: setloself.3,v 1.1 2002/08/16 18:40:25 pnt Exp $ +.\" @(#)setloself.2 2.11 2002/08/14 ; Labo LIP6/ASIM cao-vlsi; Author : Pierre Nguyen Tuong +.if t \{\ +.so man1/alc_contents.mac +.XS \n% +.ti 0.2i +setloself +.XE +.XS2 \n% +.ti 0.2i +setloself +.XE2 \} +.TH SETLOSELF 3 "August 14, 2002" "ASIM/LIP6" "MBK LOGICAL FUNCTIONS" +.SH NAME +setloself \- set the inductance value of a logical inductor +.so man1/alc_origin.1 +.SH SYNOPSYS +.nf +.if n \{\ +.ft B \} +.if t \{\ +.ft CR \} +#include "mlo.h" + +void setloself(ptfig,name,newself) +lofig_list \(**ptfig ; +const char \(**name ; +double newself ; +.ft R +.fi +.SH PARAMETERS +.TP 20 +\fIptfig\fP +Pointer to the figure in which the inductor should be seeked +.TP +\fIname\fP +Instance name of the inductor +.TP +\fInewself\fP +New inductance value +.SH DESCRIPTION +\fBsetloself\fP looks in the list of inductors of the logical model pointed +to by \fIptfig\fP for a inductor identified by its instance \fIname\fP and set +the SELF field to the newself value. +.SH RETURN VALUE +None +.SH ERRORS +.if n \{\ +.ft B \} +.if t \{\ +.ft CR \} +"\(**\(**\(** mbk error \(**\(**\(** setloself impossible : +inductor \fIname\fP doesn't exist in figure \fIptfig \-> NAME\fP" +.ft R +.RS +No inductor matches the name. +.RE +.SH EXAMPLE +.ta 3n 6n 9n 12n 15n 18n 21n +.nf +.if n \{\ +.ft B \} +.if t \{\ +.ft CR \} +#include "mlo.h" + +void set_loself_value(char \(**figname,char \(**selfname,double newself) +{ + setloself(getlofig(figname),selfname,newself) ; +} +.ft R +.fi +.SH SEE ALSO +.BR mbk (1), +.BR lofig (3), +.BR loself (3), +.BR addloself (3), +.BR getloself (3), +.BR delloself (3). + + +.so man1/alc_bug_report.1 +