mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-16 06:31:29 +00:00
Add support for memory writes in processes.
This commit is contained in:
parent
c00a29296c
commit
4e03865d5b
16 changed files with 246 additions and 44 deletions
|
@ -71,17 +71,8 @@ void proc_init(RTLIL::Module *mod, SigMap &sigmap, RTLIL::Process *proc)
|
|||
offset += lhs_c.width;
|
||||
}
|
||||
}
|
||||
sync->actions.clear();
|
||||
}
|
||||
|
||||
if (found_init) {
|
||||
std::vector<RTLIL::SyncRule*> new_syncs;
|
||||
for (auto &sync : proc->syncs)
|
||||
if (sync->type == RTLIL::SyncType::STi)
|
||||
delete sync;
|
||||
else
|
||||
new_syncs.push_back(sync);
|
||||
proc->syncs.swap(new_syncs);
|
||||
}
|
||||
}
|
||||
|
||||
struct ProcInitPass : public Pass {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue