From: Eddie Hung Date: Mon, 3 Jun 2019 19:31:23 +0000 (-0700) Subject: Skip internal modules when generating box_unique_id X-Git-Tag: working-ls180~1208^2~217 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a54822b1bc02773168717f9c0e221344f570ac23;p=yosys.git Skip internal modules when generating box_unique_id --- diff --git a/frontends/aiger/aigerparse.cc b/frontends/aiger/aigerparse.cc index 0e210c456..c951e1fbb 100644 --- a/frontends/aiger/aigerparse.cc +++ b/frontends/aiger/aigerparse.cc @@ -198,6 +198,7 @@ void AigerReader::parse_xaiger() dict box_lookup; for (auto m : design->modules()) { + if (m->name[0] == '$') continue; auto it = m->attributes.find("\\abc_box_id"); if (it == m->attributes.end()) continue;