GENLIB_PHVIA3
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;
Parameters
type
|
Type of the contact to be made |
|---|---|
x, y
|
Absolute coordinates of the via |
Overview
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 |
|---|---|
|
links NDIF and |
|
links PDIF and |
|
links NTIE and |
|
links PTIE and |
|
links |
|
links |
|
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.
Examples
#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();
}
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.