Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metal ALL in map file should not be applied to Metal BLOCKAGE #1047

Closed
stefanottili opened this issue Mar 29, 2022 · 0 comments · Fixed by #1053
Closed

Metal ALL in map file should not be applied to Metal BLOCKAGE #1047

stefanottili opened this issue Mar 29, 2022 · 0 comments · Fixed by #1053
Assignees
Milestone

Comments

@stefanottili
Copy link

M1 ALL 10 0

shouldn't create a mapping for routing blockages, since one would never use the same mapping for nets/spnets and routing blockages.

src/plugins/streamers/lefdef/db_plugin/dbLEFDEFImporter.cc

@@ -1122,11 +1122,11 @@ LEFDEFReaderState::read_map_file (const std::string &path, db::Layout &layout)
             tl::warn << tl::sprintf (tl::to_string (tr ("Reading layer map file %s, line %d: purpose %s ignored for layer %s")), path, ts.line_number (), ps, w1);
 
           } else if (i->second == All) {
 
             for (std::map<std::string, LayerPurpose>::const_iterator p = purpose_translation.begin (); p != purpose_translation.end (); ++p) {
-              if (p->second != All) {
+              if (p->second != All && p->second != Blockage) {
                 translated_purposes.insert (LayerDetailsKey (p->second, mask, via_size));
               }
             }
 
           } else {
@klayoutmatthias klayoutmatthias self-assigned this Apr 2, 2022
@klayoutmatthias klayoutmatthias added this to the 0.27.9 milestone Apr 2, 2022
@klayoutmatthias klayoutmatthias linked a pull request Apr 2, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants