On Tue, Nov 23, 2004 at 11:38:20AM -0800, Larry Doolittle wrote: > Guys - > > > This works: > > > > Element(0x00 "Xilinx SF363 BGA" "" "XILINX_SF363" 100 0 0 100 0x00) > > ( > > Pad(0 31 0 31 13 "B1" 0x00) > > Pad(0 63 0 63 13 "C1" 0x00) > > etc. > > > > This does not: > > > > Element(0x00 "Xilinx SF363 BGA" "" "XILINX_SF363" 100 0 0 100 0x00) > > ( > > Pad[0 3150 0 3150 1350 "B1" 0x00] > > Pad[0 6299 0 6299 1350 "C1" 0x00] > > etc. > > Reading parse_y.y, I see I need to try for "pad_hi_format", and supply the > clearance and mask. When I make up some numbers, those lines look like: > > Pad[0 3150 0 3150 1300 3000 1900 "B1" "2" 0x00] > Pad[0 6299 0 6299 1300 3000 1900 "C1" "3" 0x00] > > which should match the pattern > /* x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags */ > T_PAD '[' NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER NUMBER STRING STRING > NUMBER ']' > but pcb still gives me > 1: ERROR parsing file 'pcblib' > line: 12 > description: 'syntax error' >
The entire element needs to be in the "element_hi_format" format, not just the pin/pad lines. Try ./QueryLibrary.sh . pcblib geda_SO8 SO8 SO8 to see an example. I did a quick look and it looks like the footprints which currently use the hi-res format are those which make use of the COMMON_SMT_DIL_MIL and COMMON_SMT_DIL_MM macros. This includes things like SO, SOJ, stuff from ~cts and ~minicircuits, and others. Also, all of the QFN sockets in the ~johnstech library. Looks like the non-socket QFN footprints in ~geda have not been updated. Sorry if I mistyped on that. -Dan --
