mirror of https://github.com/YosysHQ/yosys.git
Tidy up
This commit is contained in:
parent
04bc287271
commit
5f8f0e1383
|
@ -390,11 +390,6 @@ endcode
|
||||||
subpattern in_dffe
|
subpattern in_dffe
|
||||||
arg dffQ clock dffenpol_
|
arg dffQ clock dffenpol_
|
||||||
|
|
||||||
code
|
|
||||||
dff = nullptr;
|
|
||||||
dffmux = nullptr;
|
|
||||||
endcode
|
|
||||||
|
|
||||||
match ff
|
match ff
|
||||||
select ff->type.in($dff)
|
select ff->type.in($dff)
|
||||||
// DSP48E1 does not support clock inversion
|
// DSP48E1 does not support clock inversion
|
||||||
|
@ -428,8 +423,10 @@ code dffQ
|
||||||
if (!(nusers(dffQ) >= 3 && nusers(dffD) == 2))
|
if (!(nusers(dffQ) >= 3 && nusers(dffD) == 2))
|
||||||
dffQ = SigSpec();
|
dffQ = SigSpec();
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
|
dff = nullptr;
|
||||||
dffQ = SigSpec();
|
dffQ = SigSpec();
|
||||||
|
}
|
||||||
endcode
|
endcode
|
||||||
|
|
||||||
match ffmux
|
match ffmux
|
||||||
|
@ -454,4 +451,6 @@ code
|
||||||
dffenpol = dffenpol_;
|
dffenpol = dffenpol_;
|
||||||
dffD = port(ffmux, dffenpol ? \B : \A);
|
dffD = port(ffmux, dffenpol ? \B : \A);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
dffmux = nullptr;
|
||||||
endcode
|
endcode
|
||||||
|
|
Loading…
Reference in New Issue