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

Re: gEDA-user: Check for same refdes



Hi Carlos,

I just installed the new drc2 from CVS and it work's fine. Thank you for your 
work.

I personaly would leave it like it is. A double check does not hurt anyone.


Peter



Am Sonntag, 23. Januar 2005 13:53 schrieb Carlos Nieves Ónega:
> Hi all,
>
> Thank you Stuart, for committing the changes into CVS.
>
> Something "funny" happened....
> When I was working on the DRC patch yesterday, I added a specific check
> for duplicated references to the DRC2 backend. This change was not
> included in the patch because the file was overwrote with the original
> version by accident before I made the diff.
>
> When Peter asked about changing the message, I wonder what was
> happening... I realized the DRC2 changes were missing, and I coded them
> again. I attach now the diff, and please accept my apologies for all the
> inconveniences.
>
> The "funny" thing is that the duplicated reference problem was already
> begin catched by the DRC2 backend, just because if there are duplicated
> references, there should be duplicated slots used as well...
>
> So now, the question is: should this new test be added to the drc2
> backend?
> Personally, I think it won't hurt anyone, while it can give more
> information of what's wrong to the user, so my vote is to include it
> anyway.
>
> Any thoughts?
>
> Regards,
>
> Carlos
>
> El dom, 23-01-2005 a las 10:03 +0100, Peter Kaiser escribió:
> > Hi Carlos,
> >
> > new DRC2 runs fine.
> >
> > It found my refdes=A? as well as my double transistor M2!!
> >
> > May be you can change the message:
> > Checking duplicated slots...
> >
> > to:
> > Checking duplicated slots or same refdes...
> >
> > In analog simulation I never use the slot attribute. It always will be
> > the problem that the same refdes is on two components.
> >
> > Thank's for your work.
> >
> >
> > Peter
> >
> > Am Samstag, 22. Januar 2005 22:46 schrieb Carlos Nieves Ónega:
> > > Hi Peter,
> > > attached is a patch implementing duplicate refdes checking. (diff using
> > > CVS version 20050117).
> > > It does the following:
> > > 	- Add a new function to libgeda and gnetlist to get a non-unique list
> > > of refdes.
> > > 	- Add the new check to drc2 backend.
> > > 	- When running gnetlist, remind the user to check the schematics using
> > > the drc2 backend.
> > > 	- Slightly modify the behaviour of gnetlist. When there's a component
> > > which has no slot attribute, gnetlist threw a warning (component
> > > without slot attribute), and all backends get the slot 0 for that
> > > component. Now the warning is removed, and the backends get the slot 1
> > > for that component. I think this is correct, since when there's no slot
> > > attribute, it's assumed that the component is using slot 1.
> > >
> > > Hope it's useful. Like all new features, test it and be careful !!. ;-)
> > > (it may contain bugs).
> > >
> > > Regards,
> > >
> > > Carlos
> > >
> > > Note to any developer with CVS access: I have no access to CVS, so feel
> > > free to include this patch.
> > >
> > > El dom, 16-01-2005 a las 23:22 +0100, Peter Kaiser escribió:
> > > > Hello,
> > > >
> > > > is there any possibility to check whether the same refdes attribute
> > > > is twice on the page?
> > > >
> > > > I always run into problems when netlisting and I either forgot to
> > > > replace the R? with R4 or when I copy a block.
> > > >
> > > > The netlister gives no message when R4 appears twice on a page. The
> > > > netlist is wrong.
> > > >
> > > > Peter
> > > >
> > > >
> > > > ---Publicidad--------------------------------------------------------
> > > > Melodas y Juegos flipantes para tu mvil  Descrgalas !
> > > > http://www.mobileparty.net/?login=778336