#!/bin/csh | |
#if `grep "cdlNetlistType = 'fnl" .simrc` != "cdlNetlistType = 'fnl" then | |
#echo "cdlNetlistType = 'fnl" >> .simrc | |
#endif | |
if ( -r cds.lib ) then | |
foreach cell (`cat cellList`) | |
rm si.env | |
sed -e "s^CELL_NAME^$cell^" < sienv_template >> si.env | |
si -batch -command netlist | |
break | |
end | |
else | |
echo "error: cannot find cds.lib in the current working directory" | |
endif |