2/18/2011 · web viewexam.pdf solution.pdf skip q#1 and skip q#5, but do go through the rest of the...

65
10/22/2017 EE354L Midterm Exam Preparation Guide ===================================== Dear EE354L students, The MT carries ~20% to 25% of your course grade. It is on 10/30/2017 Monday 9:00-11:50 AM in MHP 101 and 10-12:50PM in MHP B7B. I have posted your option to take exam in one of the two slots. Please remember your option and arrive 10 min. before the start of the midterm exam. It is a *closed-book closed-notes* exam. Special for the Fall 2017 semester (same was for Spring 2017): 1. Previously, EE354L exams used to be open-book exams but Spring 2017 semester onwards, they are closed-book exams. 2. Previously we were teaching a topic called, “Microprogrammed Control unit”. We had a homework (HW#6 ) and a Lab on this topic. We have excluded this topic from Spring 2017 semester onwards to make space for the Picoblaze related lectures and labs. 3. In Spring 2017 semester we have started teaching Picoblaze in lecture and do labs involving the Picoblaze soft-core processor. 4. In your preparation, please exclude any question in the past exams related to the “Microprogrammed Control Unit” topic. 5. There are only a few model questions on the Picoblaze from Spring 2017 semester exams as we started teaching this topic only in Spring 2017. A. By referring below, we are including what all was said in the quiz preparation guide. But you do not have to go through it as you have gone through it only recently. http://www-classes.usc.edu/engr/ee-s/254/EE354L_Fall2017_Exams/ee354L_Quiz_exam_preparation_Fall2017.pdf http://www-classes.usc.edu/engr/ee-s/254/EE354L_Fall2017_Exams/ee354L_Quiz_exam_preparation_Fall2017.doc All topics covered until and including 10/25/2017 lecture and all labs conducted until and including 10/26/2017 lab (irrespective of the order of topics/labs appearing in the syllabus below) are included for the midterm. http://www-classes.usc.edu/engr/ee-s/254/EE354L_syllabus/EE354L_Syllabus_Fall2017.docx http://www-classes.usc.edu/engr/ee-s/254/EE354L_syllabus/EE354L_Syllabus_Fall2017.pdf http://www-classes.usc.edu/engr/ee-s/254/ee254l_lab_manual/EE254L_Lab_Plan.pdf B. Homeworks: HW#5 (one-hot), HW#7 (state diagram design), HW#8 (Datapath design) and the RTL Design and coding HW#8A (all 4 questions Q#1, Q#2, Q#3.1, and Q#3.2). HW#8A Part 1 (Q#1 and Q#2) solution: http://www-classes.usc.edu/engr/ee-s/254/RTL_coding/ee201_RTL_exercises_Sp2010/EE201L_RTL_exercises_Spring2010_sol_Q2_Q1_with_improvementsForQ1.pdf HW#8 (Datapath design)will be covered in the week before the exam (on 10/23/2017 or 10/25/2017) C. Though we tested on Verilog coding, State diagram design, and memory in the quiz, they will appear again in the midterm. Data-path design and waveform drawing were not tested in the midterm, they will have higher probability, to appear in the midterm exam. We will have questions in the MIDTERM on (a) state diagram design similar to HW#8A, clock count estimation for a given data, drawing waveforms

Upload: others

Post on 25-Jul-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 2/18/2011 · Web viewexam.pdf solution.pdf Skip Q#1 and Skip Q#5, but do go through the rest of the exam particularly Q#2.2.13. Final Spring 2014 exam.pdf solution.pdf Skip all questions

10/22/2017

EE354L Midterm Exam Preparation Guide =====================================

Dear EE354L students,

The MT carries ~20% to 25% of your course grade. It is on 10/30/2017 Monday 9:00-11:50 AM in MHP 101 and 10-12:50PM in MHP B7B. I have posted your option to take exam in one of the two slots. Please remember your option and arrive 10 min. before the start of the midterm exam.

It is a *closed-book closed-notes* exam.

Special for the Fall 2017 semester (same was for Spring 2017): 1. Previously, EE354L exams used to be open-book exams but Spring 2017 semester onwards, they are closed-book exams.2. Previously we were teaching a topic called, “Microprogrammed Control unit”. We had a homework (HW#6) and a Lab on this topic. We have excluded this topic from Spring 2017 semester onwards to make space for the Picoblaze related lectures and labs.3. In Spring 2017 semester we have started teaching Picoblaze in lecture and do labs involving the Picoblaze soft-core processor.4. In your preparation, please exclude any question in the past exams related to the “Microprogrammed Control Unit” topic. 5. There are only a few model questions on the Picoblaze from Spring 2017 semester exams as we started teaching this topic only in Spring 2017.

A. By referring below, we are including what all was said in the quiz preparation guide.

But you do not have to go through it as you have gone through it only recently.http://www-classes.usc.edu/engr/ee-s/254/EE354L_Fall2017_Exams/ee354L_Quiz_exam_preparation_Fall2017.pdf http://www-classes.usc.edu/engr/ee-s/254/EE354L_Fall2017_Exams/ee354L_Quiz_exam_preparation_Fall2017.doc  

All topics covered until and including 10/25/2017 lecture and all labs conducted until and including 10/26/2017 lab (irrespective of the order of topics/labs appearing in the syllabus below) are included for the midterm.http://www-classes.usc.edu/engr/ee-s/254/EE354L_syllabus/EE354L_Syllabus_Fall2017.docx   http://www-classes.usc.edu/engr/ee-s/254/EE354L_syllabus/EE354L_Syllabus_Fall2017.pdf http://www-classes.usc.edu/engr/ee-s/254/ee254l_lab_manual/EE254L_Lab_Plan.pdf

B. Homeworks: HW#5 (one-hot), HW#7 (state diagram design), HW#8 (Datapath design) and the RTL Design and coding HW#8A (all 4 questions Q#1, Q#2, Q#3.1, and Q#3.2).HW#8A Part 1 (Q#1 and Q#2) solution:http://www-classes.usc.edu/engr/ee-s/254/RTL_coding/ee201_RTL_exercises_Sp2010/EE201L_RTL_exercises_Spring2010_sol_Q2_Q1_with_improvementsForQ1.pdf

HW#8 (Datapath design)will be covered in the week before the exam (on 10/23/2017 or 10/25/2017)

C. Though we tested on Verilog coding, State diagram design, and memory in the quiz, they will appear again in the midterm. Data-path design and waveform drawing were not tested in the midterm, they will have higher probability, to appear in the midterm exam. We will have questions in the MIDTERM on (a) state diagram design similar to HW#8A, clock count estimation for a given data, drawing waveforms (b) Verilog coding, counter design and coding pdf sol, testbench design covered in lab(c) special counter (with two interacting counters) design completion either in schematic or in Verilog coding and arriving at the repetitive sequence .pdf1 .pdf2 .pdf3 .pdf4(d) Timing design chapter and Timing lab part covered in lecture and in lab(e) Data path design (HW#8 and sol) questions on tristate buffers, etc. (f) Memories: lecture .pdf .wmv , exercises: .pdf .avi(g) Picoblaze dir(h) Lab related questions. 1. Debouncing, Single-stepping, Multi-stepping, Output coding .pdf 2. Testbenches .pdf, Timing analysis and Timing constraint .pdf 3. See the figures below and recollect the associated discussion.

Page 2: 2/18/2011 · Web viewexam.pdf solution.pdf Skip Q#1 and Skip Q#5, but do go through the rest of the exam particularly Q#2.2.13. Final Spring 2014 exam.pdf solution.pdf Skip all questions

From the lab on Debouncing and Single-stepping in the Divider design .pdf

Page 6: 2/18/2011 · Web viewexam.pdf solution.pdf Skip Q#1 and Skip Q#5, but do go through the rest of the exam particularly Q#2.2.13. Final Spring 2014 exam.pdf solution.pdf Skip all questions

From the Control Unit and Data Path using Verilog - GCD Design lab pdfDisplaying different data on SSDs during different phases of the system

D. Excluded items for the Midterm => HW#1 (EE101 Review), Lab # 1 Introduction to Lab Equipment,

E. Verilog Coding Lecture slides posted on the BB underAssignments => EE354L Lab Manual Spring 2017 => EE254L -- Verilog Introductory Lectures and Lecture slidesOne question containing several small questions. synchronous and asynchronous reset flip-flop coding (Quiz 2017 question #1.5) Blocking and non-blocking, where to use what. Decade Counter coding Shift register coding Combinational logic coding Middle finder, Parity generator, mux, Decoder, etc.Later assignments over-ride earlier assignments in procedural blocks (begin-end blocks). See last 3 pages of EE201L_counters_blocking_non_blocking_r1.pdfhttp://www-classes.usc.edu/engr/ee-s/254/RTL_coding/Blocking_NonBlocking/EE201L_counters_blocking_non_blocking_r1.pdf Default assignments at the beginning of a block can be selectively over-ridden by later assignments."case" statement, "if" statement, "for" statementOperators in Verilog.RTL coding (HW#8A), GCD lab. See Verilog questions from previous MIDTERM and FINAL exams.http://ee-classes.usc.edu/ee254/Verilog/Verilog_Exam_Questions_Solutions.pdf

F. General lab questions boards tools and procedures:Nexys 3 board, Xilinx ISE tool, Adept tool, modelsim simulation tool, picoblaze psm assembly One or two medium questions. Questions may try to test your participation in the lab.You can expect questions similar to the prelab questions or questions at the endof the lab (to be answered in the lab report).

Page 7: 2/18/2011 · Web viewexam.pdf solution.pdf Skip Q#1 and Skip Q#5, but do go through the rest of the exam particularly Q#2.2.13. Final Spring 2014 exam.pdf solution.pdf Skip all questions

G. Picoblaze:

Please browse through the pages 6 to 8, 16 to 19 in the user guide:

Basic Picoblaze architecture (pages 6 to 8), various items (Program Counter, Program Memory, Program Counter Stack, Register Bank, Scratch pad memory, ALU, Flags, I/O ports), their function and purpose, size of the buses

What is a soft-core processor? Design flow steps

Input and output ports (pages 16 to 19), general familiarity with instructions and the labs that we did on the picoblaze.

See picoblaze-related question on pages 7 and 8 of the last semester midterm: exam solu

H. Practice questions from the previous quizzes, midterms, and finals:

To the questions suggested in the review for Quiz, add questions on Verilog coding, microprogrammed control unit, truncated counter, RTL Design, PicoBlaze, Timing Design, and lab questions, etc.The list on the next page is in the order of exams rather than topics. No one has time to go through so many. So I have selected a few good questions which will give adequate practice. See on the rest of the pages those selected questions and their solutions. How to go through the questions? Start from the end and come to the beginning as some of the questions are modifications of the earlier exam questions. Read a question. Mentally solve the question. Check the solution. After finishing a few, the next day, time yourself and actually answer a few questions that you had gone through the previous day. Grade it. This will help you. Once you have gone through all the selected questions, please select one question for each type (state machine design, Verilog related question, counter related questions, labs related questions, timing related questions, etc.), print the question, time yourself, and solve them. Try helping another student by explaining the questions to him or her. When you try to teach, your own thinking gets clearer and stronger.

I. Prepare early and try to relax on the night before the exam and on the day of the exam. We will try to post special office hours for the exam week. If you need help in understanding any topic or question, besides our office hours, you can call me on my home line (310) 839-3933 in the evenings from 8:00PM to 9:30PM any day for 5 minutes.

J. Some Selected Questions from previous exams: 1. Final Spring 2017 exam.pdf solution.pdfNone

2. Midterm Spring 2017 exam.pdf solution.pdfGo through Q#1, Q#3, Q#5, Q#6, and Q#7 (i.e. skip Q#2 and Q#4)

3. Final Fall 2016 exam.pdf solution.pdfSkip Q#3 and Q#4. Q#1 is difficult, so you may want to skip. Go through Q#2 and Q#5.

4. Midterm Fall 2016 exam.pdf solution.pdfJust Q#3.

5. Final Spring 2016 exam.pdf solution.pdfGo through Q#2, Q#3.1, and Q3.2

6. Midterm Spring 2016 exam.pdf solution.pdfNone. Skip Q#4 as it is on Microprogrammed CU.

7. Final Fall 2015 exam.pdf solution.pdfNone. Skip Q#7 as it is a little too difficult.

8. Midterm Fall 2015 exam.pdf solution.pdfGo through Q#2 and Q#3. Skip Q#4 and Q#5.

Page 8: 2/18/2011 · Web viewexam.pdf solution.pdf Skip Q#1 and Skip Q#5, but do go through the rest of the exam particularly Q#2.2.13. Final Spring 2014 exam.pdf solution.pdf Skip all questions

9. Final Spring 2015 exam.pdf solution.pdfOnly Q#4.9, Do Skip Q#1

10. Midterm Spring 2015 exam.pdf solution.pdfSkip Q#2 on Microprogrammed CU lab. This lab is removed from our lab schedule from Spring 2017 onwards. You can go through Q#1, Q#3 and Q#4.

11. Final Fall 2014 exam.pdf solution.pdfSkip all except Q#2. Please do go through Q#2.

12. Midterm Fall 2014 exam.pdf solution.pdfSkip Q#1 and Skip Q#5, but do go through the rest of the exam particularly Q#2.2.

13. Final Spring 2014 exam.pdf solution.pdfSkip all questions except Q#6. Q#6 is interesting.

14. Midterm Spring 2014 exam.pdf solution.pdf All questions except Q#1 and Q#4. Skip Q#1 and Q#4.Q#3 is important to go through.

15. Final Fall 2013 exam.pdf solution.pdfNone

16. Midterm Fall 2013 exam.pdf solution.pdfQ#4 GCD, Q#5 State machine design similar to Q#1 of RTL coding exercises

17. Final Sp2013 exam.pdf solution.pdfQ#1 and Q#2Q#2 on State machine design is important. It is similar to Q#1 of RTL coding exercises.Skip Q#3 Microprogrammed CU

18. Midterm Sp2013 exam.pdf solution.pdfQuestions 1 to 6. Skip Q#7. Q#1.6 and Q#4 are important.

19. Final Sp2012 exam.pdf solution.pdfQ#2, Q#5, Q#6

20. Midterm Sp2012 exam.pdf solution.pdfQ#1, Q#3, Q#5

21. Final (MT#2) Sp2011 exam.pdf solution.pdfQ#1, Q#2, Q#4.8

22. Midterm (MT#1) Sp2011 exam.pdf solution.pdfall questions except Q#5 on the “Microprogrammed Control Unit” topic.

Page 30: 2/18/2011 · Web viewexam.pdf solution.pdf Skip Q#1 and Skip Q#5, but do go through the rest of the exam particularly Q#2.2.13. Final Spring 2014 exam.pdf solution.pdf Skip all questions

ee254L_Special_Counters_Exercise_based_on_2014_2015_Exam_Questions.pdf

Page 31: 2/18/2011 · Web viewexam.pdf solution.pdf Skip Q#1 and Skip Q#5, but do go through the rest of the exam particularly Q#2.2.13. Final Spring 2014 exam.pdf solution.pdf Skip all questions

ee254L_Special_Counters_Exercise_based_on_2014_2015_Exam_Questions.pdf

Page 32: 2/18/2011 · Web viewexam.pdf solution.pdf Skip Q#1 and Skip Q#5, but do go through the rest of the exam particularly Q#2.2.13. Final Spring 2014 exam.pdf solution.pdf Skip all questions

ee254L_Special_Counters_Exercise_based_on_2014_2015_Exam_Questions_sol.pdf

Page 33: 2/18/2011 · Web viewexam.pdf solution.pdf Skip Q#1 and Skip Q#5, but do go through the rest of the exam particularly Q#2.2.13. Final Spring 2014 exam.pdf solution.pdf Skip all questions

ee254L_Special_Counters_Exercise_based_on_2014_2015_Exam_Questions_sol.pdf

Page 34: 2/18/2011 · Web viewexam.pdf solution.pdf Skip Q#1 and Skip Q#5, but do go through the rest of the exam particularly Q#2.2.13. Final Spring 2014 exam.pdf solution.pdf Skip all questions

Jefferson_Vermont_Traffic_Light_Control_problem.pdf

Page 35: 2/18/2011 · Web viewexam.pdf solution.pdf Skip Q#1 and Skip Q#5, but do go through the rest of the exam particularly Q#2.2.13. Final Spring 2014 exam.pdf solution.pdf Skip all questions

Jefferson_Vermont_Traffic_Light_Control_problem.pdf