Commit f075fe7d authored by Stefan Tauner's avatar Stefan Tauner
Browse files

FIJI Settings: ignore undefined net names when looking for duplicate instrumentations

parent abe5216e
......@@ -303,12 +303,16 @@ sub read_settingsfile ($$$) {
return (undef, $msg);
}
if (defined $dup->{$fiu_ref->{'FIU_NET_NAME'}}) {
my $msg = "More than one FIU attached to ".$fiu_ref->{'FIU_NET_NAME'};
$logger->warn($msg);
$warn .= $msg;
} else {
$dup->{$fiu_ref->{'FIU_NET_NAME'}} = 1;
# Test for multiple instrumentations of a single net
my $netname = $fiu_ref->{'FIU_NET_NAME'};
if (defined($netname) && length($netname) > 0) {
if (defined $dup->{$netname}) {
my $msg = "More than one FIU attached to $netname";
$logger->warn($msg);
$warn .= $msg;
} else {
$dup->{$fiu_ref->{'FIU_NET_NAME'}} = 1;
}
}
$fiji_settings_ref->{'fius'}->[$fiu_num] = $fiu_ref;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment