# Symbol definition of 74HC595 (SO16 footprint) for gschem/gEDA
# S. Salewski, 06-MAY-2009
# File: 74595-2.txt
# The Python script "tragesym" is used to convert this textual symbol definition to a symbol
# usage: tragesym 74595-2.txt 74595-2.sym

# tragesym options

[options]
# wordswap swaps labels if the pin is on the right side and 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=no
rotate_labels=no
sort_labels=no
generate_pinseq=yes
sym_width=1600
pinwidthvertical=300
pinwidthhorizontal=300

[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=20060113 1
name=74HC595
value=74HC595
device=74HC595
refdes=U?
footprint=SO16
description=8-Bit serial-in shift register
documentation=http://www.nxp.com/acrobat/datasheets/74HC_HCT595_4.pdf
author=Stefan Salewski
dist-license=GPL
use-license=unlimited
numslots=0
#slot=1
#slotdef=1:
#slotdef=2:
#slotdef=3:
#slotdef=4:
comment=generated with Python script tragesym

[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
#-----------------------------------------------------
9		tri	line	r		Q7'
15		tri	line	r		Q0
1		tri	line	r		Q1
2		tri	line	r		Q2
3		tri	line	r		Q3
4		tri	line	r		Q4
5		tri	line	r		Q5
6		tri	line	r		Q6
7		tri	line	r		Q7
#8		pwr	line	r		GND
10		in	line	b		\_MR\_
11		clk	clk	t		SH_CP
12		clk	clk	t		ST_CP
13		in	line	b		\_OE\_
14		in	line	l		DS
#16		pwr	line	r		VCC

