mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-01 21:49:31 +00:00
Update passes/proc to avoid bits()
This commit is contained in:
parent
5600eb2e5b
commit
2d5ce8c363
3 changed files with 12 additions and 14 deletions
|
@ -39,7 +39,7 @@ void proc_memwr(RTLIL::Module *mod, RTLIL::Process *proc, dict<IdString, int> &n
|
|||
Const priority_mask(State::S0, port_id);
|
||||
for (int i = 0; i < GetSize(prev_port_ids); i++)
|
||||
if (memwr.priority_mask[i] == State::S1)
|
||||
priority_mask.bits()[prev_port_ids[i]] = State::S1;
|
||||
priority_mask.set(prev_port_ids[i], State::S1);
|
||||
prev_port_ids.push_back(port_id);
|
||||
|
||||
RTLIL::Cell *cell = mod->addCell(NEW_ID, ID($memwr_v2));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue