anchor.diff:  
      rule do_2d(flags[7] != 0);
         Vector#(8, Bit#(12)) tmp = ?;
  -      
  +
  +      // Get 2D SATD data
         if (dir) begin
            tmp = matrix[0];
         end
  
positive.code: 
  interface ISatd8;
     interface Put#(Vector#(8, Bit#(9))) inp;
     interface Get#(Bit#(16)) oup;
  endinterface
  
  function Vector#(8, Bit#(na)) satd_1d(Vector#(8, Bit#(n)) x)
  
negative.code: (* synthesize *)
  module mkSatd8(ISatd8);
     FIFOF#(Vector#(8, Bit#(9)))               fifo_inp    <- mkPipelineFIFOF;
     FIFOF#(Bit#(19))                          fifo_out    <- mkPipelineFIFOF;
  
     RWire#(Vector#(8, Bit#(12)))              rw_trans    <- mkRWire;
     RWire#(Bool)                              rw_oflag    <- mkRWire;
  