Midterm_2009 - EE331 Term 1, 2009-10 Page 1 of 4 Name:...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EE331 Term 1, 2009-10 Page 1 of 4 Name: Midterm Student No.: Time: 120 Minutes; Total Marks: 40 Closed book exam (PIC instruction set is allowed) Q1. What is handshake signaling? Why is it important to bus arbitration? (1+1=2 marks) Q2. Suppose a cache (special memory) is 10 times faster than the main memory. If the cache is used 90% of the time, how much speedup can be gained by using the cache? (2 marks) Q3. Consider the circuit shown below using PIC16F84. It uses TMR0 with a prescaler ratio of 1:16. Write a code fragment to initialize appropriate ports and special functional registers? (a) What would be the problem of such configuration (no external pull-up resistors)? (b) Show how to enable internal pull-up resistors for RB0. (3+1+1=5 marks) EE331 Term 1, 2009-10 Page 2 of 4 Name: Midterm Student No.: Q4. Given is an assembly code. Assume that the timer (TMR0) is running by the internal Q4 clock ( f osc /4) and the prescaler is OFF. At the end of the program execution: (a) What is the final content in w? (b) What is the final content in prescaler is OFF....
View Full Document

This note was uploaded on 01/20/2011 for the course EE 331 taught by Professor Wahid during the Fall '10 term at University of Saskatchewan- Management Area.

Page1 / 4

Midterm_2009 - EE331 Term 1, 2009-10 Page 1 of 4 Name:...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online