anchor.diff:          let previous = yuv444IntermediatesStageReg;
           yuv444StageReg <= Yuv444Stage {
               vsync: previous.vsync, hsync: previous.hsync, de: previous.de,
  -            data: (previous.de) ? yuvIntermediatesToYuv444(previous.data) : unpack(0)
  +            data: (previous.de != 0) ? yuvIntermediatesToYuv444(previous.data) : unpack(0)
           };
       endrule
   
       rule yuv422stage;
           let previous = yuv444StageReg;
  -        if (previous.de)
  +        if (previous.de != 0)
               evenOddPixelReg <= !evenOddPixelReg;
           Bit#(16) data = { evenOddPixelReg ? previous.data.u : previous.data.v,
                             previous.data.y };
  
positive.code:         let pixel = previous.pixel;
          yuv444IntermediatesStageReg <= Yuv444IntermediatesStage {
              vsync: previous.vsync, hsync: previous.hsync, de: previous.de,
              data: (previous.de) ? rgbToYuvIntermediates(pixel) : unpack(0)
          };
      endrule
  
  
negative.code:             pixelCount <= pixelCount + 1;
      endrule
  
      rule data;
          if (hsync == 1)
              dataCount <= 0;
          else if (dataEnable)
              dataCount <= dataCount + 1;
          Bit#(2) index = {pack(lineCount >= lineMidpoint), pack(pixelCount >= pixelMidpoint)};
          bramOutStageFifo.enq(Rgb888Stage { vsync: vsync, hsync: hsync, de: pack(dataEnable),
              pixel: unpack(truncate(patternRegs[index]))});
          lineBuffer.readAddr(dataCount);
      endrule
  
  