Text this: Performance evaluation of M-ary algorithm using reprogrammable hardware