anchor.diff:  import XilinxCells::*;
   import BviAurora::*;
   import Clocks::*;
  +import FrequencyCounter::*;
   
   (* always_enabled, always_ready *)
   interface AuroraPins;
  
positive.code: 	  aur.s_axi_tx.tvalid(1);
         endmethod
        method Action debug();
  	 indication.debug(aur.channel.up(), aur.lane.up(), aur.hard.err(), aur.soft.err());
        endmethod
        method Action pma_init(Bit#(1) v);
  	 pmaInitVal <= v;
        endmethod
     endinterface
     interface AuroraPins pins;
  
negative.code: 
  interface AuroraIndication;
      method Action received(Bit#(64) v);
      method Action debug(Bit#(1) channelUp, Bit#(1) laneUp, Bit#(1) hard_err, Bit#(1) soft_err, Bit#(1) qpllLock, Bit#(1) qpllRefClkLost);
      method Action userClkElapsedCycles(Bit#(32) cycles);
  endinterface
  
  interface AuroraRequest;
      method Action send(Bit#(64) v);
      method Action debug();
      method Action pma_init(Bit#(1) v);
      method Action userClkElapsedCycles(Bit#(32) period);
  endinterface
  
  interface Aurora;
  