mirror of https://github.com/YosysHQ/yosys.git
Consistency
This commit is contained in:
parent
cf82b38478
commit
983068103e
|
@ -45,7 +45,7 @@ match dsp
|
||||||
select nusers(port(dsp, \C, SigSpec())) > 1
|
select nusers(port(dsp, \C, SigSpec())) > 1
|
||||||
endmatch
|
endmatch
|
||||||
|
|
||||||
code sigC sigP
|
code sigC sigP clock
|
||||||
unextend = [](const SigSpec &sig) {
|
unextend = [](const SigSpec &sig) {
|
||||||
int i;
|
int i;
|
||||||
for (i = GetSize(sig)-1; i > 0; i--)
|
for (i = GetSize(sig)-1; i > 0; i--)
|
||||||
|
@ -71,6 +71,8 @@ code sigC sigP
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
sigP = P;
|
sigP = P;
|
||||||
|
|
||||||
|
clock = port(dsp, \CLK, SigBit());
|
||||||
endcode
|
endcode
|
||||||
|
|
||||||
// (2) Match the driver of the 'C' input to a possible $dff cell (CREG)
|
// (2) Match the driver of the 'C' input to a possible $dff cell (CREG)
|
||||||
|
@ -82,8 +84,6 @@ code argQ ffC ffCcemux ffCrstmux ffCcepol ffCrstpol sigC clock
|
||||||
if (sigC == sigP)
|
if (sigC == sigP)
|
||||||
reject;
|
reject;
|
||||||
|
|
||||||
clock = port(dsp, \CLK, SigBit());
|
|
||||||
|
|
||||||
argQ = sigC;
|
argQ = sigC;
|
||||||
subpattern(in_dffe);
|
subpattern(in_dffe);
|
||||||
if (dff) {
|
if (dff) {
|
||||||
|
|
Loading…
Reference in New Issue