added hw ecc support, works for syndrome