anchor.diff:     Int#(usz) numEntries = 1<<fromInteger(tsz);
      // linear approximation around in range [-8,8]
   
  -   Bool verbose = True;
  +   Bool verbose = False;
      FIFOF#(Float) angleFifo2 <- mkFIFOF();
      FIFOF#(Float) angleFifo <- mkFIFOF();
      let multiplier <- mkFloatMultiplier();
  
positive.code:    interface ReadOnly ulimit = regToReadOnly(ulimitReg);
     interface Vector ports = bramPorts;
     method Action setSigmoidLimits(Float _rscale, Float _llimit, Float _ulimit);
        $display("memorySize=%d\n", memorySize);
        rscaleReg <= _rscale;
        llimitReg <= _llimit;
        ulimitReg <= _ulimit;
  
negative.code:          let v <- sigmoidServers[i].response.get();
  	 vs[i] = v;
        end
        if (verbose) $display("sigmoid count=%d value=%h", count+1, vs);
        count <= count + 1;
        dfifo.enq(vs);
     endrule
  
     let sinkC <- mkSink(toPipeOut(dfifo));
  
     rule tableSourceFinishRule;
        if (verbose) $display("tableSource.finish()");
        let b <- tableSource.finish();
        updatingSigmoidTable <= False;
        sigmoidUpdatedFifo.enq(True);
     endrule
     rule sourceFinishRule;
        let b <- source.finish();
        if (verbose) $display("sigmoid.source.finish()");
     endrule
  
     method Action start(ObjectPointer pointerA, ObjectPointer pointerB, UInt#(ObjectOffsetSize) numvalues);
        source.start(pointerA, 0, pack(numvalues));
        sinkC.vector.start(pointerB, 0, pack(numvalues));
        if (verbose) $display("sigmoid.start numvalues=%d", numvalues);
     endmethod
     method Action setSigmoidLimits(Float rscale, Float llimit, Float ulimit);
        for (Integer i = 0; i < valueOf(n); i = i + 1) begin
  	 sigmoidTables[i].setSigmoidLimits(rscale, llimit, ulimit);
        end
     endmethod
     method Action updateSigmoidTable(Bit#(32) readPointer, Bit#(32) readOffset, Bit#(32) numvalues);
        entryNumber <= 0;
        updatingSigmoidTable <= True;
        tableSource.start(readPointer, extend(readOffset), 4*extend(numvalues));
     endmethod
     method Bit#(32) tableSize();
        return sigmoidTables[0].tableSize();
  