From b76bf05cda789219069c623d3f77cbc47c1eb57d Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 17 Jul 2014 08:59:07 +0200 Subject: [PATCH] Added support for "blackbox" attribute to iopadmap --- passes/techmap/iopadmap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2