copy all physical connectors of an instance face in the
void GENLIB_COPY_UP_ALL_CON(face, insname, concatenate)
char face, concatenate;
man2html: unable to open or read file
Face of the instance
Name of the instance the connector belongs to
Indicates wheter or not to concatenate instance connectors names with instance
copies all instance connectors of the face face
the placed instance called insname
into the current layout.
argument may take two values:
then the resulting name of a connector in the current figure is the
concatenation of the insname and the conname.
It warranties the unicity of name at the figure level, and is to be used
most of the time.
implies a direct copy of the connector name.
The user must take care of the unicity of connector name by itself.
Two behaviour are expected, depending on each of the instance connectors
location regarding the abutment box of the current figure.
- Connector on the abutment box
The figure connector is place right over the instance connector. The single
connector is duplicated.
- Connector inside the abutment box
The instance connector face is computed in the figure, and then, the connector
is duplicated on the given face, at the right coordinates for this face.
Then a wire is drawn between the instance connector and the figure connector in
the connector layer.
"GENLIB_COPY_UP_ALL_CON impossible : missing GENLIB_DEF_PHFIG"
"*** genlib error *** GENLIB_COPY_UP_ALL_CON impossible : connector conname
No figure has been yet specified by a call to DEF_PHFIG. So it isn't
possible to place a connector inside it.
you must call DEF_PHFIG before any other layout action.
of instance insname
figure doesn't exist"
No connector matches both the conname and the face arguments.
/* Create a figure to work on */
GENLIB_PLACE_LEFT("gaer0_f", "insN", SYMXY);
GENLIB_DEF_AB(0L, 0L, 0L, 0L);
/* Copy all connectors */
GENLIB_COPY_UP_ALL_CON(NORTH, "insN", YES);
/* Save that on disk */