Table of Contents

Name

isvdd -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 isvdd(s)
char *s;

Parameter

s
Pointer to the string to be check as power high

Description

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

Return Value

isvdd 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_vdd(f)
lofig_list *f;
{
locon_list *c;
losig_list *s;
/* first check connectors */
for (c = f->LOCON; c; c = c->NEXT) { if (isvdd(c->NAME))
return c->SIG;
if (isvdd(getsigname(c->SIG)))
return c->SIG;
}
/* then check internal signals */
for (s = f->LOSIG; s; s = s->NEXT) if (s->TYPE == INTERNAL)
if (isvdd(getsigname(s)))
return s;

return NULL;
}

See Also

mbk(1) , mbkenv(3) , instr(3) , isvss(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.