[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: gattrib mangles slots
On Fri, Jan 21, 2005 at 12:32:19PM +0000, Karel Kulhavy wrote:
> On Fri, Jan 21, 2005 at 07:17:19AM -0500, Stuart Brorson wrote:
> > > > Thanks for posting the schematic. It will help me get a leg up on
> > > > locating the problem.
> > >
> > > The schematic is not to be released yet. I don't know how to reproduce the bug,
> > > too.
> >
> > Can you try to copy only the problem parts from the schematic to
> > another sheet? By providing concrete info about the bug, you help me
> > help you improve gEDA/gaf, which is good for everybody!
>
> I made d.sch that is attached and it has been done using gattrib and gschem.
> Add invisible attribute slot=2 to the lower left gate. It won't change the
> numbers of pins. Only after quit and reload -> BUG! (of either gattrib or
> gschem).
And another magic schematic. Now it is called e.sch. It contains four
different slots of the same gate.
1) load e.sch into gattrib
2) save, quit
3) load e.sch into gschem. All gates except lower right will have it's
slot numbers mangled.
gattrib, gschem 20041208
Cl<
>
> Cl<
> v 20041228 1
> C 27700 58100 1 0 0 7486-2.sym
> {
> T 28000 58100 5 10 1 1 0 0 1
> refdes=U3
> T 28000 57900 5 10 1 1 0 0 1
> device=74HC86
> }
> C 30600 58100 1 0 0 7486-2.sym
> {
> T 31000 58100 5 10 1 1 0 0 1
> refdes=U3
> T 31000 57900 5 10 1 1 0 0 1
> device=74HC86
> }
> C 27700 56400 1 0 0 7486-2.sym
> {
> T 28000 56300 5 10 1 1 0 0 1
> refdes=U3
> T 28000 56100 5 10 1 1 0 0 1
> device=74HC86
> }
> C 30700 56400 1 0 0 7486-2.sym
> {
> T 31000 56300 5 10 1 1 0 0 1
> refdes=U3
> T 31000 56100 5 10 1 1 0 0 1
> device=74HC86
> T 30700 56400 5 10 0 1 0 0 1
> slot=3
> }
> T 15500 72400 5 10 0 0 0 0 1
> device=NPN_TRANSISTOR
> T 16100 73300 5 10 0 0 0 0 1
> device=NPN_TRANSISTOR
> T 23450 77450 5 10 0 0 0 0 1
> device=DIODE
> T 24300 77300 5 10 0 0 0 0 1
> device=DIODE
> T 19450 77850 5 10 0 0 0 0 1
> device=LED
> T 19450 77750 5 10 0 0 0 0 1
> description=Generic LED
> T 19450 77650 5 10 0 0 0 0 1
> numslots=0
> T 40950 77750 5 10 0 0 0 0 1
> device=LED
> T 40950 77650 5 10 0 0 0 0 1
> description=Generic LED
> T 40950 77550 5 10 0 0 0 0 1
> numslots=0
v 20041228 1
C 27700 58100 1 0 0 7486-2.sym
{
T 28000 58100 5 10 1 1 0 0 1
refdes=U3
T 28000 57900 5 10 1 1 0 0 1
device=74HC86
}
C 30600 58100 1 0 0 7486-2.sym
{
T 31000 58100 5 10 1 1 0 0 1
refdes=U3
T 31000 57900 5 10 1 1 0 0 1
device=74HC86
T 31400 58500 5 10 0 1 0 0 1
slot=3
}
C 27700 56400 1 0 0 7486-2.sym
{
T 28000 56300 5 10 1 1 0 0 1
refdes=U3
T 28000 56100 5 10 1 1 0 0 1
device=74HC86
T 28300 56800 5 10 0 1 0 0 1
slot=2
}
C 30700 56400 1 0 0 7486-2.sym
{
T 31000 56300 5 10 1 1 0 0 1
refdes=U3
T 31000 56100 5 10 1 1 0 0 1
device=74HC86
T 30700 56400 5 10 0 1 0 0 1
slot=4
}
T 15500 72400 5 10 0 0 0 0 1
device=NPN_TRANSISTOR
T 16100 73300 5 10 0 0 0 0 1
device=NPN_TRANSISTOR
T 23450 77450 5 10 0 0 0 0 1
device=DIODE
T 24300 77300 5 10 0 0 0 0 1
device=DIODE
T 19450 77850 5 10 0 0 0 0 1
device=LED
T 19450 77750 5 10 0 0 0 0 1
description=Generic LED
T 19450 77650 5 10 0 0 0 0 1
numslots=0
T 40950 77750 5 10 0 0 0 0 1
device=LED
T 40950 77650 5 10 0 0 0 0 1
description=Generic LED
T 40950 77550 5 10 0 0 0 0 1
numslots=0