mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-21 21:33:40 +00:00
Check blackbox attribute in techmap/simplemap
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
5b915f0153
commit
b7445ef387
2 changed files with 2 additions and 2 deletions
|
@ -599,7 +599,7 @@ struct SimplemapPass : public Pass {
|
|||
simplemap_get_mappers(mappers);
|
||||
|
||||
for (auto mod : design->modules()) {
|
||||
if (!design->selected(mod))
|
||||
if (!design->selected(mod) || mod->get_blackbox_attribute())
|
||||
continue;
|
||||
std::vector<RTLIL::Cell*> cells = mod->cells();
|
||||
for (auto cell : cells) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue