# This is the template file for creating symbols with tragesym # every line starting with '#' is a comment line. [options] # wordswap swaps labels if the pin is on the right side an looks like this: # "PB1 (CLK)". That's useful for micro controller port labels # rotate_labels rotates the pintext of top and bottom pins # this is useful for large symbols like FPGAs with more than 100 pins # sort_labels will sort the pins by it's labels # useful for address ports, busses, ... wordswap=yes rotate_labels=no sort_labels=yes generate_pinseq=yes sym_width=1400 pinwidthvertical=400 pinwidthhorizontal=400 [geda_attr] # name will be printed in the top of the symbol # if you have a device with slots, you'll have to use slot= and slotdef= # use comment= if there are special information you want to add version=20060906 1 name=PCF8574 device=PCF8574 refdes=U? footprint=SOIC-16W-longpads description=Remote I//O expander for I2C bus documentation=http://focus.ti.com/lit/ds/symlink/pcf8574.pdf author=Justyn Butler numslots=0 #slot=1 #slotdef=1: #slotdef=2: #slotdef=3: #slotdef=4: #comment= #comment= #comment= [pins] # tabseparated list of pin descriptions # ---------------------------------------- # pinnr is the physical number of the pin # seq is the pinseq= attribute, leave it blank if it doesn't matter # type can be (in, out, io, oc, oe, pas, tp, tri, clk, pwr) # style can be (line,dot,clk,dotclk,none). none if only want to add a net # posit. can be (l,r,t,b) or empty for nets # net specifies the name of the net. Vcc or GND for example. # label represents the pinlabel. # negation lines can be added with "\_" example: \_enable\_ # if you want to write a "\" use "\\" as escape sequence #----------------------------------------------------- #pinnr seq type style posit. net label #----------------------------------------------------- 1 in line l A0 2 in line l A1 3 in line l A2 4 io line r P0 5 io line r P1 6 io line r P2 7 io line r P3 8 pwr line b GND GND 9 io line r P4 10 io line r P5 11 io line r P6 12 io line r P7 13 out line r \_INT\_ 14 io line l SCL 15 io line l SDA 16 pwr line t Vcc Vcc