DOKK / manpages / debian 10 / alliance / GENLIB_PHREF.3.en
GENLIB_PHREF.3(October 1, 1997) GENLIB_PHREF.3(October 1, 1997)

GENLIB_PHREF - place a physical reference in the current figure at absolute coordinates

#include <genlib.h>
void GENLIB_PHREF(type, name, x, y)
char ∗type, ∗name;
long x, y;

See the file buster/alliance/alc_origin.1.en.gz.

Type of the reference to be added
Name of the reference
Absolute coordinates of the reference

PHREF adds a reference in the current layout cell, at the specified coordinates. A reference is an object that allows to symbolicaly name a point for futur use by the designer. They have been mainly used in the past to program decoders, in order to obtain many cells from a unique cell.

The type argument may take the two following legal values:

for virtual connectors, see dpr(1) for details.
for any other need from the designer.

"GENLIB_PHREF 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 reference inside it. you must call DEF_PHFIG before any other layout action.

#include <genlib.h>
main()
{
	/∗ Create a figure to work on  ∗/
	GENLIB_DEF_PHFIG("cell");
	.
	/∗ Put a reference ∗/
	GENLIB_PHREF("ref_con", "in_a[0]", 102L, 10L);
	.
	.
	GENLIB_DEF_AB(0L, 0L, 0L, 0L);
	/∗ Save that on disk ∗/
	GENLIB_SAVE_PHFIG();
}

genlib(1), GENLIB_DEF_PHFIG(3), GENLIB_SAVE_PHFIG(3), GENLIB_PLACE_CON_REF(3), GENLIB_PLACE_SEG_REF(3), GENLIB_PLACE_VIA_REF(3).

See the file buster/alliance/alc_bug_report.1.en.gz.

ASIM/LIP6 PROCEDURAL GENERATION LANGUAGE