Check out the apps note below to look into a Binary Parity Generator and Checker with two data input variants, a parallel data input (SLG46536) and a serial data input (SLG46620) !
Device:
Device Number:
SLG46536, SLG46620