![]() |
![]()
| ![]() |
![]()
NAMEGENLIB_PHCON - place a physical connector in the current figure at absolute coordinates SYNOPSIS#include <genlib.h> void GENLIB_PHCON(layer, width, name, orient, x, y) char layer; long width; char ∗name, orient; long x, y; See the file man1/alc_origin.1. PARAMETERSDESCRIPTIONPHCON adds a connector in the current layout cell, at the specified coordinates, with the given attributs. The layer argument can take the following legal values: The name argument is not enough of an information to non ambigiously identify a connector. In order to be able to do so, an index is computed for each connector that has an already existing name, following a topological order. Each time a connector is created, the index is updated, regarding the name of the connector. Since someone writing a tiler needs to know exactly what connector to access, the indexation algorithm must be known by the user.
The orient parameter may take the following values:
ERRORS"GENLIB_PHCON impossible : missing GENLIB_DEF_PHFIG" 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.
"illegal addphcon : orientation is XX in name"
The orient parameter does not have a legal value,
but XX.
EXAMPLE#include <genlib.h> main() { /∗ Create a figure to work on ∗/ GENLIB_DEF_PHFIG("cell"); . . . GENLIB_DEF_AB(0L, 0L, 0L, 0L); /∗ Put a connector ∗/ GENLIB_PHCON(ALU1, 1, "cin", SOUTH, 12L, 0L); /∗ Save that on disk ∗/ GENLIB_SAVE_PHFIG(); } SEE ALSOgenlib(1), GENLIB_DEF_PHFIG(3), GENLIB_SAVE_PHFIG(3), GENLIB_COPY_UP_ALL_CON(3), GENLIB_COPY_UP_CON(3), GENLIB_COPY_UP_CON_FACE(3), GENLIB_THRU_CON_H(3), GENLIB_THRU_CON_V(3). See the file man1/alc_bug_report.1.
|