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

GENLIB_PHVIA - place a physical via in the current figure at absolute coordinates

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

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

Type of the contact to be made
Absolute coordinates of the via

PHVIA adds a via in the current layout cell, at the specified coordinates. The type argument may take the following legal values:

links POLY and ALU1
links NDIF and ALU1
links PDIF and ALU1
links NTIE and ALU1
links PTIE and ALU1
links ALU1 and ALU2
links ALU2 and ALU3
corner for L-shaped (and S-shaped) N transistor
corner for L-shaped (and S-shaped) P transistor

"GENLIB_PHVIA 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 via inside it. you must call DEF_PHFIG before any other layout action.
"illegal addphvia : type is XX at x, y"
The type parameter does not have a legal value, but XX.

#include <genlib.h>
main()
{
	/∗ Create a figure to work on  ∗/
	GENLIB_DEF_PHFIG("cell");
	.
	/∗ Put a via ∗/
	GENLIB_PHVIA(CONT_VIA, 12L, 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_VIA_REF(3).

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

ASIM/LIP6 PROCEDURAL GENERATION LANGUAGE