$30
you will design a Morse Decoder that takes an input b and generates the following signals:
• dot: when the input b is asserted for one unit
• dash: when the input b is asserted for 3 units
• lg: letter gap, indicating the end of letter
• wg: word gap, indicating the end of a word (of multiple letters)
Hints:
• You might want to use a combination of timer and counter to keep track of how many units of time have passed
• Use 50 ms as one unit of time (i.e. a dot is about 50 ms and a dash is about 150 ms)
There is no FPGA implementation for this part
Part2: Morse Decoder Application
Verify the functionality of your decoder by implementing the following circuit.
FPGA Implementation:
• Connect input b to one of the push buttons
• Display the content of the shift register on the first 5 seven-segment digits.
• Display the content of the counter on the 8th seven-segment digit.
• It is important to keep track of the number of segments in a Morse code, because the number range between 2 and 5.
• The D, load inputs reset the value of the counter to 0 after shifting 5 dits/dashes.