Bugfix: LVS - same_nets should not be picky about net names - they may be missing in some circuits

This commit is contained in:
Matthias Koefferlein 2023-02-02 12:24:50 +01:00
parent 9d9bf2934e
commit 48ec208843
1 changed files with 2 additions and 2 deletions

View File

@ -663,13 +663,13 @@ CODE
else
if a.is_a?(String)
net_a = circuit_a.net_by_name(a) || raise("Not a valid net name in extracted netlist in 'same_nets': #{a} (for circuit #{circuit_a})")
net_a = circuit_a.net_by_name(a)
else
net_a = a
end
if b.is_a?(String)
net_b = circuit_b.net_by_name(b) || raise("Not a valid net name in extracted netlist in 'same_nets': #{b} (for circuit #{circuit_b})")
net_b = circuit_b.net_by_name(b)
else
net_b = b
end