1INCATALOGGDS(3)              MBK UTILITY FUNCTIONS             INCATALOGGDS(3)
2
3
4

NAME

6       incataloggds - test if cell belongs to the catalog file
7

SYNOPSIS

9       #include "mut.h"
10       int incataloggds(figname)
11       char ∗figname;
12

PARAMETER

14       figname             Name of the cell to be checked
15

DESCRIPTION

17       incataloggds  checks a cell represented by its figname being present in
18       the catalog file with the 'G' attribut.  This means that the cell is  a
19       phantom of a gds cell.
20       This  is  useful  when  traducing  a symbolic layout into physical one,
21       because then the 'G' attribued cells are not to be translated, but just
22       replaced in the output.  This is mostly used for pads.
23       The catalog is the sum of all the catalogs of the cells libraries spec‐
24       ified in the MBK_CATA_LIB(1) and MBK_WORK_LIB(1).  The catalogs of  the
25       MBK_CATA_LIB(1)  are the files called CATAL, and the MBK_WORK_LIB(1) is
26       by default CATAL but can be changed to MBK_CATAL_NAME(1).
27

RETURN VALUE

29       incataloggds returns 0 if the cell does not belong to the catalog  with
30       the 'G' attribut, a value different from 0 if it does.
31

EXAMPLE

33       #include "mut.h"
34       char ∗tell_if_incataloggds(name)
35       char ∗name;
36       {
37          return incataloggds(name) ? "Jawohl, es ist ein pad" : "Nein, keine";
38       }
39

SEE ALSO

41       mbk(1), incatalog(3), incatalogdelete(3), incatalogfeed(3).
42
43
44
45
46
47
48ASIM/LIP6                       October 1, 1997                INCATALOGGDS(3)
Impressum