From 58cc09cc2f635500016a198cffe8e42e234a5b0f Mon Sep 17 00:00:00 2001 From: Pierre Nguyen Tuong Date: Tue, 13 Aug 2002 16:48:32 +0000 Subject: [PATCH] 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). --- alliance/src/mbk/src/mbk_lo_util.c | 36 ++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/alliance/src/mbk/src/mbk_lo_util.c b/alliance/src/mbk/src/mbk_lo_util.c index 40caba67..58a3d1fb 100644 --- a/alliance/src/mbk/src/mbk_lo_util.c +++ b/alliance/src/mbk/src/mbk_lo_util.c @@ -28,7 +28,7 @@ * Modified by Czo 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 #include @@ -1979,7 +1979,10 @@ ptype_list *getptype(); case TRISTATE : dir = TRANSCV; break; - case TRANSCV : + case TRANSCV : + case TRANSCV2 : + case TRANSCV3 : + case TRANSCV4 : dir = TRANSCV; break; } @@ -2010,7 +2013,10 @@ ptype_list *getptype(); getsigname(ec->SIG)); ret = PROBLEM; break; - case TRANSCV : + case TRANSCV : + case TRANSCV2 : + case TRANSCV3 : + case TRANSCV4 : dir = TRANSCV; fprintf(stderr, "Warning : signal %s have an OUT and a TRANSCV", getsigname(ec->SIG)); @@ -2044,7 +2050,10 @@ ptype_list *getptype(); getsigname(ec->SIG)); ret = PROBLEM; break; - case TRANSCV : + 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; } @@ -2095,12 +2107,19 @@ ptype_list *getptype(); case TRISTATE : dir = TRISTATE; break; - case TRANSCV : + case TRANSCV : + case TRANSCV2 : + case TRANSCV3 : + case TRANSCV4 : dir = TRANSCV; break; } break; - case TRANSCV : + case TRANSCV : + case TRANSCV2 : + case TRANSCV3 : + case TRANSCV4 : + switch (dir) { case IN : dir = TRANSCV; @@ -2121,7 +2140,10 @@ ptype_list *getptype(); case TRISTATE : dir = TRANSCV; break; - case TRANSCV : + case TRANSCV : + case TRANSCV2 : + case TRANSCV3 : + case TRANSCV4 : dir = TRANSCV; break; }