assignment 3 88/8/10) 1 following tables have been collected...

7
In the name of Allah Assignment 3 (Deadline: 88/8/10) 1Following Tables have been collected and typed by a student; unfortunately tables have some typing and logical mistakes. This question requests you to find and correct these mistakes.

Upload: others

Post on 05-Apr-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Assignment 3 88/8/10) 1 Following Tables have been collected …sbisc.sharif.edu/~sakhtar_t/Exams/Assignments/Assignment... · 2010-02-24 · In the name of Allah Assignment 3 (Deadline:

In the name of Allah

Assignment 3 (Deadline: 88/8/10)

1‐ Following Tables have been collected and typed by a student; unfortunately tables have some typing and logical mistakes. This question requests you to find and correct these mistakes. 

 

Page 2: Assignment 3 88/8/10) 1 Following Tables have been collected …sbisc.sharif.edu/~sakhtar_t/Exams/Assignments/Assignment... · 2010-02-24 · In the name of Allah Assignment 3 (Deadline:

Notice: You will need tables in next pages to solve the question. Caution, you are not asked to correct tables below and these are just for referring. 

Page 3: Assignment 3 88/8/10) 1 Following Tables have been collected …sbisc.sharif.edu/~sakhtar_t/Exams/Assignments/Assignment... · 2010-02-24 · In the name of Allah Assignment 3 (Deadline:

 

Page 4: Assignment 3 88/8/10) 1 Following Tables have been collected …sbisc.sharif.edu/~sakhtar_t/Exams/Assignments/Assignment... · 2010-02-24 · In the name of Allah Assignment 3 (Deadline:

 

Page 5: Assignment 3 88/8/10) 1 Following Tables have been collected …sbisc.sharif.edu/~sakhtar_t/Exams/Assignments/Assignment... · 2010-02-24 · In the name of Allah Assignment 3 (Deadline:

 

Page 6: Assignment 3 88/8/10) 1 Following Tables have been collected …sbisc.sharif.edu/~sakhtar_t/Exams/Assignments/Assignment... · 2010-02-24 · In the name of Allah Assignment 3 (Deadline:

2‐ The FETCH process in CPU contains steps which are depicted as state diagram as follow.

 Below timings are examples of a simple FETCH. As its obvious the first one doesn’t contain any wait while the second one does. 

 Opcode FETCH without wait 

 Opcode FETCH with wait 

Page 7: Assignment 3 88/8/10) 1 Following Tables have been collected …sbisc.sharif.edu/~sakhtar_t/Exams/Assignments/Assignment... · 2010-02-24 · In the name of Allah Assignment 3 (Deadline:

One of the typical circuits for providing one cycle waiting in FETCH can be designed as follow. 

 Finally what the question expected you to do: a) Draw Q and Q’ timings in diagram according to pervious circuit. 

 b) Design a circuit like previous one which provides 2 cycle waiting instead of one cycle.