[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: DRC2 Problem (gEDA-2005080313)
- To: geda-user@xxxxxxxx
- Subject: Re: gEDA-user: DRC2 Problem (gEDA-2005080313)
- From: Carlos Nieves Ónega <cnieves.mail@xxxxxxxxx>
- Date: Sun, 08 May 2005 20:12:11 +0200
- Delivered-to: archiver@seul.org
- Delivered-to: geda-user-outgoing@seul.org
- Delivered-to: geda-user@seul.org
- Delivery-date: Sun, 08 May 2005 14:13:55 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=FaXNgbEHap+R03JbigSDpi1a0ULWWiDFjcI9H3d0spVfY9AIM4dwzpPrEz5gdbLly/jjnbphjL1p0HaqQrv/YB+a+53iycWNlCm2WnRuKDglyb2/44Sr+MhIkUI+daP/hR8jEHZE+h6IGTRok0nQgUYxogRaIBU1TJCsNUBh050=
- In-reply-to: <427D8FFD.2070706@baertronix.com>
- References: <427D8FFD.2070706@baertronix.com>
- Reply-to: geda-user@xxxxxxxx
- Sender: owner-geda-user@xxxxxxxx
Hi Neal,
this is not a drc2 bug, but a gnetlist one. I found where the problem
is, but I'm not a scheme guru, so I don't understand yet what is
happening.
The problem is in g_get_slots function, in g_netlist.c. There is a call
to scm_sort_list_x just before the function's end. This is where this
error is generated. I tried to just commenting out the call to
scm_sort_list_x, and gnetlist worked well.
The list passed to scm_sort_list_x is (1, 1).
Anyone knows what's the problem here?
Thanks,
Carlos
El sáb, 07-05-2005 a las 23:05 -0500, Neal Baer escribió:
> I just compiled gEDA-2005080313, SuSE 9.2 yesterday.
>
> I found what seems to be a bug with gnet-drc2.scm. Creating a simple
> schematic of 2 resistors, having the same reference (i.e. R1), same or
> different values, causes the DRC2 output as shown below.
>
> I found the problem with a slotted part, thus each slot instance has the
> same reference designator. This stops the DRC2 testing to complete,
> which deems it useless in this scenario. I had to ensure that the
> reference numbers differ for the slotted parts to get DRC2 to complete
> its test.
>
> Creating a netlist with the same reference numbers for slotted parts
> worked properly.
>
> Any suggestions or workarounds?
>
> Thanks,
>
> Neal
>
> DRC OUTPUT OF TEST SCHEMATIC WITH DUPLICATE REFERENCES
>
> > nbaer@linux:~/Projects/Terrigena/FILTER-DESIGN/FRONT-END-FILTER>
> > gnetlist -g drc2 test.sch -o -
> > 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/nbaer/Projects/Terrigena/FILTER-DESIGN/FRONT-END-FILTER/test.sch]
> > Checking non-numbered parts...
> >
> > Checking duplicated references...
> > ERROR: Duplicated reference R1.
> >
> > Checking nets with only one connection...
> > ERROR: Net has only one connected pin: dgnd
> > ERROR: Net has only one connected pin: unnamed_net1
> >
> > Checking type of pins connected to a net...
> >
> > Checking unconnected pins...
> >
> > Checking slots...
> >
> > Checking duplicated slots...
> > ERROR: In procedure apply:
> > ERROR: Wrong type argument in position 1: #<variable 80661b8 binding:
> > #<primitive-procedure <>>
> > nbaer@linux:~/Projects/Terrigena/FILTER-DESIGN/FRONT-END-FILTER>
>
>
>
> ---Publicidad--------------------------------------------------------
> Alquila tu vehículo al mejor precio con HERTZ
> ¡ 60 euros por el fin de semana !
> http://tracker.tradedoubler.com/click?p=20846&a=1037797
--
Carlos Nieves Ónega <cnieves@xxxxxxxxxx>