Question
This is using the Cyclone V DE1-Soc Development and all code is to be written in ASSEMBLY code NOT in C or C++ code, thank
This is using the Cyclone V DE1-Soc Development and all code is to be written in ASSEMBLY code NOT in C or C++ code, thank you I really appreciate you guys I have been trying so hard to get this but cant
the system must display distinct patterns on the LEDs based on different combinations of pushbuttons pressed. The system will be able to distinguish four different pushbutton patterns. Two of these patterns must be for one single button being pressed, and the other two must be for when two buttons are pressed. For all other possible combinations of pushbutton presses, all the LEDs must be off. For example, the system could be designed to react to when KEY[3] is pressed, when KEY[1] is pressed, when KEY[2] and KEY[1] is pressed, and when KEY[1] and KEY[0] is pressed. Students are free to choose which combinations of keys are pressed, so long as they meet the above criteria.
For each button value observed, the LEDs must be given a distinct pattern. Using the previous example, when KEY[3] alone is pressed, all the LEDs could be illuminated, when KEY[1] alone is pressed the even numbered (remember index 0) LEDs are illuminated while the odd numbered ones are not, when KEY[2] and KEY[1] are pressed the five most significant LEDs are illuminated, and when KEY[1] and KEY[0] are pressed, the 5 least significant LEDs are illuminated. The student is free to choose which patterns to use, so long as they are distinct from each other, and for all other possible combinations of key presses, the LEDs are all off.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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