ISCK(3) MBK UTILITY FUNCTIONS ISCK(3)NAME
isck -tells if a name is the pattern defined by the user
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "mut.h"
int isck(s)
char *s;
PARAMETER
s Pointer to the string to be check as clock
DESCRIPTION
isck compares the string defined by the MBK_CK(1) environment variable with the string s. If this string is not set by the user, its
default value is "ck".
RETURN VALUE
isck returns 0 the pattern is not present If the pattern is found, 1 is returned.
EXAMPLE
#include "mut.h"
#include "mlo.h"
find_a_ck(f)
lofig_list *f;
{
locon_list *c;
losig_list *s;
/* first check connectors */
for (c = f->LOCON; c; c = c->NEXT) {
if (isck(c->NAME))
return c->SIG;
if (isck(getsigname(c->SIG)))
return c->SIG;
}
/* then check internal signals */
for (s = f->LOSIG; s; s = s->NEXT)
if (s->TYPE == INTERNAL)
if (isck(getsigname(s)))
return s;
return NULL;
}
SEE ALSO mbk(1), mbkenv(3), instr(3), isvdd(3), isvss(3), MBK_CK(1), MBK_VDD(1), MBK_VSS(1).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 ISCK(3)
Check Out this Related Man Page
INSTR(3) MBK UTILITY FUNCTIONS INSTR(3)NAME
instr - find an occurence of a string in a string, starting at a specified character.
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "mut.h"
char *instr(s, find, from)
char *s, *find, from;
PARAMETERS
s Pointer to the string to be searched for the pattern
find Pointer to the string to be found, the pattern
from Character to be searched backwards before searching for the pattern
DESCRIPTION
instr searches the first occurence of the string find in the string s, starting its search at the last occurence of the from character in
the string s.
If either s or find is NULL, the function returns NULL. If from is (char)0, the pattern is searched from the begining of s.
This quite exotic behaviour is useful to search the occurence of a name in a string resulting from a flatten, when only a terminal object
name is to be taken into account.
RETURN VALUES
instr return NULL either if the pattern find is not present in the searched string s, or if one at least of these two string are NULL. If
the pattern is found, a value different from NULL is returned.
EXAMPLE
#include "mut.h"
/* check for the pattern 'ck' anywhere in the string */
#define contains_ck(name)instr(name, "ck", ' ')
/* check for the pattern 'ck' in the signal name, not instance ones */
#define isclock(ptsig) instr(getsigname(ptsig), "ck", SEPAR)
SEE ALSO mbk(1), isvdd(3), isvss(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 INSTR(3)
Dear All,
I have trouble, I have SPARC Machine and when start for loading, can not finish !
this is copy off message from my system
Netra t 1120/1125 (UltraSPARC-II 440MHz), No Keyboard
OpenBoot 3.31, 512 MB memory installed, Serial #12116535.
Ethernet address 8:0:20:b8:e2:37, Host ID:... (4 Replies)
Hello,
I have a problem with two file (In attach). These file contain the instruction for run an application platform for a lab machine. The fil without extension if of the application in MAC the file with .md5 extension is for the win software version. Now i need convert the win file to mac... (20 Replies)
Hi,
I am seeing a strange behaviour with my discks on AIX. On a Sar output i see discs are more than 100 % busy but there are no reads and writes. And during this time my applicaiton freezes and the application response time increases from 3 sec to 100+ seconds. But when the disc recovers to... (4 Replies)
I have a file that i want to take only the first part of it and discard the rest, to be accurate,I need the first 137097 lines but I cant use split because I dont have enough space on my disck. I need sth to cut the file in its place (3 Replies)
Hello,
I have a PC with SCO operating system with a graphical program that access MO drive to write some log data. This program automatically format and write data on MO disck. MO drive was working good before but now when i try to write data, MO drive starts to be busy but after some minutes i... (6 Replies)
Good morning!
I need your help again.
I have some perl file. This file, to work, needs to be executed in appropriate directory, e.g. /mnt/disck/new files/abc/003
I need a shell script which:
1) will go to /mnt/disk2/new files/abc/003/perl.pl
2) execute it
3) go to the next directory... (7 Replies)
Hi Folks :(
Scenario,
Compared two values in two different files, if file1 value is greater than the value of file2 it trigger mail,
I tried this,
echo ${usep};
echo ${usep1};
for i in ${!usep}; do
if } -gt 80 ]; then
if } -gt ${usep1} ]; then
... (9 Replies)