commit | 96310a54479a72605c9f71ad6eebe0bddc4936fc | [log] [tgz] |
---|---|---|
author | Philipp Gühring <pg@futureware.at> | Sun Jun 13 23:26:34 2021 +0200 |
committer | Philipp Gühring <pg@futureware.at> | Sun Jun 13 23:26:34 2021 +0200 |
tree | 310f10900b8c987df70a11ea9def53456983fc34 | |
parent | 008b2563f94f60d5c80d2a8be29af7d333c22f5c [diff] |
Fixed the code ordering
diff --git a/scripts/placement.pl b/scripts/placement.pl index d29414d..ed45411 100644 --- a/scripts/placement.pl +++ b/scripts/placement.pl
@@ -15,9 +15,9 @@ next unless(-f $cell); my $lib=$mag; $lib=~s/\.mag$/.lib/; next unless(-f $lib); + my $name=""; $name=$1 if($mag=~m/([\w\-\.]+)\.mag$/); next unless(-f $ENV{'CARAVEL'}."/cells/mag/$name.mag"); - my $name=""; $name=$1 if($mag=~m/([\w\-\.]+)\.mag$/); print "$name ".($width*80)." $nextla N\n"; $nextla+=$height*2; }