plus de capa dans addlosig ... maj du man

This commit is contained in:
Christophe Alexandre 2002-01-22 18:54:57 +00:00
parent c5af51036a
commit bbbb39e6dd
1 changed files with 5 additions and 10 deletions

View File

@ -1,4 +1,4 @@
.\" $Id: addlosig.3,v 1.1 1999/05/31 17:30:17 alliance Exp $
.\" $Id: addlosig.3,v 1.2 2002/01/22 18:54:57 xtof Exp $
.\" @(#)addlosig.2 2.11 91/08/22 ; Labo masi cao-vlsi; Author : Frederic Petrot
.if t \{\
.so man1/alc_contents.mac
@ -21,12 +21,11 @@ addlosig \- create a logical signal
.if t \{\
.ft CR \}
#include "mlo404.h"
losig_list \(**addlosig(ptfig, index, namechain, type, capa)
losig_list \(**addlosig(ptfig, index, namechain, type)
lofig_list \(**ptfig;
long index;
chain_list \(**namechain;
char type;
float capa;
.ft R
.fi
.SH PARAMETERS
@ -42,9 +41,6 @@ List of names of the signal
.TP
\fItype\fP
Signal type
.TP
\fIcapa\fP
Total capacitance attached to the signal
.SH DESCRIPTION
\fBaddlosig\fP creates a new signal, and adds it to the
list of signals pointed to by \fIptfig\->LOSIG\fP. The new signal is
@ -59,8 +55,8 @@ The signal is attached to at least one connector of the figure.
\fBINTERNAL\fP
The signal is only attached to instance or transistor connector.
.RE
The \fIindex\fP, \fItype\fP and \fIcapa\fP arguments fill the \fIINDEX\fP,
\fITYPE\fP and \fICAPA\fP fields of the \fBlosig\fP(3) structure. The index
The \fIindex\fP and \fItype\fP arguments fill the \fIINDEX\fP and
\fITYPE\fP fields of the \fBlosig\fP(3) structure. The index
is the signal identifier, so it should be unique at a given hierarchical level.
.br
The \fInamechain\fP argument is a list of names, given in a \fBchain_list\fP.
@ -103,8 +99,7 @@ long max_index;
max_index = s\->INDEX;
s = addlosig(pt, ++max_index, s1\->NAMECHAIN,
s0\->TYPE == EXTERNAL || s1\->TYPE == EXTERNAL ?
EXTERNAL : INTERNAL,
s1\->CAPA + s0\->CAPA);
EXTERNAL : INTERNAL);
dellosig(pt, s0);
dellosig(pt, s1);
return s;