Question
In this lab you will design, simulate, implement, and test an edge-triggered register composed of D flip-flops. There are two parts to this lab. In
In this lab you will design, simulate, implement, and test an edge-triggered register composed of D flip-flops. There are two parts to this lab. In the first part, you will use a pushbutton on the DE10-Lite board as the clock. In the second part, you will use a clock derived from one of the DE10-Lite 50MHz clocks available for user logic. See section 3.2 of the DE10-Lite User’s Manual for port assignments.
8-bit Register
A) Pushbutton Clock Design an 8-bit register of D flip-flops to use as an output buffer that takes an 8-bit input from the DE10-Lite board toggle switches SW7 down to SW0. Use pushbutton KEY0 to act as the clock and pushbutton KEY1 for an asynchronous clear. You may need to debounce the pushbutton switch. The output of the register shall drive the input of a 7-segment display driver to display the register output on 7-segment displays HEX1 and HEX0 on the DE10-Lite board. Simulate your project to validate your design. After you have verified your design, create the necessary pins assignments, compile the project, and program the DE10-Lite board with your design.
B) DE10-Lite Clock Redesign your project and replace the pushbutton clock with a clock generated from the DE10- Lite system clock. The LPM_COUNTER in the installed IP library can be used as a clock divider to reduce the 50MHz clock to approximately 10Hz for this project. Create the necessary pins assignments, compile the project, and program the DE10-Lite board with your design.
Step by Step Solution
3.32 Rating (164 Votes )
There are 3 Steps involved in it
Step: 1
The modified Verilog Code for the shif...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started