You are to design a counter that continuously outputs hexadecimal values from 0 through F, with varying speeds based on the
Speed
input. There is a parameter for clock frequency (CLOCK_FREQUENCY
), and you need to account for it in your design.
N
cycles of your input clock before generating it.RateDivider
and DisplayCounter
modules individually:
part2
module.Enable
output of the RateDivider
connects to the EnableDC
input of the DisplayCounter
.part2
module, including both the RateDivider
and DisplayCounter
modules inside it. Prepare this schematic before the lab session.RateDivider
and DisplayCounter
) separately before integrating them.RateDivider
, pay attention to the number of cycles to ensure the Enable pulse operates correctly.—
which becomes 10 111
, and when extended to 12-bits becomes 101110000000
.DotDashOut
.CLOCK FREQUENCY
parameter.Letter
input into one of the eight possible letters. Use these outputs to select the appropriate Morse code pattern from your 12-bit patterns for each letter.DotDashOut
signal should be high for.NewBitOut
similar to Part 2. Every time a new bit is shifted out, NewBitOut
should be set to 1 for one clock cycle.Reset
is high, everything should be initialized to its default state.Start
is asserted for 1 clock period, the Morse code for the selected letter should start being output.