From: Clifford Wolf Date: Thu, 17 Jul 2014 06:59:07 +0000 (+0200) Subject: Added support for "blackbox" attribute to iopadmap X-Git-Tag: yosys-0.4~561 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b76bf05cda789219069c623d3f77cbc47c1eb57d;p=yosys.git Added support for "blackbox" attribute to iopadmap --- diff --git a/passes/techmap/iopadmap.cc b/passes/techmap/iopadmap.cc index cc678516f..eb2757f66 100644 --- a/passes/techmap/iopadmap.cc +++ b/passes/techmap/iopadmap.cc @@ -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)