Added support for "blackbox" attribute to iopadmap
authorClifford Wolf <clifford@clifford.at>
Thu, 17 Jul 2014 06:59:07 +0000 (08:59 +0200)
committerClifford Wolf <clifford@clifford.at>
Thu, 17 Jul 2014 06:59:07 +0000 (08:59 +0200)
passes/techmap/iopadmap.cc

index cc678516f05a41ccff7798d63fb7e05eca94e820..eb2757f6679dfb8c386bfa6b04e1c649ff063c65 100644 (file)
@@ -115,7 +115,7 @@ struct IopadmapPass : public Pass {
                {
                        RTLIL::Module *module = it.second;
 
-                       if (!design->selected(module))
+                       if (!design->selected(module) || module->get_bool_attribute("\\blackbox"))
                                continue;
 
                        for (auto &it2 : module->wires)