Khush
Newbie level 2
Implement the design by using VHDL and download your design to the FPGA board.
Use three LEDs to display the counter values.
1). At any time, when user pushes the switch 1, LCD should display “S0” and the 3-bit counter is cleared to
all zeros.
2). At any time, when user pushes the switch 2, the 3-bit counter will load values set up by three switches
and start to count up. When the counter counts up, LCD should display “S1”. When the counter value is
equal to 7, the count value will change to 0 at next clock cycle and won’t change any more, and LCD should
display “S2”.
3). Only after LCD displays “S2”, if user pushes the switch 3, the 3-bit counter will count down, LCD
should display “S3”. When the 3-bit counter value becomes 1 again, the count value will change to 0 at next
clock cycle and won’t change any more, and LCD should display “S0”.
Use three LEDs to display the counter values.
1). At any time, when user pushes the switch 1, LCD should display “S0” and the 3-bit counter is cleared to
all zeros.
2). At any time, when user pushes the switch 2, the 3-bit counter will load values set up by three switches
and start to count up. When the counter counts up, LCD should display “S1”. When the counter value is
equal to 7, the count value will change to 0 at next clock cycle and won’t change any more, and LCD should
display “S2”.
3). Only after LCD displays “S2”, if user pushes the switch 3, the 3-bit counter will count down, LCD
should display “S3”. When the 3-bit counter value becomes 1 again, the count value will change to 0 at next
clock cycle and won’t change any more, and LCD should display “S0”.