









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Exam; Class: Des Microproc Syst; Subject: Electrical Engineering And Computer Science; University: University of Michigan - Ann Arbor; Term: Unknown 1989;
Typology: Exams
1 / 15
This page cannot be seen from the preview
Don't miss anything!










Name: ____________________________________ unique name: _____________ Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so.
Scores:
Be sure to show work and explain what you’ve done when asked to do so.
h) A page fault / timer reference interrupt / external IRQ interrupt is a type of synchronous interrupt.
2. Consider a packet consisting of 11 bits. There are 7 data bits (A-G) and 4 parity bits (W-Z) in the packet. So a packet looks as follows: A B C D E F G W X Y Z The intent of the scheme is to be able to correct one bit of error (one bit-flip) in the packet. Let the function P() return a 1 if there are an odd number of 1s provided as arguments, otherwise it is a zero. So P(0,1,0,0) would return a “1”, while P(0,1,1,0) would return a “0”. Say that W, X, and Y are computed as follows: W=P(A, B, C, D, E) X=P(A, B, F) Y=P(A, B, C, D, G) In order to be able to correct any one-bit error (in the data or parity bits) what should the function for “Z” be? (If there is more than one correct answer, you can just provide one of them!) [8] 3. Write the hexadecimal encoding of the following instruction: andis. r3, r31, -4 [5]
DS500 DATA Register Timing RDR D[7:0] Enable to Data Out (10ns) DS500 SM TIMING SM SM minimum pulse width, 200ns You may assume the following : The sensor bus is mapped to the appropriate PROC MACRO connections. D0 ppc D31, D1 ppcD30… D7 ppc D PD_OUT_EN is implemented All propagation delays are insignificant. MPC823 data setup and hold times are ¼ clock cycle. MPC823 TA* setup and hold times are ¼ clock cycle. MPC823 bus clock is running at 10Mhz. Address is 0x
Part 1a (5 points): Sketch a minimum wait state timing solution for the data register interface.
Part 2a (5 points): Use write cycle to generate the start of measurement signal. How many wait states are required to satisfy the generation of the minimum pulse width for SM?___________
Part 2b (5 points) Provide the logic to generate TA* and SM that will emulate your timing diagram. You may use HDL or schematic form. You need only decode A6 – A11. Draw and label clearly! Part 3a (4 points): To what values should MPC823 device registers should be initialized to provide and enable an edge triggered interrupt on IRQ0? Assume there are no other interrupts. Write the registers in the sequence that you would initialize them and name the bits that should be set. For example, SIPEND, LVL3.