Table of Contents

Name

isvss -tells if a name contains the pattern defined by the user

Origin

This software belongs to the ALLIANCE CAD system from the CAO-VLSI team at ASIM/LIP6/UPMC laboratory.
LIP6/ASIM
University P. et M. Curie 4, place Jussieu 75252 PARIS Cedex 05 FRANCE
Fax : {33/0} 1.44.27.62.86
E-mail support : alliance-support@asim.lip6.fr

Synopsys

#include mut315.h"
void isvss(s)
char *s;

Parameter

s
Pointer to the string to be check as power high

Description

isvss searches an occurence of the string defined by the MBK_VSS(1) environment variable in the string s. If this string is not set by the user, its default value is vss".

Return Value

isvss return NULL the pattern is not present If the pattern is found, a value different from NULL is returned.

Example

#include mut315.h"
#include mlo315.h"
find_a_vss(f)
lofig_list *f;
{
locon_list *c;
losig_list *s;
/* first check connectors */
for (c = f->LOCON; c; c = c->NEXT) { if (isvss(c->NAME))
return c->SIG;
if (isvss(getsigname(c->SIG)))
return c->SIG;
}
/* then check internal signals */
for (s = f->LOSIG; s; s = s->NEXT) if (s->TYPE == INTERNAL)
if (isvss(getsigname(s)))
return s;

return NULL;
}

See Also

mbk(1) , mbkenv(3) , instr(3) , isvdd(3) , MBK_VDD(1) , MBK_VSS(1) .

Bug Report

This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi research team.
We need your feedbak to improve documentation and tools. If you find bugs, please fill-in the form at http://asim.lip6.fr/alliance/support/bug-report/ Thanks for doing this.


Table of Contents

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 26 May 2000.