Intro to Architecture
Spring 2003, Test 2
- Please answer all questions carefully and thoughtfully.
- Use as much paper as you wish, but make sure that you label your
answers and that you put your name on the top of each page.
- You may use your books and calculators on this test.
- Describe the operation of a D-flop-flop. Provide a non-trivial
timing diagram to illustrate the role of the clock in this device.
- Describe the operations that can be performed on memory. Describe the
data and control lines required for these operations.
- Give the machine code (for the machine in our book) for y=mx+b.
Assume the following
- Y is to be stored at address 31
- m is at address 30
- x is at address 29
- b is at address 28
- Draw a detailed diagram of the program counter for the machine on page
89. Show and label all data and control lines, show line widths as well.
- Describe the action that is being accomplished at step 7 of figure
3.13. (The mdr is put on the bus and the acc is loaded is insufficient)
- Give the control logic to transition from state 6 to the next
state for the simple computer described in the book.
- What is a wait state in a synchronous bus and why will such a state occur?
- Define MIPS. If the longest path through our simple machine takes
15ns, calculate the MIPS rating for this machine. Show all of your work.
When can MIPS be a misleading measurement?