diff --git a/alliance/src/mbk/man1/Makefile.am b/alliance/src/mbk/man1/Makefile.am index d6a28c9d..590d1828 100644 --- a/alliance/src/mbk/man1/Makefile.am +++ b/alliance/src/mbk/man1/Makefile.am @@ -11,5 +11,6 @@ man_MANS = MBK_CATAL_NAME.1 \ MBK_TRACE_GETENV.1 \ MBK_VDD.1 \ MBK_VSS.1 \ + MBK_CK.1 \ MBK_WORK_LIB.1 EXTRA_DIST = $(man_MANS) diff --git a/alliance/src/mbk/src/mbk_lo.c b/alliance/src/mbk/src/mbk_lo.c index 166d1207..7ca18456 100644 --- a/alliance/src/mbk/src/mbk_lo.c +++ b/alliance/src/mbk/src/mbk_lo.c @@ -30,7 +30,7 @@ * Modified by pnt 2002 */ -#ident "$Id: mbk_lo.c,v 1.6 2002/09/30 16:20:49 czo Exp $" +#ident "$Id: mbk_lo.c,v 1.7 2003/04/03 14:46:30 xtof Exp $" #include #include @@ -1310,6 +1310,7 @@ num_list *scannum; } break; default: + break; } } { @@ -1547,6 +1548,7 @@ void delloconuser(locon_list *ptlocon) scanptype->TYPE ); #endif + break; } if( del ) @@ -1591,6 +1593,7 @@ void dellofiguser(lofig_list *ptlofig) scanptype->TYPE ); #endif + break; } if( del ) @@ -1632,6 +1635,7 @@ void delloinsuser(loins_list *ptloins) scanptype->TYPE ); #endif + break; } if( del ) @@ -1669,6 +1673,7 @@ void dellotrsuser(lotrs_list *ptlotrs) scanptype->TYPE ); #endif + break; } if( del ) @@ -1710,6 +1715,7 @@ void dellosiguser(losig_list *ptlosig) scanptype->TYPE ); #endif + break; } if( del ) @@ -1969,6 +1975,7 @@ void dellocapuser(locap_list *ptlocap) #ifdef MBK_TRACE_BAD_PTYPE fprintf( stderr, "WARNING in delloconuser() : unknown ptype %ld\n",scanptype -> TYPE) ; #endif + break; } if(del) @@ -2231,6 +2238,7 @@ void delloresuser(lores_list *ptlores) #ifdef MBK_TRACE_BAD_PTYPE fprintf( stderr, "WARNING in delloconuser() : unknown ptype %ld\n",scanptype -> TYPE) ; #endif + break; } if(del) @@ -2490,6 +2498,7 @@ void delloselfuser(loself_list *ptloself) #ifdef MBK_TRACE_BAD_PTYPE fprintf( stderr, "WARNING in delloconuser() : unknown ptype %ld\n",scanptype -> TYPE) ; #endif + break; } if(del) diff --git a/alliance/src/mbk/src/mbk_util.c b/alliance/src/mbk/src/mbk_util.c index 9c50399c..c575c3a2 100644 --- a/alliance/src/mbk/src/mbk_util.c +++ b/alliance/src/mbk/src/mbk_util.c @@ -28,7 +28,7 @@ * Modified by Czo 1997,98 */ -#ident "$Id: mbk_util.c,v 1.2 2002/09/30 16:20:50 czo Exp $" +#ident "$Id: mbk_util.c,v 1.3 2003/04/03 14:46:30 xtof Exp $" #include #include @@ -72,6 +72,7 @@ long SCALE_X = 100; /* distance scale definition */ char PARSER_INFO[100] = "nothing yet"; /* version number, and so on */ char *VDD = NULL; /* user name for power high */ char *VSS = NULL; /* user name for power ground */ +char *CK = NULL; /* user name for clock */ char *IN_FILTER = NULL ; char *OUT_FILTER = NULL ; char *FILTER_SFX = NULL ; @@ -319,6 +320,12 @@ static char MBK_RAND_SEED[] = { 0x62, VSS = str; else /* default value for power high */ VSS = "vss"; + + str = mbkgetenv("MBK_CK"); + if (str != NULL) + CK = str; + else /* default value for clock */ + CK = "ck"; str = mbkgetenv( "MBK_IN_FILTER" ); if( str ) diff --git a/alliance/src/mbk/src/mut.h b/alliance/src/mbk/src/mut.h index a47ca9f3..9454b3db 100644 --- a/alliance/src/mbk/src/mut.h +++ b/alliance/src/mbk/src/mut.h @@ -26,7 +26,7 @@ * Date : 31/08/93 * Author : Frederic Petrot * Modified by Czo 1997,98 - * $Id: mut.h,v 1.6 2002/09/30 16:20:51 czo Exp $ + * $Id: mut.h,v 1.7 2003/04/03 14:46:30 xtof Exp $ */ #ifndef _MUT_H_ @@ -94,6 +94,7 @@ extern "C" { #define isvdd(name) instr(name, VDD, SEPAR) #define isvss(name) instr(name, VSS, SEPAR) +#define isck(name) instr(name, CK, SEPAR) #define funcin() if (MBK_DEBUG_ON) \ HEAD_MBKDEBUG = addptype(HEAD_MBKDEBUG, \ __LINE__, \ @@ -191,6 +192,7 @@ extern long SCALE_X; /* distance scale parameter */ extern char PARSER_INFO[]; /* version number, and so on */ extern char *VDD; /* user name for power high */ extern char *VSS; /* user name for power ground */ +extern char *CK; /* user name for ck */ extern ptype_list *HEAD_MBKDEBUG; /* function debug list */ extern char MBK_DEBUG_ON; /* mode for debug on/off */ extern char *IN_FILTER; diff --git a/alliance/src/mbk/src/rcn_lo.c b/alliance/src/mbk/src/rcn_lo.c index 840d9fd4..10632732 100644 --- a/alliance/src/mbk/src/rcn_lo.c +++ b/alliance/src/mbk/src/rcn_lo.c @@ -21,7 +21,7 @@ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#ident "$Id: rcn_lo.c,v 1.2 2002/09/30 16:20:51 czo Exp $" +#ident "$Id: rcn_lo.c,v 1.3 2003/04/03 14:46:30 xtof Exp $" /******************************************************************************* * rcn : acces functions to logical rc network structures * @@ -37,6 +37,7 @@ * 4, Place Jussieu * * Paris Cedex 05. * *******************************************************************************/ +#include #include "mut.h" #include "mlo.h" diff --git a/alliance/src/mbk/src/rcn_lo_util.c b/alliance/src/mbk/src/rcn_lo_util.c index 98bb7165..0a5c646b 100644 --- a/alliance/src/mbk/src/rcn_lo_util.c +++ b/alliance/src/mbk/src/rcn_lo_util.c @@ -21,7 +21,7 @@ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#ident "$Id: rcn_lo_util.c,v 1.2 2002/09/30 16:20:51 czo Exp $" +#ident "$Id: rcn_lo_util.c,v 1.3 2003/04/03 14:46:30 xtof Exp $" /******************************************************************************* * rcn : acces functions to logical rc network structures * @@ -38,6 +38,8 @@ * Paris Cedex 05. * *******************************************************************************/ +#include + #include "mut.h" #include "mlo.h" #include "rcn.h"