Shift-register synthesis and BCH decoding | Synapse