Positive Edge Detector

Problem Description

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

A positive edge detector will send out a pulse whenever the signal it is monitoring changes from 0 to 1.

Example:

  • Input Signal: 1 0 1 1 0

  • Output: 0 0 1 0 0

  • Note: The input signal transitions from 0 to 1 in the 3rd clock cycle, so we detect a +ve edge there and 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...