anchor.diff:  import ImageCapture::*;
   import GetPut::*;
   import Connectable :: *;
  -//import PCIE :: *; // ConnectableWithClocks
   import Clocks :: *;
   import XbsvSpi :: *;
   
  -import GetPutWithClocks :: *;
   import Imageon::*;
   import IserdesDatadeser::*;
   import HDMI::*;
  
positive.code: // bsv libraries
  import Vector::*;
  import FIFO::*;
  import Connectable::*;
  import DefaultValue::*;
  
  // portz libraries
  
negative.code:       let cycles <- fmcFreqCounter.elapsedCycles();
        captureIndicationProxy.ifc.fmc_clock_period(cycles);
     endrule
  
     Reg#(Bool) frameStart <- mkReg(False, clocked_by imageon_clock, reset_by imageon_reset);
     Reg#(Bit#(32)) frameCount <- mkReg(0, clocked_by imageon_clock, reset_by imageon_reset);
  