{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw9 - Describe a way that the console could determine when...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
- 1 - 1. (20 points) Consider adding a breakpoint feature to the WashU-2 processor. This involves adding a breakpoint address register ( bpAddr ) to the console, a mechanism to set the value of the register and turn the breakpoint on or off, and a mechanism to pause the processor when an executing program reaches the breakpoint. When the breakpoint is turned on, the processor should execute normally until it has completed execution of the instruction whose address is in bpAddr. At that point, it should switch to single step mode. Describe a way you could modify the Washu2’s console to use the S3 board’s buttons, switches and knob to control bpAddr . Note, that you must preserve all the existing features implemented by the console. How would you modify the information shown on the LCD display to provide some visual feedback to the user?
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Describe a way that the console could determine when execution reaches the target instruction and puts the processor in single step mode. If you need to, you can add signals between the CPU and the console, but you should try to minimize the use of such signals. Show how to modify the VHDL for the console to implement the breakpoint feature. You may want to print the VHDL for the console and write in your modifications on the printout. You do not need to simulate your changes. You should show the code for modifying bpAdr , turning the breakpoint feature on and off, and the code that stops the processor when an active breakpoint is reached. You may omit the code modifications for the LCD display. CSE 260 – Digital Computers: Organization and Logical Design Homework 9 Jon Turner 11/11/2010...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online