# bigvia.3alc man page

bigvia — draws a non minimal via as a bunch of vias

## Synopsis

#include "mph.h" void ∗bigvia(figure, viatype, x, y, dx, dy) phfig_list ∗figure; char viatype; long x, y, dx, dy;

## Parameters

*figure*Pointer to the physical figure in the which vias must be put.

*viatype*Contact type to be put.

*x, y*Coordinate of the center of the bigvia.

*dx, dy*Maximun rectangle to be filled with vias.

## Description

**bigvia** draws as many vias as necessary to fill the rectangle defined by its *dx* and dy arguments. The “bigvia” center is indicated with *dx* and dy, thus making this function much like **addphvia**. The necessary segments are drawn to avoid having notches or other drc rules violated.

This function is tipically used by routers when connecting two non minimal wires, like supplies or clocks.

The values for drawing the via correctly, ie avoid drc violations, are taken from the idps set of rules, and are not changeable at run time.

## Errors

"*** mbk error *** bigvia impossible : negative values dx, dy in figure figure at (x, y)"

If either *dx* or *dy* are negative, the function complains and exits.

## Example

#include "mph.h" #define BigVia(x, y, dx, dy) \ bigvia(WORK_PHFIG, CONT_VIA, x, y, dx, dy)

## See Also

**mbk**(1), addphvia(3), addphseg(3).