arranged indarray to match fpga order for memread_manual