QUESTION 4 Consider this scenario: You have installed a first-person shooting game into your PC. However, you do not hav
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
QUESTION 4 Consider this scenario: You have installed a first-person shooting game into your PC. However, you do not hav
QUESTION 4 Consider this scenario: You have installed a first-person shooting game into your PC. However, you do not have a gaming controller as an input device to play the game. Therefore, you have used the keyboard as the controller. Before this is possible, you are required to map specific keys to the respective buttons of a gaming controller. Perform the following steps to design a decoder that would map the required keyboard keys to the needed controller buttons. Main task: Map the keys W. S, A, and D to Up, Down, Left, and Right respectively. Hint: W, S, A, and D provides the binary inputs; Up, Down, Left, and Right are outputs. a) Assuming the binary codes of some keys are as follows: Key A D G J M P S Binary 000 001 010 011 100 101 110 111 W Construct a 3-bit decoder truth table with active LOW output (no Enable needed and assume unrelated keys to not activate any output). b) Design the logic diagram of the 3-bit decoder based on the truth table.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!