anchor.diff:  
       Vector#(TABLE_LEN,Reg#(Bit#(MATCH_TABLE_ASSOCIATIVITY)))
                           nextFree <- replicateM(mkReg(255));
  -    Reg#(Bit#(MATCH_TABLE_ASSOCIATIVITY)) temp <- mkReg(0);
   
       function Bit#(3) priority_encoder(Reg#(Bit#(8)) inp);
           case (inp) matches
  
positive.code:          endcase             
      endrule
  
      interface Put request = toPut(requestFIFO);
      interface Get response = toGet(responseFIFO);
  endmodule
  
negative.code:             if (res.tag == VALID && res.op == GET)    
                  responseFIFO.enq(res);
              else if (res.tag == VALID && res.op == REMOVE)
              begin
                  remFIFO.enq(flip_bit_at_pos(fromInteger(i), res.addrIdx));
                  temp <= res.addrIdx;
              end
          endrule
      end
  
  