mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Skip modules with memories and processes
This commit is contained in:
parent
767b498603
commit
1abb8192df
1 changed files with 4 additions and 0 deletions
|
@ -208,6 +208,10 @@ struct ObsClean : public ScriptPass {
|
|||
log("Running obs_clean pass\n");
|
||||
log_flush();
|
||||
for (auto module : design->selected_modules()) {
|
||||
if (module->has_processes_warn())
|
||||
continue;
|
||||
if (module->has_memories_warn())
|
||||
continue;
|
||||
SigMap sigmap(module);
|
||||
// Precompute cell output sigspec to cell map
|
||||
dict<RTLIL::SigSpec, std::set<Cell *>> sig2CellsInFanin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue