1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2025-04-21 12:27:27 +03:00

genex/: added support for multi-part components

This commit is contained in:
Werner Almesberger
2012-04-11 23:10:42 -03:00
parent 5083973b9a
commit 0f0e732d3f
7 changed files with 64 additions and 28 deletions

View File

@@ -14,15 +14,16 @@
usage()
{
echo "usage: $0 library symbol tmpdir outfile" 1>&2
echo "usage: $0 library symbol unit tmpdir outfile" 1>&2
exit 1
}
lib=$1
sym=$2
tmp=$3
out=$4
unit=$3
tmp=$4
out=$5
[ "$lib" ] && [ "$sym" ] && [ "$tmp" ] && [ "$out" ] || usage
@@ -62,9 +63,9 @@ EELAYER 43 0
EELAYER END
\$Comp
L X$sym ??
U 1 1 00000000
U $unit 1 00000000
P $X $Y
1 $X $Y
$unit $X $Y
1 0 0 -1
\$EndComp
\$EndSCHEMATC