delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/07/20/03:31:53

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-18) with nmh-1.3
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: inbox
To: geda-user AT delorie DOT com
cc: karl AT aspodata DOT se
Fcc: +outbox
Subject: Re: [geda-user] Symbol attributes
In-reply-to: <50084839.9080804@sbcglobal.net>
References: <50084839 DOT 9080804 AT sbcglobal DOT net>
Comments: In-reply-to "Girvin R. Herr" <girvin DOT herr AT sbcglobal DOT net>
message dated "Thu, 19 Jul 2012 10:47:37 -0700."
Mime-Version: 1.0
Message-Id: <20120720073140.8BE58827EB3E@turkos.aspodata.se>
Date: Fri, 20 Jul 2012 09:31:40 +0200 (CEST)
From: karl AT aspodata DOT se (Karl Hammar)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Girvin Herr:
> According to the gEDA/gaf Symbol Creation Document:
> 
>     * device=DEVICENAME should be placed somewhere in the symbol and
>       made invisible.  ... This attribute should not be used as a label.
>       Use a separate text object for the label.  ... "
> 
> Although many of the library symbols violate this "requirement" and use 
> "device" as the value-visible device name, i.e. "7400", in the 
...

I'm writing a symbol generator and my take on this is (from my
programs help text):

   Invisable atttributes (will have the "visible" flag not set)
...
    5. device
        The type of things that the sybol represent. If the symbol
        represents a family of devices, use the family name, else use a very
        short description, e.g. "ATMega_x8" or "Resistor". No default.
...
   Visable attributes (will have the "visible" flag set)
...
    2. description
        Like "device", but a little more verbose.

    3. value
        Like "device"/"description" described above, but more specific. E.g.
        "ATMega_88", "100R" (Ohm). Defaults to "device".

If I'm correct in the above, it make sense to make "device" invisible,
the symbol graphics, "description", and "value" should be enought.

"device=7400" could be considered a "family" (if you wish), with
"value=74ALS00" being more specific. To be even more specific you
could have, as you mention, a partnumber or ordernumber.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019