CS501 Assignment # 03 Solution Spring 2013
Page 1 of 1 • Share
CS501 Assignment # 03 Solution Spring 2013
Assignment No. 03, Semester: Spring 2013, CS501: Advanced Computer Architecture, Due Date: 17-05-13
Instructions
Please read the following instructions carefully before assignment submission.
It should be clear that your assignment will not get any credit if:
The assignment is submitted after the due date.
The submitted assignment does not open or file is corrupt.
The assignment is found to be copied from the internet.
The assignment is found to be copied from other student.
The assignment submitted is not according to required file format (.doc).
Objective
The objective of this assignment is:
To assess your overall understanding of Computer Architecture and Organization
To assess your overall understanding of Computer Instructions
To assess your overall understanding of Fetch, Decode and Execute Cycle
Note:
The assignment should be in .doc format.
Assignment .03 covers lecture 11-14. You can also consult reference books for help.
Students are advised to submit their assignment as early as possible in order to avoid any sort of inconvenience like Load shedding etc.
Question No 1 (a): Marks 5
Problem Statement:
You are required to design a 4-bit mini-CPU which will perform 4 operations: ADD, SUB, OR, and AND. The CPU does only fixed-point, positive number manipulations so you do not have to worry about negative numbers.
Both data and instructions are loaded from a single bus which comes from the computer memory. You do not have to worry about the other end of that bus.
You need to do:
This is the design of 4-bit mini CPU which has 2 operands, a clock, ALU and executed output state. You are required that to fill the asked points (?) in the given diagram with appropriate function OR operation.
NOTE: Remove question marks (?) and write correct operations.
Hints:
The count generator resets after every 8 counts.
ALU using ADD, AND, OR and SUB operations.
Q. 1 Question No 1 (b): Marks 10
Explain the CPU execution with respect to given points (1,2, 3, 4, 5 and 6).
1. Working of Bit Counter (definition will not acceptable)
2. Identify first then define operation. (definition will not acceptable)
3. Explain the working of Program Counter (PC). (definition will not acceptable)
4. Identify the total number of bits and then defend your answer. You are required to answer for both 4-Bit and 8-Bit CPUs.
5&6. Explain the main difference between MDR and MAR. (definitions will not acceptable) Question No 2: Marks 5
The given design is for 4-Bit CPU, you are required to convert it into 8-Bit CPU d
Instructions
Please read the following instructions carefully before assignment submission.
It should be clear that your assignment will not get any credit if:
The assignment is submitted after the due date.
The submitted assignment does not open or file is corrupt.
The assignment is found to be copied from the internet.
The assignment is found to be copied from other student.
The assignment submitted is not according to required file format (.doc).
Objective
The objective of this assignment is:
To assess your overall understanding of Computer Architecture and Organization
To assess your overall understanding of Computer Instructions
To assess your overall understanding of Fetch, Decode and Execute Cycle
Note:
The assignment should be in .doc format.
Assignment .03 covers lecture 11-14. You can also consult reference books for help.
Students are advised to submit their assignment as early as possible in order to avoid any sort of inconvenience like Load shedding etc.
Question No 1 (a): Marks 5
Problem Statement:
You are required to design a 4-bit mini-CPU which will perform 4 operations: ADD, SUB, OR, and AND. The CPU does only fixed-point, positive number manipulations so you do not have to worry about negative numbers.
Both data and instructions are loaded from a single bus which comes from the computer memory. You do not have to worry about the other end of that bus.
You need to do:
This is the design of 4-bit mini CPU which has 2 operands, a clock, ALU and executed output state. You are required that to fill the asked points (?) in the given diagram with appropriate function OR operation.
NOTE: Remove question marks (?) and write correct operations.
Hints:
The count generator resets after every 8 counts.
ALU using ADD, AND, OR and SUB operations.
Q. 1 Question No 1 (b): Marks 10
Explain the CPU execution with respect to given points (1,2, 3, 4, 5 and 6).
1. Working of Bit Counter (definition will not acceptable)
2. Identify first then define operation. (definition will not acceptable)
3. Explain the working of Program Counter (PC). (definition will not acceptable)
4. Identify the total number of bits and then defend your answer. You are required to answer for both 4-Bit and 8-Bit CPUs.
5&6. Explain the main difference between MDR and MAR. (definitions will not acceptable) Question No 2: Marks 5
The given design is for 4-Bit CPU, you are required to convert it into 8-Bit CPU d
Victoria333- Monstars
-
Posts : 267
Join date : 2013-05-12
Age : 35
Location : Victoria
Re: CS501 Assignment # 03 Solution Spring 2013
Student's Message: Msg No. 587213
Subject: Example or Idea for Assignment 3 Solution!
Dear Sir:Assalam Alikum!
I hope u will fine. Sir I asked u before for the Idea of 3rd Assignment. You told us for link of the reference book and handout I search this reference book page by page but could not find any example like that. Also I listen Video Lectures and consulted Handout but didn't understand and couldn't find any example like that. Can you give reference of any examples to solve this assignment.
2nd thing Sir, I want to asked shall we have to enter all the four bits together in side the CPU from the Bit counter or bit by bit. Please explain Bit counter and Bit Register Output how it works.
Please if you can give relevant examples regarding this assignment it will be great to us to understand.
Thank you in advance for your help and quick reply.
Post Your Comments
Other Students' Comments: 0
Instructor's Reply:
Dear Student,
Please understand the basic concept of CPU. You have read CPU design In 12th chapter of CS501_handouts. Dear student there is no example like this, so this assignment requires your concept about CPU execution. You have to clear your concepts about PC, IR, AC, and clock etc.
There is a hint regarding bit counter, which can tell you about bit counter size and this is asked to you in that point.
One more hint, Clock (Bit generator) does not send all bits to the CPU.
NOTE: Please don’t cluster your mind with internet designs just learn about PC, IR, Counter, ALU and AC.
Regards
Subject: Example or Idea for Assignment 3 Solution!
Dear Sir:Assalam Alikum!
I hope u will fine. Sir I asked u before for the Idea of 3rd Assignment. You told us for link of the reference book and handout I search this reference book page by page but could not find any example like that. Also I listen Video Lectures and consulted Handout but didn't understand and couldn't find any example like that. Can you give reference of any examples to solve this assignment.
2nd thing Sir, I want to asked shall we have to enter all the four bits together in side the CPU from the Bit counter or bit by bit. Please explain Bit counter and Bit Register Output how it works.
Please if you can give relevant examples regarding this assignment it will be great to us to understand.
Thank you in advance for your help and quick reply.
Post Your Comments
Other Students' Comments: 0
Instructor's Reply:
Dear Student,
Please understand the basic concept of CPU. You have read CPU design In 12th chapter of CS501_handouts. Dear student there is no example like this, so this assignment requires your concept about CPU execution. You have to clear your concepts about PC, IR, AC, and clock etc.
There is a hint regarding bit counter, which can tell you about bit counter size and this is asked to you in that point.
One more hint, Clock (Bit generator) does not send all bits to the CPU.
NOTE: Please don’t cluster your mind with internet designs just learn about PC, IR, Counter, ALU and AC.
Regards
Victoria333- Monstars
-
Posts : 267
Join date : 2013-05-12
Age : 35
Location : Victoria
Re: CS501 Assignment # 03 Solution Spring 2013
The memory data register (MDR), known also as memory buffer register (MBR), is used to temporarily store data read from or written to memory whereas the memory address register (MAR) holds the address of the memory location from which data will be read or to which data will be written. All transfers from memory to the CPU go via the MDR.
this is the main difference next u have to explain what will happen in the given OR instructio
agar app sirf diagram ko dahky tu Q1 - a part ho jai ga, jahan jahan ? mark hai wahan uploaded file mai sy value fill ker dain.
Qno 1-b klia lect 12 read karin
uploaded file mai sirf diagram assignment k kam ki hai aur kuch nahi baqi app nay khud likhna hai
this is the main difference next u have to explain what will happen in the given OR instructio
agar app sirf diagram ko dahky tu Q1 - a part ho jai ga, jahan jahan ? mark hai wahan uploaded file mai sy value fill ker dain.
Qno 1-b klia lect 12 read karin
uploaded file mai sirf diagram assignment k kam ki hai aur kuch nahi baqi app nay khud likhna hai
Victoria333- Monstars
-
Posts : 267
Join date : 2013-05-12
Age : 35
Location : Victoria
Similar topics
» CS501 Advanced Computer Architecture Assignment # 4 Solution Spring 2013
» CS301 Assignment # 3 Solution Spring 2013
» MGMT628 Assignment # 01 Solution Spring 2013
» CS504 Assignment # 2 Solution Spring 2013
» PSY101 Assignment # 1 Solution Spring 2013
» CS301 Assignment # 3 Solution Spring 2013
» MGMT628 Assignment # 01 Solution Spring 2013
» CS504 Assignment # 2 Solution Spring 2013
» PSY101 Assignment # 1 Solution Spring 2013
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Yesterday at 12:21 pm by ali001
» Hemangiom'App
Tue Nov 05, 2024 11:25 am by ali001
» MindfulMe - Mental Health App
Mon Nov 04, 2024 10:50 am by ali001
» Learn Candlestick Patterns
Tue Oct 15, 2024 5:51 am by ali001
» Woh Pagal Si Episode 52 to 62 - Top Pakistani Drama
Sat Sep 21, 2024 6:26 pm by Mir Emmad Ali Khan Domki
» Nearu - share your socials
Sat Sep 21, 2024 1:12 pm by ali001
» Nightclub Tycoon: Idle Empire
Thu Sep 19, 2024 9:16 pm by ali001
» Carnivore - Meat Diet Recipes
Wed Sep 18, 2024 2:37 pm by ali001
» Eid Milad un Nabi Mubarak 2024 (Rabiʻ I 14, 1446 AH)
Tue Sep 17, 2024 3:44 pm by Mir Emmad Ali Khan Domki