Hardware implementation of speech compression algorithms for voice over internet protocol telephone