commit | ccb79227ea8d29584eded73b8f9317051cab13d4 | [log] [tgz] |
---|---|---|
author | Philipp Gühring <pg@futureware.at> | Sun Jun 13 19:45:39 2021 +0200 |
committer | Philipp Gühring <pg@futureware.at> | Sun Jun 13 19:45:39 2021 +0200 |
tree | c1c368c7cedff8977a6c9d5cd5c695df91df68b6 | |
parent | a6f9fc08e285bff9527912a29785abb84c789b0e [diff] |
Filter out unused cells
diff --git a/scripts/generator.pl b/scripts/generator.pl index 87e764e..bcbc6fa 100644 --- a/scripts/generator.pl +++ b/scripts/generator.pl
@@ -68,6 +68,7 @@ my $name=""; $name=$1 if($mag=~m/([\w\-\.]+)\.mag$/); next unless(-f $cell); next unless(-f $lib); + next unless(-f "$CARAVEL/cells/mag/$name.mag"); open CELL,"<$cell"; print "$name $name(\n";