[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: drc2 with slotting



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 <>>