Wrong computation of the up/down dogleg layer for 2 layers gauges.
* Bug: In Anabatic::AutoHorizontal::_makeDogleg(), the up/down flag was incorrectly computed when the RoutingGauge RL where not the lower one. This was leading to making doglegs in non-routable layers (but present in the gauge for other purposes).
This commit is contained in:
parent
2116e181de
commit
047bf14921
|
@ -875,7 +875,7 @@ namespace Anabatic {
|
|||
bool upLayer = true;
|
||||
|
||||
if (Session::getRoutingGauge()->isTwoMetals()) {
|
||||
upLayer = (depth == 0);
|
||||
upLayer = (not Session::getRoutingGauge()->isVH());
|
||||
} else if (Session::getRoutingGauge()->isVH()) {
|
||||
upLayer = (depth < 2);
|
||||
} else {
|
||||
|
|
|
@ -736,7 +736,7 @@ namespace Anabatic {
|
|||
bool upLayer = true;
|
||||
|
||||
if (Session::getRoutingGauge()->isTwoMetals()) {
|
||||
upLayer = (depth == 0);
|
||||
upLayer = (Session::getRoutingGauge()->isVH());
|
||||
} else if (Session::getRoutingGauge()->isVH()) {
|
||||
upLayer = (depth < 2);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue