Fixed interpretation of TYPE OVERLAP, added test

This commit is contained in:
Matthias Koefferlein
2023-10-17 20:49:37 +02:00
parent c62480c49b
commit ac4b02c53a
7 changed files with 67 additions and 1 deletions
@@ -522,7 +522,7 @@ GeometryBasedLayoutGenerator::subtract_overlap_from_outline (const std::set<std:
pn += 2;
}
db::BooleanOp op (db::BooleanOp::ANotB);
db::BooleanOp op (db::BooleanOp::And);
db::ShapeGenerator sg (s->second, true /*clear shapes*/);
db::PolygonGenerator out (sg, true, true);
proc.process (out, op);
@@ -1011,3 +1011,10 @@ TEST(209_invalid_split_paths)
run_test (_this, "issue-1472", "map:tech.map+lef:tech.lef.gz+def:test.def.gz", "au.oas", default_options (), false);
}
// issue-1499
TEST(210_overlaps)
{
run_test (_this, "issue-1499", "map:tech.map+lef:tech.lef+lef:blocks.lef+def:top.def", "au.oas", default_options (), false);
}