Changeset 28153
- Timestamp:
- May 28, 2010, 8:23:10 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-Config/lib/PS/IPP/Config.pm
r28097 r28153 1011 1011 $filename =~ s/\{OUTPUT\}/$output/; 1012 1012 if ($filename =~ /\{CHIP\.NAME\}/) { 1013 my ($chip, $cell) = ($component, $component); # Chip and cell names1013 my $chip = $component; # Chip name (only one component is allowed, will be used for all elements) 1014 1014 $chip = "fpa" unless defined $chip; 1015 $filename =~ s/\{CHIP\.NAME\}/$chip/; 1016 } 1017 if ($filename =~ /\{CELL\.NAME\}/) { 1018 my $cell = $component; # Cell name 1015 1019 $cell = "chip" unless defined $cell; 1016 $filename =~ s/\{CHIP\.NAME\}/$chip/;1017 1020 $filename =~ s/\{CELL\.NAME\}/$cell/; 1021 } 1022 if ($filename =~ /\{FILE\.ID\}/) { 1023 my $fileID = $component; # FILE.ID 1024 $fileID = 0 unless defined $fileID; 1025 my $fileN = sprintf ("%03d", $fileID); 1026 $filename =~ s/\{FILE\.ID\}/$fileN/; 1018 1027 } 1019 1028
Note:
See TracChangeset
for help on using the changeset viewer.
