Question: Exercise 1 0 . 2 Rising and falling edge detection We can use a bitwise XOR to detect the change in a signal XOR is
Exercise
Rising and falling edge detection
We can use a bitwise XOR to detect the change in a signal
XOR is true if and only if the inputs are different
Note that the XOR tells us only if a signal has changed
If we want to discriminate between a rising and a falling edge,
we additionally need to test the current or previous state of the signal
We need to hold copies of the current and previous samples of the state of a
signal in order to be able to perform edge detection
A falling edge is a transition from to
A bitwise XOR can be used to detect
differences between bits
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
