#!/bin/tcsh ###################################################################### # Convert alf format from Encounter Library Characterizer to lib format # Erik Brunvand, University of Utah ###################################################################### setenv CADPUB /uusoc/facility/cad_common/ setenv CADSETUPS ${CADPUB}/local/setups/F08 # Sourse the basic Cadence/NCSU setup source ${CADSETUPS}/setup-ncsu # remind the user where they are... echo "Working directory is" $PWD # Print usage string if ("$#" != 1) then echo "cad-alf2lib - converts a .alf file to a .lib file" echo " " echo "Usage: cad-alf2lib " echo " " echo "where .alf is your alf file" echo "Note that the footprints must be in a 'footprints.def' file" echo " " exit endif # Start alf2lib, with libname as the argument # Check if there's a footprints.def file, and if you should be # changing to a new group... if (-e "footprints.def") then alf2lib -alf ${argv}.alf -lib ${argv}.lib -def footprints.def else alf2lib -alf ${argv}.alf -lib ${argv}.lib endif