[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: help with gmk_sym
- To: geda-user@xxxxxxxx
- Subject: Re: gEDA-user: help with gmk_sym
- From: Charles Lepple <clepple@xxxxxxxxx>
- Date: Thu, 7 Apr 2005 21:33:29 -0400
- Delivered-to: archiver@seul.org
- Delivered-to: geda-user-outgoing@seul.org
- Delivered-to: geda-user@seul.org
- Delivery-date: Thu, 07 Apr 2005 21:33:55 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=HqyMapuTU+PKjj/L7A5Cns2efeNJDBnl4XkvtT9QDUWN3xlEvUCV3/VAZ7pBJxHTdhgFVZCubJnpYH633m603v/b3oVFfdiRKYbQtRQffx7pF/T9zR/l3b7dQHAAF3j+2v0gqeWsWuol40ezs3ZMp4PMMLTgvMCFI23piP0P4S4=
- In-reply-to: <200504072118210094.1268954D@mail.optonline.net>
- References: <200504072118210094.1268954D@mail.optonline.net>
- Reply-to: geda-user@xxxxxxxx
- Sender: owner-geda-user@xxxxxxxx
On Apr 7, 2005 9:18 PM, gene <carzrgr8@xxxxxxxxxxxxx> wrote:
> Hello - new to the list, so maybe this is already discussed (sorry if that's
> true). How do you use gmk_sym? I cannot find any documentation on it
> anywhere. Am I missing something really obvious?
The instructions are well-hidden... in gmk_sym.c:
GMK_SYM typical use:
gk_sym 7474.txt >7474-3.sym
To build:
gcc -O2 -Wall gmk_sym.c -o gmk_sym
The input file format:
1. lines starting with ';' are comment lines, and
are not processed.
2. The 1st valid line describes a device
1st value: device name
2nd value: visible name
3rd value: visible name location on package,
4th value: box's hoz size, in pins spacings
5th value: box's ver size, in pins spacings
6th value: uref prefix, like U or J
7th value: Footprint
8th value: Total number of pins on device (including hidden)
3. All other valid lines describes the symbol's pins
1st value: pin name
2nd value: pin number
3rd value: pin shape, choice of: line, clock, dot&line
4th value: side of box to attach the pin,choice of: R, L, T, B
5th value: location of pin on side of box, in pin spacings
6th value: (optional) pin type attribute: in, out, io, oc, oe,
pas, tp, tri, clk, pwr
See the 7474 sample file below
[snip]
--
- Charles Lepple