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

Re: gEDA-user: help with gmk_sym



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