1BIGVIA(3) MBK PHYSICAL UTILITY FUNCTIONS BIGVIA(3)
2
3
4
6 bigvia - draws a non minimal via as a bunch of vias
7
9 #include "mph.h"
10 void ∗bigvia(figure, viatype, x, y, dx, dy)
11 phfig_list ∗figure;
12 char viatype;
13 long x, y, dx, dy;
14
16 figure Pointer to the physical figure in the which vias
17 must be put.
18
19 viatype Contact type to be put.
20
21 x, y Coordinate of the center of the bigvia.
22
23 dx, dy Maximun rectangle to be filled with vias.
24
26 bigvia draws as many vias as necessary to fill the rectangle defined by
27 its dx and dy arguments. The ``bigvia'' center is indicated with dx
28 and dy, thus making this function much like addphvia. The necessary
29 segments are drawn to avoid having notches or other drc rules violated.
30 This function is tipically used by routers when connecting two non min‐
31 imal wires, like supplies or clocks.
32 The values for drawing the via correctly, ie avoid drc violations, are
33 taken from the idps set of rules, and are not changeable at run time.
34
36 "*** mbk error *** bigvia impossible : negative values dx, dy in
37 figure figure at (x, y)"
38 If either dx or dy are negative, the function complains and exits.
39
41 #include "mph.h"
42 #define BigVia(x, y, dx, dy) \
43 bigvia(WORK_PHFIG, CONT_VIA, x, y, dx, dy)
44
46 mbk(1), addphvia(3), addphseg(3).
47
48
49
50
51
52
53ASIM/LIP6 October 1, 1997 BIGVIA(3)