From 0bc2321ade7993d2ac83bde6f297237595826e38 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Mon, 30 Sep 2019 23:17:42 +0200 Subject: [PATCH] Some code cleanup. --- src/db/db/dbNetlistCompare.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/db/db/dbNetlistCompare.cc b/src/db/db/dbNetlistCompare.cc index 593810056..96682f9ef 100644 --- a/src/db/db/dbNetlistCompare.cc +++ b/src/db/db/dbNetlistCompare.cc @@ -489,14 +489,10 @@ public: void same_circuit (const db::Circuit *ca, const db::Circuit *cb) { // no arbitrary cross-pairing + // NOTE: many layout circuits are allowed for one schematic to account for layout alternatives. if (ca && has_cat_for (ca)) { throw tl::Exception (tl::to_string (tr ("Circuit is already paired with other circuit: ")) + ca->name ()); } -#if 0 // can pair multiple layout cells with one schematic circuit - if (cb && has_cat_for (cb)) { - throw tl::Exception (tl::to_string (tr ("Circuit is already paired with other circuit: ")) + cb->name ()); - } -#endif generic_categorizer::same (ca, cb); }