This commit is contained in:
Eddie Hung 2019-09-09 15:59:10 -07:00
parent 04bc287271
commit 5f8f0e1383
1 changed files with 5 additions and 6 deletions

View File

@ -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