Make all pads in ufqfpn28 corners at least 6mils wide
authorKeith Packard <keithp@keithp.com>
Mon, 28 Mar 2016 15:24:15 +0000 (08:24 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 28 Mar 2016 15:24:15 +0000 (08:24 -0700)
This avoids complaints from DRC checking

Signed-off-by: Keith Packard <keithp@keithp.com>
packages/ufqfpn28.5c

index 5a060c8c7d3e5c0bf0ea98c70d4832f4499523e2..e66444492e40a0626721ff033838c801c02cf14f 100644 (file)
@@ -44,9 +44,6 @@ real package_height = 4;
 
 real num_pad = 7;      /* per side */
 
-/* our magic corner pads appear too narrow */
-override("pad trace");
-
 element_start("ufqfpn-28");
 
 real pad_off(int n) {
@@ -83,7 +80,7 @@ for (int pad = 0; pad < num_pad; pad++) {
        int     nstep = 0;
 
        if (pad == 0 || pad == num_pad-1)
-               nstep = 4;
+               nstep = 3;
 
        for (int s = 0; s <= nstep; s++) {
 
@@ -101,6 +98,11 @@ for (int pad = 0; pad < num_pad; pad++) {
                        pad_w = corner_pad_minimum_width * (1-ratio) + corner_pad_width * ratio;
 
                        pad_h = pad_height * (1 - ratio) + corner_pad_minimum_height * ratio;
+
+                       /* Make sure we don't violate the process minimums */
+                       if (pad_h < process_trace)
+                               pad_h = process_trace;
+
                } else {
                        pad_x = 0;
                        pad_y = -pad_height / 2;