mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-25 08:32:34 +00:00
rtlil: add source tracking to CaseRule actions
(cherry picked from commit c36370f227)
This commit is contained in:
parent
292d44f208
commit
6646b1dbf9
7 changed files with 18 additions and 17 deletions
|
|
@ -223,7 +223,7 @@ void proc_dff(RTLIL::Module *mod, RTLIL::Process *proc, ConstEval &ce)
|
|||
// as ones coming from the module
|
||||
single_async_rule.type = RTLIL::SyncType::ST1;
|
||||
single_async_rule.signal = mod->ReduceOr(NEW_TWINE, triggers);
|
||||
single_async_rule.actions.push_back({sig, rstval});
|
||||
single_async_rule.actions.push_back({sig, rstval, Twine::Null});
|
||||
|
||||
// Replace existing rules with this new rule
|
||||
async_rules.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue