Synchronizing a comparator output with a system clock

Thread Starter

iaf

Joined Apr 11, 2019
40
I'm designing a comparator for a reset MC which has a specific clock and i want to synchronize the output of the comparator so that it goes Hi/Lo with the rising edge of clock and not earlier, what would be the easiest way to realize that?
 

Thread Starter

iaf

Joined Apr 11, 2019
40
I have designed it as the following circuit but that's what i get at the output! can anyone explain why does it look like that it's somehow affected with the clock?flipflop_sim.PNG flipflop.PNG
 
Top