mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-08 10:01:00 +00:00
async2sync: explain dffsr control signal variable polarity
This commit is contained in:
parent
43ef4d2901
commit
498cb79abe
1 changed files with 3 additions and 0 deletions
|
|
@ -178,6 +178,9 @@ struct Async2syncPass : public Pass {
|
||||||
sig_clr = module->NotGate(NEW_ID, sig_clr);
|
sig_clr = module->NotGate(NEW_ID, sig_clr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// At this point, sig_set and sig_clr are now unconditionally
|
||||||
|
// active-high, and sig_clr_inv is inverted sig_clr
|
||||||
|
|
||||||
SigSpec set_and_clr;
|
SigSpec set_and_clr;
|
||||||
if (!ff.is_fine)
|
if (!ff.is_fine)
|
||||||
set_and_clr = module->And(NEW_ID, sig_set, sig_clr);
|
set_and_clr = module->And(NEW_ID, sig_set, sig_clr);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue