diff --git a/src/db/db/dbLayoutDiff.cc b/src/db/db/dbLayoutDiff.cc index d6023d159..28dea23db 100644 --- a/src/db/db/dbLayoutDiff.cc +++ b/src/db/db/dbLayoutDiff.cc @@ -1353,7 +1353,7 @@ PrintingDifferenceReceiver::print_cell_inst (const db::CellInstArrayWithProperti enough (tl::info) << "" << tl::noendl; } if (ci.properties_id () != 0) { - enough (tl::info) << " [" << ci.properties_id () << "]"; + enough (tl::info) << " " << db::properties (ci.properties_id ()).to_dict_var ().to_string (); } else { enough (tl::info) << ""; } @@ -1374,7 +1374,7 @@ PrintingDifferenceReceiver::print_cell_inst (const db::CellInstArrayWithProperti enough (tl::info) << "" << tl::noendl; } if (ci.properties_id () != 0) { - enough (tl::info) << " [" << ci.properties_id () << "]"; + enough (tl::info) << " " << db::properties (ci.properties_id ()).to_dict_var ().to_string (); } else { enough (tl::info) << ""; } diff --git a/src/plugins/streamers/cif/unit_tests/dbCIFReader.cc b/src/plugins/streamers/cif/unit_tests/dbCIFReader.cc index 4cb19a403..7f7273f6d 100644 --- a/src/plugins/streamers/cif/unit_tests/dbCIFReader.cc +++ b/src/plugins/streamers/cif/unit_tests/dbCIFReader.cc @@ -238,22 +238,22 @@ static void run_test2 (tl::TestBase *_this, const std::string &base, db::Layout TEST(1a) { - run_test (_this, tl::testdata_private (), "t1.cif.gz", "t1a_au.gds.gz"); + run_test (_this, tl::testdata_private (), "t1.cif.gz", "t1a_au2.gds.gz"); } TEST(1b) { - run_test (_this, tl::testdata_private (), "t1.cif.gz", "t1b_au.gds.gz", 0, 0.01); + run_test (_this, tl::testdata_private (), "t1.cif.gz", "t1b_au2.gds.gz", 0, 0.01); } TEST(1c) { - run_test (_this, tl::testdata_private (), "t1.cif.gz", "t1b_au.gds.gz", 0, 0.01, true); + run_test (_this, tl::testdata_private (), "t1.cif.gz", "t1b_au2.gds.gz", 0, 0.01, true); } TEST(1d) { - run_test (_this, tl::testdata_private (), "t1.cif.gz", "t1b_au.gds.gz", 0, 0.01, false, true); + run_test (_this, tl::testdata_private (), "t1.cif.gz", "t1b_au2.gds.gz", 0, 0.01, false, true); } TEST(2) @@ -263,17 +263,17 @@ TEST(2) TEST(3a) { - run_test (_this, tl::testdata_private (), "t3.cif.gz", "t3a_au.gds.gz", "CAA:43,CCA:48,CCP:47,CMF:49,CMS:51,CPG:46,CSN:45,CSP:44,CVA:50,CWN:42,XP:26"); + run_test (_this, tl::testdata_private (), "t3.cif.gz", "t3a_au2.gds.gz", "CAA:43,CCA:48,CCP:47,CMF:49,CMS:51,CPG:46,CSN:45,CSP:44,CVA:50,CWN:42,XP:26"); } TEST(3b) { - run_test (_this, tl::testdata_private (), "t3.cif.gz", "t3b_au.gds.gz", "CAA:43,CCA:48,CCP:47,CMF:49,CMS:51,CPG:46,CSN:45,CSP:44,CVA:50,CWN:42,XP:26", 0.00012); + run_test (_this, tl::testdata_private (), "t3.cif.gz", "t3b_au2.gds.gz", "CAA:43,CCA:48,CCP:47,CMF:49,CMS:51,CPG:46,CSN:45,CSP:44,CVA:50,CWN:42,XP:26", 0.00012); } TEST(3c) { - run_test (_this, tl::testdata_private (), "t3.cif.gz", "t3c_au.gds.gz", "(CPG:1/0) +(CPG:1000/0) (CCP:1/0) (CMF:2/0) +(CMF:1000/0) (CVA:3/0)", 0.00012); + run_test (_this, tl::testdata_private (), "t3.cif.gz", "t3c_au2.gds.gz", "(CPG:1/0) +(CPG:1000/0) (CCP:1/0) (CMF:2/0) +(CMF:1000/0) (CVA:3/0)", 0.00012); } TEST(4) diff --git a/src/plugins/streamers/dxf/unit_tests/dbDXFReaderTests.cc b/src/plugins/streamers/dxf/unit_tests/dbDXFReaderTests.cc index 0ecfa2827..c7aea4f61 100644 --- a/src/plugins/streamers/dxf/unit_tests/dbDXFReaderTests.cc +++ b/src/plugins/streamers/dxf/unit_tests/dbDXFReaderTests.cc @@ -117,7 +117,7 @@ TEST(4) db::DXFReaderOptions opt; opt.layer_map = string2lm ("Metal:1,Metal2:5"); opt.create_other_layers = true; - run_test (_this, "t4.dxf.gz", "t4_au.gds.gz", opt); + run_test (_this, "t4.dxf.gz", "t4_au_2.gds.gz", opt); } TEST(5) @@ -127,7 +127,7 @@ TEST(5) TEST(6) { - run_test (_this, "t6.dxf.gz", "t6_au.gds.gz"); + run_test (_this, "t6.dxf.gz", "t6_au_2.gds.gz"); } TEST(7) @@ -140,7 +140,7 @@ TEST(8) db::DXFReaderOptions opt; opt.layer_map = string2lm ("Metal:4,Kommentare:3,Bemassung:2"); opt.create_other_layers = true; - run_test (_this, "t8.dxf.gz", "t8_au.gds.gz", opt); + run_test (_this, "t8.dxf.gz", "t8_au_2.gds.gz", opt); } TEST(9) @@ -148,7 +148,7 @@ TEST(9) db::DXFReaderOptions opt; opt.layer_map = string2lm ("Bemassung:2,Metal:5,Kommentare:4"); opt.create_other_layers = true; - run_test (_this, "t9.dxf.gz", "t9_au.gds.gz", opt); + run_test (_this, "t9.dxf.gz", "t9_au_2.gds.gz", opt); } TEST(10) @@ -156,7 +156,7 @@ TEST(10) db::DXFReaderOptions opt; opt.layer_map = string2lm ("METAL:1,KOMMENTARE:4"); opt.create_other_layers = true; - run_test (_this, "t10.dxf.gz", "t10_au.gds.gz", opt); + run_test (_this, "t10.dxf.gz", "t10_au_2.gds.gz", opt); } TEST(11) @@ -166,7 +166,7 @@ TEST(11) TEST(12) { - run_test (_this, "t12.dxf.gz", "t12_au.gds.gz"); + run_test (_this, "t12.dxf.gz", "t12_au_2.gds.gz"); } TEST(14) @@ -174,7 +174,7 @@ TEST(14) db::DXFReaderOptions opt; opt.layer_map = string2lm ("'A11-STRUKTUR__E_TYP_':10,A21_NITRID:11,'B11-KONTAKT':9,'B11-STRUKTUR':3,HELLFELD:7,MASKE:5,NORM_MIN_MAX_WAFER:6,RASTER:2,_BEGRENZUNG_A11_A21_A31_B1:8"); opt.create_other_layers = true; - run_test (_this, "t14.dxf.gz", "t14_au.gds.gz", opt); + run_test (_this, "t14.dxf.gz", "t14_au_2.gds.gz", opt); } TEST(15) @@ -182,7 +182,7 @@ TEST(15) db::DXFReaderOptions opt; opt.layer_map = string2lm ("TEXT:4,IGBT:5,Wire:7,Ceramic:11,LAYER_1:14,Diode:18,'DBC TOP Plate':19,'Terminal Position':20"); opt.create_other_layers = true; - run_test (_this, "t15.dxf.gz", "t15_au2_2.gds.gz", opt); + run_test (_this, "t15.dxf.gz", "t15_au2_3.gds.gz", opt); } TEST(16) @@ -190,7 +190,7 @@ TEST(16) db::DXFReaderOptions opt; opt.layer_map = string2lm ("TEXT:4,IGBT:5,Wire:7,Ceramic:11,LAYER_1:14,Diode:18,'DBC TOP Plate':19,'Terminal Position':20"); opt.create_other_layers = true; - run_test (_this, "t16.dxf.gz", "t16_au2_2.gds.gz", opt); + run_test (_this, "t16.dxf.gz", "t16_au2_3.gds.gz", opt); } TEST(17) @@ -198,32 +198,32 @@ TEST(17) db::DXFReaderOptions opt; opt.layer_map = string2lm ("TEXT:4,IGBT:5,Wire:7,Ceramic:11,LAYER_1:14,Diode:18,'DBC TOP Plate':19,'Terminal Position':20"); opt.create_other_layers = true; - run_test (_this, "t17.dxf.gz", "t17_au2_2.gds.gz", opt); + run_test (_this, "t17.dxf.gz", "t17_au2_3.gds.gz", opt); } TEST(18) { - run_test (_this, "t18.dxf.gz", "t18_au.gds.gz"); + run_test (_this, "t18.dxf.gz", "t18_au_2.gds.gz"); } TEST(19) { - run_test (_this, "t19.dxf.gz", "t19_au.gds.gz"); + run_test (_this, "t19.dxf.gz", "t19_au_2.gds.gz"); } TEST(20) { - run_test (_this, "t20.dxf.gz", "t20_au.gds.gz"); + run_test (_this, "t20.dxf.gz", "t20_au_2.gds.gz"); } TEST(21) { - run_test (_this, "t21.dxf.gz", "t21_au.gds.gz"); + run_test (_this, "t21.dxf.gz", "t21_au_2.gds.gz"); } TEST(22) { - run_test (_this, "t22.dxf.gz", "t22_au.gds.gz"); + run_test (_this, "t22.dxf.gz", "t22_au_2.gds.gz"); } TEST(23a) @@ -233,7 +233,7 @@ TEST(23a) opt.unit = 1; opt.polyline_mode = 0; opt.circle_points = 10; - run_test (_this, "t23.dxf.gz", "t23a_au.gds.gz", opt); + run_test (_this, "t23.dxf.gz", "t23a_au_2.gds.gz", opt); } TEST(23b) @@ -243,7 +243,7 @@ TEST(23b) opt.unit = 1; opt.polyline_mode = 1; opt.circle_points = 10; - run_test (_this, "t23.dxf.gz", "t23b_au.gds.gz", opt); + run_test (_this, "t23.dxf.gz", "t23b_au_2.gds.gz", opt); } TEST(23c) @@ -253,7 +253,7 @@ TEST(23c) opt.unit = 1; opt.polyline_mode = 2; opt.circle_points = 10; - run_test (_this, "t23.dxf.gz", "t23c_au.gds.gz", opt); + run_test (_this, "t23.dxf.gz", "t23c_au_2.gds.gz", opt); } TEST(23d) @@ -263,7 +263,7 @@ TEST(23d) opt.unit = 1; opt.polyline_mode = 3; opt.circle_points = 10; - run_test (_this, "t23.dxf.gz", "t23d_au.gds.gz", opt); + run_test (_this, "t23.dxf.gz", "t23d_au_2.gds.gz", opt); } TEST(23e) @@ -273,7 +273,7 @@ TEST(23e) opt.unit = 1; opt.polyline_mode = 4; opt.circle_points = 10; - run_test (_this, "t23.dxf.gz", "t23e_au.gds.gz", opt); + run_test (_this, "t23.dxf.gz", "t23e_au_2.gds.gz", opt); } TEST(26a) @@ -283,7 +283,7 @@ TEST(26a) opt.unit = 1; opt.polyline_mode = 0; opt.circle_points = 100; - run_test (_this, "t26.dxf.gz", "t26a_au.gds.gz", opt); + run_test (_this, "t26.dxf.gz", "t26a_au_2.gds.gz", opt); } TEST(26b) @@ -293,7 +293,7 @@ TEST(26b) opt.unit = 1; opt.polyline_mode = 1; opt.circle_points = 100; - run_test (_this, "t26.dxf.gz", "t26b_au.gds.gz", opt); + run_test (_this, "t26.dxf.gz", "t26b_au_2.gds.gz", opt); } TEST(26c) @@ -303,7 +303,7 @@ TEST(26c) opt.unit = 1; opt.polyline_mode = 2; opt.circle_points = 100; - run_test (_this, "t26.dxf.gz", "t26c_au.gds.gz", opt); + run_test (_this, "t26.dxf.gz", "t26c_au_2.gds.gz", opt); } TEST(26d) @@ -313,7 +313,7 @@ TEST(26d) opt.unit = 1; opt.polyline_mode = 3; opt.circle_points = 100; - run_test (_this, "t26.dxf.gz", "t26d_au.gds.gz", opt); + run_test (_this, "t26.dxf.gz", "t26d_au_2.gds.gz", opt); } TEST(26e) @@ -323,7 +323,7 @@ TEST(26e) opt.unit = 1; opt.polyline_mode = 4; opt.circle_points = 100; - run_test (_this, "t26.dxf.gz", "t26e_au.gds.gz", opt); + run_test (_this, "t26.dxf.gz", "t26e_au_2.gds.gz", opt); } TEST(27a) @@ -438,7 +438,7 @@ TEST(30) opt.polyline_mode = 4; opt.circle_points = 1000; opt.circle_accuracy = 0.001; - run_test (_this, "t30.dxf.gz", "t30d_au.gds.gz", opt); + run_test (_this, "t30.dxf.gz", "t30d_au_2.gds.gz", opt); } // accuracy @@ -449,16 +449,16 @@ TEST(31) opt.unit = 1000; opt.contour_accuracy = 0; - run_test (_this, "t31.dxf.gz", "t31a_au.gds.gz", opt); + run_test (_this, "t31.dxf.gz", "t31a_au_2.gds.gz", opt); opt.contour_accuracy = 0.005; - run_test (_this, "t31.dxf.gz", "t31b_au.gds.gz", opt); + run_test (_this, "t31.dxf.gz", "t31b_au_2.gds.gz", opt); opt.contour_accuracy = 0.01; - run_test (_this, "t31.dxf.gz", "t31c_au.gds.gz", opt); + run_test (_this, "t31.dxf.gz", "t31c_au_2.gds.gz", opt); opt.contour_accuracy = 0.02; - run_test (_this, "t31.dxf.gz", "t31d_au.gds.gz", opt); + run_test (_this, "t31.dxf.gz", "t31d_au_2.gds.gz", opt); } // issue #198 @@ -491,20 +491,20 @@ TEST(33) db::DXFReaderOptions opt; opt.polyline_mode = 3; - run_test (_this, "t33.dxf.gz", "t33a_au.gds.gz", opt); + run_test (_this, "t33.dxf.gz", "t33a_au_2.gds.gz", opt); opt.circle_accuracy = 1.0; - run_test (_this, "t33.dxf.gz", "t33b_au.gds.gz", opt); + run_test (_this, "t33.dxf.gz", "t33b_au_2.gds.gz", opt); opt.circle_accuracy = 50.0; - run_test (_this, "t33.dxf.gz", "t33c_au.gds.gz", opt); + run_test (_this, "t33.dxf.gz", "t33c_au_2.gds.gz", opt); opt.circle_accuracy = 0.0; opt.polyline_mode = 4; - run_test (_this, "t33.dxf.gz", "t33d_au.gds.gz", opt); + run_test (_this, "t33.dxf.gz", "t33d_au_2.gds.gz", opt); opt.polyline_mode = 2; - run_test (_this, "t33.dxf.gz", "t33e_au.gds.gz", opt); + run_test (_this, "t33.dxf.gz", "t33e_au_2.gds.gz", opt); } // issue #1173 diff --git a/src/plugins/streamers/gds2/db_plugin/dbGDS2WriterBase.cc b/src/plugins/streamers/gds2/db_plugin/dbGDS2WriterBase.cc index 55e45a43c..553741638 100644 --- a/src/plugins/streamers/gds2/db_plugin/dbGDS2WriterBase.cc +++ b/src/plugins/streamers/gds2/db_plugin/dbGDS2WriterBase.cc @@ -496,11 +496,10 @@ GDS2WriterBase::build_property_translations (const db::Layout &layout, const std for (auto l = layers.begin (); l != layers.end (); ++l) { const db::Shapes &shapes = cell.shapes (l->first); - for (auto s = shapes.begin (db::ShapeIterator::AllWithProperties); ! s.at_end (); ++s) { + for (auto s = shapes.begin (db::ShapeIterator::AllWithProperties); ! s.at_end (); s.finish_array ()) { if (s->prop_id () != 0) { prop_ids.insert (s->prop_id ()); } - s.finish_array (); } } @@ -1367,39 +1366,5 @@ GDS2WriterBase::write_string_record (short record, const std::string &t) write_string (t); } -void -GDS2WriterBase::collect_property_ids (std::set &property_ids, const db::Layout &layout, const std::vector &cells, const std::vector > &layers) -{ - if (layout.prop_id () != 0) { - property_ids.insert (layout.prop_id ()); - } - - for (auto cell = cells.begin (); cell != cells.end (); ++cell) { - - const db::Cell &cref (layout.cell (*cell)); - - if (cref.prop_id () != 0) { - property_ids.insert (cref.prop_id ()); - } - - for (db::Cell::const_iterator inst = cref.begin (); ! inst.at_end (); ++inst) { - if (inst->has_prop_id () && inst->prop_id () != 0) { - property_ids.insert (inst->prop_id ()); - } - } - - for (auto l = layers.begin (); l != layers.end (); ++l) { - db::ShapeIterator shape (cref.shapes (l->first).begin (db::ShapeIterator::Properties | db::ShapeIterator::Boxes | db::ShapeIterator::Polygons | db::ShapeIterator::Edges | db::ShapeIterator::Paths | db::ShapeIterator::Texts)); - while (! shape.at_end ()) { - if (shape->has_prop_id () && shape->prop_id () != 0) { - property_ids.insert (shape->prop_id ()); - } - shape.finish_array (); - } - } - - } -} - } // namespace db diff --git a/src/plugins/streamers/gds2/db_plugin/dbGDS2WriterBase.h b/src/plugins/streamers/gds2/db_plugin/dbGDS2WriterBase.h index 5d041aff2..f1fe59ff6 100644 --- a/src/plugins/streamers/gds2/db_plugin/dbGDS2WriterBase.h +++ b/src/plugins/streamers/gds2/db_plugin/dbGDS2WriterBase.h @@ -187,7 +187,6 @@ private: void write_cell (db::Layout &layout, const db::Cell &cref, const std::vector > &layers, const std::set &cell_set, double sf, short *time_data); void write_shape (const db::Layout &layout, int layer, int datatype, const db::Shape &shape, double sf); - void collect_property_ids (std::set &property_ids, const db::Layout &layout, const std::vector &cells, const std::vector > &layers); void build_property_translations (const db::Layout &layout, const std::vector > &layers, const std::vector &cells, const db::GDS2WriterOptions &gds2_options); void get_property_map_context (std::vector &context_strings); }; diff --git a/src/tl/tl/tlExpression.cc b/src/tl/tl/tlExpression.cc index ef7b8345a..a888c5bbf 100644 --- a/src/tl/tl/tlExpression.cc +++ b/src/tl/tl/tlExpression.cc @@ -3947,15 +3947,29 @@ Eval::eval_atomic (ExpressionParserContext &ex, std::unique_ptr } if (dbu_units) { + // round to integers and check whether that is possible double gg = g; g = floor (0.5 + g); if (fabs (g) < 1e12 && fabs (g - gg) > 1e-3) { throw EvalError (tl::to_string (tr ("Value is not a multiple of the database unit")), ex1); } + + n.reset (new ConstantExpressionNode (ex1, tl::Variant (g))); + + } else { + + tl::Variant v (g); + + // prefer integers + if (g - floor (g) == 0.0 && v.can_convert_to_long ()) { + n.reset (new ConstantExpressionNode (ex1, tl::Variant (v.to_long ()))); + } else { + n.reset (new ConstantExpressionNode (ex1, v)); + } + } - n.reset (new ConstantExpressionNode (ex1, tl::Variant (g))); } diff --git a/testdata/algo/antenna_au1.gds b/testdata/algo/antenna_au1.gds index 7527f097c..491fe2609 100644 Binary files a/testdata/algo/antenna_au1.gds and b/testdata/algo/antenna_au1.gds differ diff --git a/testdata/algo/bipolar_devices_nets.gds b/testdata/algo/bipolar_devices_nets.gds index 9e813195c..80d04c36c 100644 Binary files a/testdata/algo/bipolar_devices_nets.gds and b/testdata/algo/bipolar_devices_nets.gds differ diff --git a/testdata/algo/device_extract_au1.gds b/testdata/algo/device_extract_au1.gds index 776991004..5d381a13f 100644 Binary files a/testdata/algo/device_extract_au1.gds and b/testdata/algo/device_extract_au1.gds differ diff --git a/testdata/algo/device_extract_au10.gds.1 b/testdata/algo/device_extract_au10.gds.1 index 613e8b0ca..8aa950fc8 100644 Binary files a/testdata/algo/device_extract_au10.gds.1 and b/testdata/algo/device_extract_au10.gds.1 differ diff --git a/testdata/algo/device_extract_au10.gds.2 b/testdata/algo/device_extract_au10.gds.2 deleted file mode 100644 index 6b279ff19..000000000 Binary files a/testdata/algo/device_extract_au10.gds.2 and /dev/null differ diff --git a/testdata/algo/device_extract_au10.gds.3 b/testdata/algo/device_extract_au10.gds.3 deleted file mode 100644 index f0be9a440..000000000 Binary files a/testdata/algo/device_extract_au10.gds.3 and /dev/null differ diff --git a/testdata/algo/device_extract_au10.gds.4 b/testdata/algo/device_extract_au10.gds.4 deleted file mode 100644 index cf84d9b77..000000000 Binary files a/testdata/algo/device_extract_au10.gds.4 and /dev/null differ diff --git a/testdata/algo/device_extract_au10.gds.5 b/testdata/algo/device_extract_au10.gds.5 deleted file mode 100644 index 5a077c2fb..000000000 Binary files a/testdata/algo/device_extract_au10.gds.5 and /dev/null differ diff --git a/testdata/algo/device_extract_au1_dup_inst_with_rec_nets.gds b/testdata/algo/device_extract_au1_dup_inst_with_rec_nets.gds index 8df8f4374..449b4b5d5 100644 Binary files a/testdata/algo/device_extract_au1_dup_inst_with_rec_nets.gds and b/testdata/algo/device_extract_au1_dup_inst_with_rec_nets.gds differ diff --git a/testdata/algo/device_extract_au1_flat.gds b/testdata/algo/device_extract_au1_flat.gds index 0c65698c9..9e4483748 100644 Binary files a/testdata/algo/device_extract_au1_flat.gds and b/testdata/algo/device_extract_au1_flat.gds differ diff --git a/testdata/algo/device_extract_au1_implicit_nets.gds b/testdata/algo/device_extract_au1_implicit_nets.gds index 50703c4d9..b0ab0b644 100644 Binary files a/testdata/algo/device_extract_au1_implicit_nets.gds and b/testdata/algo/device_extract_au1_implicit_nets.gds differ diff --git a/testdata/algo/device_extract_au1_join_nets.gds b/testdata/algo/device_extract_au1_join_nets.gds index 0de18dc61..33ffd8d6a 100644 Binary files a/testdata/algo/device_extract_au1_join_nets.gds and b/testdata/algo/device_extract_au1_join_nets.gds differ diff --git a/testdata/algo/device_extract_au1_joined_nets.gds b/testdata/algo/device_extract_au1_joined_nets.gds index 919bc22a3..4e5b9c11d 100644 Binary files a/testdata/algo/device_extract_au1_joined_nets.gds and b/testdata/algo/device_extract_au1_joined_nets.gds differ diff --git a/testdata/algo/device_extract_au1_rebuild_ff.gds b/testdata/algo/device_extract_au1_rebuild_ff.gds index c6ec960bd..80524d9c5 100644 Binary files a/testdata/algo/device_extract_au1_rebuild_ff.gds and b/testdata/algo/device_extract_au1_rebuild_ff.gds differ diff --git a/testdata/algo/device_extract_au1_rebuild_fr.gds b/testdata/algo/device_extract_au1_rebuild_fr.gds index 1f2f6ab76..54cf13ae3 100644 Binary files a/testdata/algo/device_extract_au1_rebuild_fr.gds and b/testdata/algo/device_extract_au1_rebuild_fr.gds differ diff --git a/testdata/algo/device_extract_au1_rebuild_nf.gds b/testdata/algo/device_extract_au1_rebuild_nf.gds index a684cd03a..446592829 100644 Binary files a/testdata/algo/device_extract_au1_rebuild_nf.gds and b/testdata/algo/device_extract_au1_rebuild_nf.gds differ diff --git a/testdata/algo/device_extract_au1_rebuild_nr.gds b/testdata/algo/device_extract_au1_rebuild_nr.gds index 3432e15c6..2e7ca215e 100644 Binary files a/testdata/algo/device_extract_au1_rebuild_nr.gds and b/testdata/algo/device_extract_au1_rebuild_nr.gds differ diff --git a/testdata/algo/device_extract_au1_rebuild_pf.gds b/testdata/algo/device_extract_au1_rebuild_pf.gds index 72911a17f..3d3b6e372 100644 Binary files a/testdata/algo/device_extract_au1_rebuild_pf.gds and b/testdata/algo/device_extract_au1_rebuild_pf.gds differ diff --git a/testdata/algo/device_extract_au1_rebuild_pr.gds b/testdata/algo/device_extract_au1_rebuild_pr.gds index ef85fab2d..5a4d4be97 100644 Binary files a/testdata/algo/device_extract_au1_rebuild_pr.gds and b/testdata/algo/device_extract_au1_rebuild_pr.gds differ diff --git a/testdata/algo/device_extract_au1_with_rec_nets.gds b/testdata/algo/device_extract_au1_with_rec_nets.gds index 9768f35d5..0d97a09e7 100644 Binary files a/testdata/algo/device_extract_au1_with_rec_nets.gds and b/testdata/algo/device_extract_au1_with_rec_nets.gds differ diff --git a/testdata/algo/device_extract_au1a.gds b/testdata/algo/device_extract_au1a.gds index 47ac063c7..896f5edc5 100644 Binary files a/testdata/algo/device_extract_au1a.gds and b/testdata/algo/device_extract_au1a.gds differ diff --git a/testdata/algo/device_extract_au9.gds b/testdata/algo/device_extract_au9.gds index f8c19fbd8..128913580 100644 Binary files a/testdata/algo/device_extract_au9.gds and b/testdata/algo/device_extract_au9.gds differ diff --git a/testdata/algo/device_extract_capres_nets.gds.1 b/testdata/algo/device_extract_capres_nets.gds.1 index 63b4ef0e1..a6334a098 100644 Binary files a/testdata/algo/device_extract_capres_nets.gds.1 and b/testdata/algo/device_extract_capres_nets.gds.1 differ diff --git a/testdata/algo/device_extract_capres_nets.gds.2 b/testdata/algo/device_extract_capres_nets.gds.2 deleted file mode 100644 index 15a993e30..000000000 Binary files a/testdata/algo/device_extract_capres_nets.gds.2 and /dev/null differ diff --git a/testdata/algo/device_extract_capres_with_bulk_nets.gds b/testdata/algo/device_extract_capres_with_bulk_nets.gds index 42331829d..9c3808c68 100644 Binary files a/testdata/algo/device_extract_capres_with_bulk_nets.gds and b/testdata/algo/device_extract_capres_with_bulk_nets.gds differ diff --git a/testdata/algo/device_extract_issue954_au.gds b/testdata/algo/device_extract_issue954_au.gds index 5a7bdc610..adb820444 100644 Binary files a/testdata/algo/device_extract_issue954_au.gds and b/testdata/algo/device_extract_issue954_au.gds differ diff --git a/testdata/algo/diode_devices_nets.gds b/testdata/algo/diode_devices_nets.gds index cd88cb5e8..870c382d1 100644 Binary files a/testdata/algo/diode_devices_nets.gds and b/testdata/algo/diode_devices_nets.gds differ diff --git a/testdata/algo/l2n_reader_au_p.oas b/testdata/algo/l2n_reader_au_p.oas index 83a8f061a..c2a0d61bb 100644 Binary files a/testdata/algo/l2n_reader_au_p.oas and b/testdata/algo/l2n_reader_au_p.oas differ diff --git a/testdata/algo/l2n_writer_au.gds b/testdata/algo/l2n_writer_au.gds index ed3ae8998..a2dac5c65 100644 Binary files a/testdata/algo/l2n_writer_au.gds and b/testdata/algo/l2n_writer_au.gds differ diff --git a/testdata/algo/l2n_writer_au_2.gds b/testdata/algo/l2n_writer_au_2.gds index 37ba81471..781c1e7d2 100644 Binary files a/testdata/algo/l2n_writer_au_2.gds and b/testdata/algo/l2n_writer_au_2.gds differ diff --git a/testdata/algo/soft_connections_au.gds b/testdata/algo/soft_connections_au.gds index 8a34b60f7..898276db3 100644 Binary files a/testdata/algo/soft_connections_au.gds and b/testdata/algo/soft_connections_au.gds differ diff --git a/testdata/cif/issue_305_au.gds b/testdata/cif/issue_305_au.gds index 02c2372e9..f554972cb 100644 Binary files a/testdata/cif/issue_305_au.gds and b/testdata/cif/issue_305_au.gds differ diff --git a/testdata/cif/issue_972_au.gds b/testdata/cif/issue_972_au.gds index 1aa839432..6575acd92 100644 Binary files a/testdata/cif/issue_972_au.gds and b/testdata/cif/issue_972_au.gds differ diff --git a/testdata/cif/lasi_au.gds.gz b/testdata/cif/lasi_au.gds.gz index d59f20c40..c4463fb55 100644 Binary files a/testdata/cif/lasi_au.gds.gz and b/testdata/cif/lasi_au.gds.gz differ diff --git a/testdata/drc/drcSimpleTests_au5.gds b/testdata/drc/drcSimpleTests_au5.gds index e89e30330..60b7fbc08 100644 Binary files a/testdata/drc/drcSimpleTests_au5.gds and b/testdata/drc/drcSimpleTests_au5.gds differ diff --git a/testdata/drc/drcSimpleTests_au6.gds b/testdata/drc/drcSimpleTests_au6.gds index 752f13b5a..47b06727f 100644 Binary files a/testdata/drc/drcSimpleTests_au6.gds and b/testdata/drc/drcSimpleTests_au6.gds differ diff --git a/testdata/drc/drcSimpleTests_au7.gds b/testdata/drc/drcSimpleTests_au7.gds index c06215b97..06c4facc1 100644 Binary files a/testdata/drc/drcSimpleTests_au7.gds and b/testdata/drc/drcSimpleTests_au7.gds differ diff --git a/testdata/drc/drcSimpleTests_au70.gds.1 b/testdata/drc/drcSimpleTests_au70.gds.1 index ea3998d16..74f0e58d8 100644 Binary files a/testdata/drc/drcSimpleTests_au70.gds.1 and b/testdata/drc/drcSimpleTests_au70.gds.1 differ diff --git a/testdata/drc/drcSimpleTests_au70.gds.2 b/testdata/drc/drcSimpleTests_au70.gds.2 deleted file mode 100644 index 313ee77ce..000000000 Binary files a/testdata/drc/drcSimpleTests_au70.gds.2 and /dev/null differ diff --git a/testdata/drc/drcSimpleTests_au70.gds.3 b/testdata/drc/drcSimpleTests_au70.gds.3 deleted file mode 100644 index ddccef174..000000000 Binary files a/testdata/drc/drcSimpleTests_au70.gds.3 and /dev/null differ diff --git a/testdata/drc/drcSimpleTests_au70.gds.4 b/testdata/drc/drcSimpleTests_au70.gds.4 deleted file mode 100644 index d6b609d4f..000000000 Binary files a/testdata/drc/drcSimpleTests_au70.gds.4 and /dev/null differ diff --git a/testdata/drc/drcSimpleTests_au70.gds.5 b/testdata/drc/drcSimpleTests_au70.gds.5 deleted file mode 100644 index 45c44d022..000000000 Binary files a/testdata/drc/drcSimpleTests_au70.gds.5 and /dev/null differ diff --git a/testdata/drc/drcSimpleTests_au70d.gds.1 b/testdata/drc/drcSimpleTests_au70d.gds.1 index 64400f0af..5f609de5e 100644 Binary files a/testdata/drc/drcSimpleTests_au70d.gds.1 and b/testdata/drc/drcSimpleTests_au70d.gds.1 differ diff --git a/testdata/drc/drcSimpleTests_au70d.gds.2 b/testdata/drc/drcSimpleTests_au70d.gds.2 deleted file mode 100644 index f97c70db7..000000000 Binary files a/testdata/drc/drcSimpleTests_au70d.gds.2 and /dev/null differ diff --git a/testdata/drc/drcSimpleTests_au70d.gds.3 b/testdata/drc/drcSimpleTests_au70d.gds.3 deleted file mode 100644 index 8ae2681d6..000000000 Binary files a/testdata/drc/drcSimpleTests_au70d.gds.3 and /dev/null differ diff --git a/testdata/drc/drcSimpleTests_au70d.gds.4 b/testdata/drc/drcSimpleTests_au70d.gds.4 deleted file mode 100644 index 1b302b0e5..000000000 Binary files a/testdata/drc/drcSimpleTests_au70d.gds.4 and /dev/null differ diff --git a/testdata/drc/drcSimpleTests_au70d.gds.5 b/testdata/drc/drcSimpleTests_au70d.gds.5 deleted file mode 100644 index d553ddd7f..000000000 Binary files a/testdata/drc/drcSimpleTests_au70d.gds.5 and /dev/null differ diff --git a/testdata/drc/drcSimpleTests_au71.gds b/testdata/drc/drcSimpleTests_au71.gds index d54a17202..f89a29fa4 100644 Binary files a/testdata/drc/drcSimpleTests_au71.gds and b/testdata/drc/drcSimpleTests_au71.gds differ diff --git a/testdata/drc/drcSimpleTests_au71d.gds b/testdata/drc/drcSimpleTests_au71d.gds index 03554c7d1..3d5a5ecf9 100644 Binary files a/testdata/drc/drcSimpleTests_au71d.gds and b/testdata/drc/drcSimpleTests_au71d.gds differ diff --git a/testdata/dxf/issue_1173_au.gds.gz b/testdata/dxf/issue_1173_au.gds.gz index 7c871771e..50f1ce36d 100644 Binary files a/testdata/dxf/issue_1173_au.gds.gz and b/testdata/dxf/issue_1173_au.gds.gz differ diff --git a/testdata/dxf/issue_1422a_au.gds.gz b/testdata/dxf/issue_1422a_au.gds.gz index ede4e28cc..358409f04 100644 Binary files a/testdata/dxf/issue_1422a_au.gds.gz and b/testdata/dxf/issue_1422a_au.gds.gz differ diff --git a/testdata/dxf/issue_1422b_au.gds.gz b/testdata/dxf/issue_1422b_au.gds.gz index d6568bc32..6e81c0288 100644 Binary files a/testdata/dxf/issue_1422b_au.gds.gz and b/testdata/dxf/issue_1422b_au.gds.gz differ diff --git a/testdata/dxf/issue_1422c_au.gds.gz b/testdata/dxf/issue_1422c_au.gds.gz index d1e7ab657..30bdf278d 100644 Binary files a/testdata/dxf/issue_1422c_au.gds.gz and b/testdata/dxf/issue_1422c_au.gds.gz differ