Scroll to navigation

GENLIB_PHVIA.3(October 1, 1997) GENLIB_PHVIA.3(October 1, 1997)

NAME

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

SYNOPSYS

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

ORIGIN

This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.

Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr

PARAMETERS

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

DESCRIPTION

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

ERRORS

"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.

EXAMPLE

#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();
}

SEE ALSO

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

BUG REPORT

This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.

ASIM/LIP6 PROCEDURAL GENERATION LANGUAGE