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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user