1LOCON(3)               MBK LOGICAL STRUCTURE DEFINITIONS              LOCON(3)
2
3
4

NAME

6       locon - mbk logical connector
7

DESCRIPTION

9       The  locon is used to describe a connector of the logical view     of a
10       figure. Connectors are describing the cell interface, and are the  link
11       between its physical and logical views, so the names must be the same.
12
13       The  declarations  needed  to work on locon are available in the header
14       file "/labo/include/mlo404.h", where '404' is the actual mbk version.
15
16       The following C structure supports the description of the logical  con‐
17       nector :
18              typedef struct locon {
19                 struct locon     ∗NEXT;
20                 char             ∗NAME;
21                 struct losig     ∗SIG;
22                 void             ∗ROOT;
23                 char             DIRECTION;
24                 char             TYPE;
25                 struct ptype     ∗USER;
26              } locon_list;
27
28       NEXT                Pointer to the next locon of the list.
29
30       NAME                Name of the connector. It identifies the connector,
31                           so it should unique in a given  logical  figure.  A
32                           logical  connector  with a given name correspond to
33                           the physical connector or connectors of this name.
34
35       SIG                 Pointer to the signal linked to the connector. This
36                           signal  is,  of  course,  unique.  See losig(3) for
37                           details.
38
39       ROOT                Pointer to the object it belongs  to.  This  object
40                           may be either a lofig, or a loins, depending on the
41                           type of the connector.  See lofig(3) and loins  for
42                           details.
43
44       DIRECTION           This  indicates  the  way  of the information going
45                           through the connector.  Six directions are legal :
46
47                           IN                  input
48
49                           OUT                 output
50
51                           INOUT               input and output
52
53                           UNKNOWN             no information is available
54
55                           TRISTATE            tristate output
56
57                           TRANSCV             tristate output and input
58
59       TYPE                Character indicating if the connector belongs to  a
60                           model or an instance. It can take two values :
61
62                           EXTERNAL            for figure connectors
63
64                           INTERNAL            for instance connectors
65
66                           The  TYPE  is needed to appropriately cast the ROOT
67                           field,  and  must  be  approriatly  filled  by  the
68                           parsers.  A  misuse  of it may cause strange behav‐
69                           iours.
70
71       USER                Pointer to a ptype list,  see  ptype  for  details,
72                           that  is  a  general  purpose pointer used to share
73                           information on the connector.
74

SEE ALSO

76       mbk(1),  mbk(3),  addlocon(3),  getlocon(3),   dellocon(3),   losig(3),
77       ptype(3), loins(3), lofig(3).
78
79
80
81
82
83
84ASIM/LIP6                       October 1, 1997                       LOCON(3)
Impressum