8bit ADC with parallel output converts an input signal into digital numbers.
You have to come up with an idea of a circuit , that finds MAX of every 10 numbers at the output
of the ADC.
Solution from Alex
Since we need to find MAX of every 10 samples, we are going to use a FIFO to capture outputs from
ADC. The FIFO is 8 bit wide and 10 words deep.
It will require 8*10 flip-flops.
Every two stages of the FIFO are brought to comparator and multiplexer.
A comparator compares two 8 bit numbers and enables a multiplexer to choose the maximum
of these two numbers.
It will require 9 pairs of comparator/multiplexer to find the MAX number.
So far, with every new clock there will be a new MAX number at the output.