Adding A MBK_CK env var and a isck macro for clock signal detection ...
just a copy of MBK_VSS, isvss and MBK_VDD, isvdd
This commit is contained in:
parent
1ed45deb82
commit
073866ae9a
|
@ -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)
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
* Modified by pnt <Pierre.Nguyen-Tuong@lip6.fr> 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 <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
@ -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)
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
* Modified by Czo <Olivier.Sirol@lip6.fr> 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 <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -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 )
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* Date : 31/08/93
|
||||
* Author : Frederic Petrot <Frederic.Petrot@lip6.fr>
|
||||
* Modified by Czo <Olivier.Sirol@lip6.fr> 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;
|
||||
|
|
|
@ -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 <stdlib.h>
|
||||
|
||||
#include "mut.h"
|
||||
#include "mlo.h"
|
||||
|
|
|
@ -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 <stdlib.h>
|
||||
|
||||
#include "mut.h"
|
||||
#include "mlo.h"
|
||||
#include "rcn.h"
|
||||
|
|
Loading…
Reference in New Issue