anchor.diff:  	    xsvi_framestart_old_wire <= v;
   	endmethod
           method Action hsync(Bit#(1) v);
  -	    xsvi_hsync_wire <= v;
   	endmethod
           method Action vsync(Bit#(1) v);
  -	    xsvi_vsync_wire <= v;
   	endmethod
           method Action active_video(Bit#(1) v);
               xsvi_active_video_wire <= v;
  
positive.code: 	method ActionValue#(XsviData) get();
  	    dataGearbox.deq;
  	    syncGearbox.deq;
  	    //jca framestart <= syncGearbox.first[0];
              debugind_value <= { 4'ha, xsvi_hsync_wire, xsvi_vsync_wire, vdiff, hdiff, hsync_count[7:0], vsync_count[7:0] } ;
  	    return XsviData {
  		fsync: xsvi_framestart_old_wire, //syncGearbox.first[0],
  		vsync: xsvi_vsync_wire,
  		hsync: xsvi_hsync_wire,
  		active_video: xsvi_active_video_wire,
  		video_data: xsvi_video_data_wire //dataGearbox.first[0]
  	    };
  
negative.code:     Reg#(Bit#(1)) hsync_reg <- mkReg(0);
      Reg#(Bit#(1)) active_video_reg <- mkReg(0);
      Wire#(Bit#(1))  xsvi_framestart_old_wire <- mkDWire(0);
      Wire#(Bit#(1))  xsvi_active_video_wire <- mkDWire(0);
      Wire#(Bit#(10)) xsvi_video_data_wire <- mkDWire(0);
  
      Reg#(Bit#(1))     framestart <- mkReg(0);
      Reg#(State)       hstate <- mkReg(Idle);
  