| #!/bin/bash |
| |
| TOP=$PWD |
| |
| for DIR in s8rr*; do |
| cd $TOP |
| cd $DIR |
| LIB=${DIR//projectdir/designlib} |
| for VERSION in V* ; do |
| cd $TOP |
| echo $DIR $LIB $VERSION |
| echo "--------------------------------------------------------------------" |
| cat $TOP/cds.lib.top > $TOP/cds.lib |
| cat $TOP/$DIR/$VERSION/VirtuosoOA/libs/cds.lib | sed -e"s@\./@$TOP/$DIR/$VERSION/VirtuosoOA/libs/@" >> $TOP/cds.lib |
| |
| cat cds.lib |
| GDS_TOP=$TOP/$DIR/$VERSION/gds/oa |
| # scs8hd/V0.0.1/oa/cds.lib |
| mkdir -p $GDS_TOP |
| strmout \ |
| -library $LIB \ |
| -view layout \ |
| -flattenPcells -flattenVias \ |
| -verbose \ |
| -ignoreMissingCells \ |
| -translateUnmappedLPP \ |
| -logFile $GDS_TOP/stream.log \ |
| -strmFile $GDS_TOP/$LIB.gds \ |
| -summaryFile $GDS_TOP/$LIB.summary \ |
| |
| git add $GDS_TOP/* |
| done |
| done |
| |