Skip to content

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

@stefanottili

Description

@stefanottili

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 {

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions