mirror of https://github.com/YosysHQ/yosys.git
async2sync: explain dffsr control signal variable polarity
This commit is contained in:
parent
43ef4d2901
commit
498cb79abe
|
|
@ -178,6 +178,9 @@ struct Async2syncPass : public Pass {
|
|||
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;
|
||||
if (!ff.is_fine)
|
||||
set_and_clr = module->And(NEW_ID, sig_set, sig_clr);
|
||||
|
|
|
|||
Loading…
Reference in New Issue