{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# 3-M2 - Midterm 2 ECE 25 Fall 2008 Thursday Name PID Problem...

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

Midterm 2 1) Sequential logic implementation (10 pts) Consider the following incompletely-specified Mealy machine (“*” indicates don’t cares). 0/1 A B C 1/* 1/1 0/0 1/* 0/0 Suppose we use the following state encoding. (Assume the name the input variable is I .) State S 2 S 1 S 0 A 100 B 010 C 001 Derive the minimum two-level logic for each of the following (you should minimize each logic function separately, no need to worry about sharing logic between logic functions). F = S 2 + = S 1 + = S 0 + = 1

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

View Full Document
2) Datapath/registers (10 pts) Consider the following diagram. Q 3 + Q 2 + Q 1 + Q 0 + 0 1 MUX D-FF 0 1 MUX D-FF 0 1 MUX D-FF 0 1 MUX D-FF D-FF D-FF D-FF D-FF 1 0 1 MUX 0 1 MUX 0 1 MUX 0 1 MUX 0 X 3 X 2 X 1 X 0 Q 3 Q 2 Q 1 Q 0 P 3 P 2 P 1 P 0 P 3 + P 2 + P 1 + P 0 + S S S S S S S S Given the values for control input S , the data inputs X 3 X 2 X 1 X 0 , and the ﬂip-ﬂop values P 3 P 2 P 1 P 0 and Q 3 Q 2 Q 1 Q 0 , what will be the new ﬂip ﬂop values P + 3 P + 2 P + 1 P + 0 and Q + 3 Q + 2 Q + 1 Q + 0 ?
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern