code argQ argD
{
- if (clock != SigBit()) {
- if (port(ff, \CLK) != clock)
- reject;
- }
+ if (clock != SigBit() && port(ff, \CLK) != clock)
+ reject;
SigSpec Q = port(ff, \Q);
if (ffoffset + GetSize(argQ) > GetSize(Q))
code argQ
if (ff) {
- if (clock != SigBit()) {
- if (port(ff, \CLK) != clock)
- reject;
- }
+ if (clock != SigBit() && port(ff, \CLK) != clock)
+ reject;
SigSpec D = port(ff, \D);
if (ffoffset + GetSize(argD) > GetSize(D))