I have a comparator which has a certain output for a microcontroller reset which i want to synchronize with the system clock so that it rises only when the edge of the clock rises and not earlier, what would be the easiest way to realize that?
Well, that doesn't look right. And what do you mean "the output seems to be somehow affected by the clock"? It's SUPPOSED to be affected by the clock! Can you look at the outputs of I5, I7 and I4 and see if those are behaving properly?