Sorry, my bad. It's actually just a resistor with the slotting attributes added plus a dot. Here it is: rpack-4.sym: v 20050313 1 L 600 200 500 0 3 0 0 0 -1 -1 L 500 0 400 200 3 0 0 0 -1 -1 L 400 200 300 0 3 0 0 0 -1 -1 L 300 0 200 200 3 0 0 0 -1 -1 T 300 400 5 10 0 0 0 0 1 device=RESISTOR L 600 200 700 0 3 0 0 0 -1 -1 L 700 0 750 100 3 0 0 0 -1 -1 P 900 100 750 100 1 0 0 { T 800 150 5 8 0 1 0 0 1 pinnumber=2 T 800 150 5 8 0 0 0 0 1 pinseq=2 } P 0 100 152 100 1 0 0 { T 100 150 5 8 0 1 0 0 1 pinnumber=1 T 100 150 5 8 0 0 0 0 1 pinseq=1 } L 201 200 150 100 3 0 0 0 -1 -1 T 200 300 8 10 1 1 0 0 1 refdes=RP? T 0 0 8 10 0 1 0 0 1 pins=2 T 0 0 8 10 0 1 0 0 1 class=DISCRETE T 300 900 8 10 0 0 0 0 1 numslots=8 T 300 1100 8 10 0 0 0 0 1 slotdef=1:1,8 T 300 1300 8 10 0 0 0 0 1 slotdef=2:2,7 T 300 1500 8 10 0 0 0 0 1 slotdef=3:3,6 T 300 1700 8 10 0 0 0 0 1 slotdef=4:4,5 V 100 200 25 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1 On 12/18/05, Carlos Nieves Ónega <cnieves@xxxxxxxxxx> wrote: > Hi James, > can you also post the rpack-4.sym symbol? It's not in the distribution. > > Thanks, > > Carlos > > El dom, 18-12-2005 a las 00:51 -0600, James Cotton escribió: > > Does DRC2 support slotting? I added the attributes for a multipack > > resistor to the normal resistor but gnetlist -g drc2 dies (output > > below). Schematic is also below. > > James > > > > test.sch: > > v 20050313 1 > > C 2900 2400 1 270 0 rpack-4.sym > > { > > T 3300 2100 5 10 0 0 270 0 1 > > device=RESISTOR > > T 3200 2125 5 10 1 1 0 0 1 > > refdes=RP1 > > T 2900 2400 5 10 0 1 270 0 1 > > pins=2 > > T 2900 2400 5 10 0 1 270 0 1 > > class=DISCRETE > > T 3800 2100 5 10 0 0 270 0 1 > > numslots=4 > > T 4000 2100 5 10 0 0 270 0 1 > > slotdef=1:1,8 > > T 4200 2100 5 10 0 0 270 0 1 > > slotdef=2:2,7 > > T 4400 2100 5 10 0 0 270 0 1 > > slotdef=3:3,6 > > T 4600 2100 5 10 0 0 270 0 1 > > slotdef=4:4,5 > > T 3211 1937 5 10 1 1 0 0 1 > > value=100k > > T 2900 2400 5 10 0 0 270 0 1 > > footprint=RESCAV_EXBV8V__PANASONIC > > T 2900 2400 5 10 0 0 0 0 1 > > slot=2 > > } > > C 2000 2400 1 270 0 rpack-4.sym > > { > > T 2400 2100 5 10 0 0 270 0 1 > > device=RESISTOR > > T 2300 2125 5 10 1 1 0 0 1 > > refdes=RP1 > > T 2000 2400 5 10 0 1 270 0 1 > > pins=2 > > T 2000 2400 5 10 0 1 270 0 1 > > class=DISCRETE > > T 2900 2100 5 10 0 0 270 0 1 > > numslots=4 > > T 3100 2100 5 10 0 0 270 0 1 > > slotdef=1:1,8 > > T 3300 2100 5 10 0 0 270 0 1 > > slotdef=2:2,7 > > T 3500 2100 5 10 0 0 270 0 1 > > slotdef=3:3,6 > > T 3700 2100 5 10 0 0 270 0 1 > > slotdef=4:4,5 > > T 2311 1937 5 10 1 1 0 0 1 > > value=100k > > T 2000 2400 5 10 0 0 270 0 1 > > footprint=RESCAV_EXBV8V__PANASONIC > > T 2000 2400 5 10 0 0 0 0 1 > > slot=1 > > } > > > > > > output: > > gnetlist -v -v -g drc2 -o drc_output.txt test.sch > > gEDA/gnetlist version 20050313 > > gEDA/gnetlist comes with ABSOLUTELY NO WARRANTY; see COPYING for more details. > > This is free software, and you are welcome to redistribute it under certain > > conditions; please see the COPYING file for more details. > > > > Remember to check that your schematic has no errors using the drc2 backend. > > You can do it running 'gnetlist -g drc2 your_schematic.sch -o drc_output.txt' > > and seeing the contents of the file drc_output.txt. > > > > Loading schematic > > [/home/jcotton/documents/geda/cc2420-board--2005--base-0/test.sch] > > > > > > ------------------------------------------------------ > > Verbose mode legend > > > > n : Found net > > C : Found component (staring to traverse component) > > p : Found pin (starting to traverse pin / or examining pin) > > P : Found end pin connection (end of this net) > > R : Starting to rename a net > > v : Found source attribute, traversing down > > ^ : Finished underlying source, going back up > > u : Found a refdes which needs to be demangle > > U : Found a connected_to refdes which needs to be demangle > > ------------------------------------------------------ > > > > - Starting internal netlist creation > > Cpp Cpp DONE > > > > - Staring post processing > > - Naming nets: > > pnpnpnpn DONE > > - Renaming nets: > > DONE > > - Resolving hierarchy: > > DONE > > DONE > > > > Internal netlist representation: > > > > component RP1 > > pin 7 () unconnected_pin > > pin 2 () unconnected_pin > > > > component RP1 > > pin 8 () unconnected_pin > > pin 1 () unconnected_pin > > > > > > ERROR: In procedure apply: > > ERROR: Wrong type argument in position 1: #<variable 805a1c0 binding: > > #<primitive-procedure <>> > -- > Carlos Nieves Ónega <cnieves@xxxxxxxxxx> > >
Attachment:
rpack-4.sym
Description: Binary data