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

Re: gEDA-user: gsch 74-series library parts



Hi all,

On Friday 29 April 2005 19:56, Wilbert Knol wrote:
> > > I am a bit puzzled by these parts....the value (e.g. "7404") is
> > > embedded into them as text.
> >
> > I asked the question months ago and the answer is related to the
> > intention to generate outputs to timing simulation programs.
>
> Thanks. I will trawl through the archives for the posting.  It makes
> even less sense now:  timing info conveyed by hard-coding of part
> values that ignore the logic family?!

Well, I still think that the text elements "7404" are not values.
If you have a resistor it is pretty easy to see that it is a resistor. 
The text element describe the meaning of the symbol.

The value of the device can still be LS, HC, ALS, ABT or whatever.
Putting the value into a value attribute will lead to the intented 
output, for example BOM lists, spice netlists, ...:

device	value
--------------------
resistor	1k
7404		74ABT04

> > I ended up with creating my own symbols. You may copy the libray
> > symbols to your own symbol directory, and edit them with a file
> > editor or gschem.
>
> OK...reassuring to know I am not alone doing this :-) I can feel a
> Perl script coming on...one that zaps those labels from the 74-series
> parts.

Maybe you want to change the "7404" description elements into value 
attribute elements.
Then the value attribute will be promoted when you insert them into the 
schematic.

----74/7404-1.sym----
< T 300 0 9 8 1 0 0 0 1
< 7404
---
> T 300 0 9 8 1 1 0 0 1
> value=7404

regards
Werner