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