Par defaut, un connecteur type TRANSCV est forcement connecte a un

transistor. Ajout des type TRANSCV2, TRANSCV3 et TRANSCV4 pour
respectivement les capacites, les resistances et les inductances
(meme signification, INOUT).
This commit is contained in:
Pierre Nguyen Tuong 2002-08-13 16:48:32 +00:00
parent bc51108da7
commit 58cc09cc2f
1 changed files with 29 additions and 7 deletions

View File

@ -28,7 +28,7 @@
* Modified by Czo <Olivier.Sirol@lip6.fr> 1997,98
*/
#ident "$Id: mbk_lo_util.c,v 1.2 2002/08/08 19:47:37 pnt Exp $"
#ident "$Id: mbk_lo_util.c,v 1.3 2002/08/13 16:48:32 pnt Exp $"
#include <stdio.h>
#include <stdlib.h>
@ -1980,6 +1980,9 @@ ptype_list *getptype();
dir = TRANSCV;
break;
case TRANSCV :
case TRANSCV2 :
case TRANSCV3 :
case TRANSCV4 :
dir = TRANSCV;
break;
}
@ -2011,6 +2014,9 @@ ptype_list *getptype();
ret = PROBLEM;
break;
case TRANSCV :
case TRANSCV2 :
case TRANSCV3 :
case TRANSCV4 :
dir = TRANSCV;
fprintf(stderr, "Warning : signal %s have an OUT and a TRANSCV",
getsigname(ec->SIG));
@ -2045,6 +2051,9 @@ ptype_list *getptype();
ret = PROBLEM;
break;
case TRANSCV :
case TRANSCV2 :
case TRANSCV3 :
case TRANSCV4 :
dir = INOUT;
fprintf(stderr, "Warning : signal %s have an INOUT and a TRANSCV",
getsigname(ec->SIG));
@ -2070,6 +2079,9 @@ ptype_list *getptype();
dir = TRISTATE;
break;
case TRANSCV :
case TRANSCV2 :
case TRANSCV3 :
case TRANSCV4 :
dir = TRANSCV;
break;
}
@ -2096,11 +2108,18 @@ ptype_list *getptype();
dir = TRISTATE;
break;
case TRANSCV :
case TRANSCV2 :
case TRANSCV3 :
case TRANSCV4 :
dir = TRANSCV;
break;
}
break;
case TRANSCV :
case TRANSCV2 :
case TRANSCV3 :
case TRANSCV4 :
switch (dir) {
case IN :
dir = TRANSCV;
@ -2122,6 +2141,9 @@ ptype_list *getptype();
dir = TRANSCV;
break;
case TRANSCV :
case TRANSCV2 :
case TRANSCV3 :
case TRANSCV4 :
dir = TRANSCV;
break;
}