Home › Practice › RTL Design › Rising-edge detector
Rising-edge detector
EasyRTLsequential
Output a one-cycle pulse when input d goes from 0 to 1.
pulseis combinational from the currentdand the value ofdsampled at the previous rising edge:pulse = d & ~d_prev.rstis synchronous, active-high, and clears the stored previous value to 0.
No install and no sign-up needed. You write your answer in the editor and Nishkam checks it.