Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please answer ASAP all parts In this project, you will use Bird-CPU to read keystrokes from a ps2 keyboard and draw a scene on a
please answer ASAP all parts
In this project, you will use Bird-CPU to read keystrokes from a ps2 keyboard and draw a scene on a VGA monitor. Your system will start by drassing a red spuare on a green background. The red square will be 11 poxels wide and 11 pixels high, and will be exacty at the center of the screen. When the key W is pressed, the square will move 4 pixels up. -When the way S is pressed, the square will move 4 pixeis doan. - When the key A is pressed, the square will move 4 pixes left. When the key D is pressed. the square will rave 4 pixels right. When the keys are meleased, no extra movement will occur. Use the pe2 keyboard, Bird CPU wwith 12-bit address bus\}. VGA moriocr, and Bird assembler codss given in the lecture notes. Madily them suatatly and fil in the tlank parts. On the hardware side. you have to write the top module which 'glues' the CPU. keytaard. and manitbr. Assign acdressess to the keyboard ind moritor registers. You are also required to modily the VGA oode slightly. You tan use Bird-CPU and keytanard endes, without madification. On the software side, you have to write the assembly code which manages the hardware for the given assamble your software. HINT: === In the code segment given teios, the tird CFU reeds from the keytard and peints to a 7 . seament dapley. You can 991 some ideas on how to wile your top module trom this code sogment. iatain moduk logic[15:0] natn al; Ingir. [3:D] knyoun; loge ark; 2Step 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