mirror of https://github.com/YosysHQ/yosys.git
dfflegalize: remove redundant check for initialized dlatch
This if condition is repeated verbatim, and I can't imagine a legitimate way the inputs could change in between. I imagine it's a copy/paste mistake.
This commit is contained in:
parent
0dd42d406d
commit
3efc14f5ad
|
@ -718,10 +718,6 @@ flip_dqisr:;
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(supported_dlatch & ~INIT_X)) {
|
|
||||||
reason = "initialized dlatch are not supported";
|
|
||||||
goto error;
|
|
||||||
}
|
|
||||||
// If we got here, initialized dlatch is supported, but not this
|
// If we got here, initialized dlatch is supported, but not this
|
||||||
// particular reset+init combination (nor its negation).
|
// particular reset+init combination (nor its negation).
|
||||||
// The only hope left is breaking down to adff + dff + dlatch + mux.
|
// The only hope left is breaking down to adff + dff + dlatch + mux.
|
||||||
|
|
Loading…
Reference in New Issue