Negative Edge Detector

Microsoft

Problem Description

Design a simple circuit that pulses the output on every falling edge of the input.

A negative edge detector will send out a pulse whenever the signal it is monitoring changes from 1 to 0. Circuit should be asynchronous active low reset.

Example:

  • Input Signal: 1 1 0 1 0

  • Output: 0 0 1 0 1

Note: The input signal transitions from 1 to 0 in the 3rd clock cycle and 5th cycle, so we detect a -ve edge there and we will output 1 at that time.

Verilog

Code Editor Access

Log in to write, run and submit your solution to this interview question. It's free.

Output

Output goes here...