← All problems

Edge Detector

Easy · Sequential · SystemVerilog · VHDL

Design a rising-edge detector.

dout is high for one cycle, the cycle after one in which din is high and was low in the cycle before. In every other cycle dout is low.

resetn is a synchronous, active-low reset; while it is low, din counts as low.

Open this challenge in the editor →