testing for pipelined encoder designs