Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position


Join the forum, it's quick and easy

Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position
Virtual Position Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

CS501 Assignment # 03 Solution Spring 2013

View previous topic View next topic Go down

GMT + 8 Hours CS501 Assignment # 03 Solution Spring 2013

Post by Victoria333 Sat May 18, 2013 7:04 am

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
Victoria333
Victoria333
Monstars
Monstars

Scorpio Snake
Posts : 267
Join date : 2013-05-12
Age : 35
Location : Victoria
Woot

Back to top Go down

GMT + 8 Hours Re: CS501 Assignment # 03 Solution Spring 2013

Post by Victoria333 Sat May 18, 2013 7:04 am

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
Victoria333
Victoria333
Monstars
Monstars

Scorpio Snake
Posts : 267
Join date : 2013-05-12
Age : 35
Location : Victoria
Woot

Back to top Go down

GMT + 8 Hours Re: CS501 Assignment # 03 Solution Spring 2013

Post by Victoria333 Sat May 18, 2013 7:05 am

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
Victoria333
Victoria333
Monstars
Monstars

Scorpio Snake
Posts : 267
Join date : 2013-05-12
Age : 35
Location : Victoria
Woot

Back to top Go down

GMT + 8 Hours Re: CS501 Assignment # 03 Solution Spring 2013

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum