isvdd -tells if a name contains the pattern defined by the user
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
#include mut315.h"
void isvdd(s)
char *s;
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".
isvdd return NULL the pattern is not present If the pattern is found, a value different from NULL is returned.
#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;
}
mbk(1) , mbkenv(3) , instr(3) , isvss(3) , MBK_VDD(1) , MBK_VSS(1) .
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.