PSOC 4 CSD Comparator