COPY_UP_CON_FACE - copy a physical connector from an instance in the current figure
#include <genlib.h>
void COPY_UP_CON_FACE(face, conname, insname, newname)
long index;
char *insname;
char *conname;
char *newname;
This software belongs to the ALLIANCE CAD system from the CAO-VLSI team at
ASIM/LIP6/UPMC laboratory.
LIP6/ASIM
University P. et M. Curie
4, place Jussieu
75252 PARIS Cedex 05
FRANCE
Fax : {33/0} 1.44.27.62.86
E-mail support : alliance-support@asim.lip6.fr
COPY_UP_CON_FACE copies a instance connector into the current layout figure, and gives to the new connector the name newname. The face and con_name arguments are not suffiscient for non ambiguiously identify a single connector. So, if more than one connector matches these arguments, the behaviour described below is applied on all of them. Two behaviour are expected, depending on the instance connector 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.
COPY_UP_CON_FACE impossible : missing 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. *** genlib error *** COPY_UP_CON_FACE impossible : connector conname face face of instance insname, current figure doesn't exist" No connector matches both the conname and the face arguments.
#include <genlib.h>
main()
{
/* Create a figure to work on */
DEF_PHFIG("cell");
.
.
PLACE_LEFT("gaer0_f", insN", SYMXY);
.
.
DEF_AB(0L, 0L, 0L, 0L);
/* Put a connector */
COPY_UP_CON_FACE("i0", 1, insN", inz0");
/* Save that on disk */
SAVE_PHFIG();
}
genlib(1) , DEF_PHFIG(3) , SAVE_PHFIG(3) , COPY_UP_ALL_CON(3) , COPY_UP_CON(3) , PHCON(3) , THRU_CON_H(3) , THRU_CON_V(3) .
This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi
research team.
We need your feedbak to improve documentation and tools.
If you find bugs, please fill-in the form at
http://asim.lip6.fr/alliance/support/bug-report/
Thanks for doing this.