CS501 Assignment No. 03 Solution Spring 2013 Due Date: 17-05-13

No Comments

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. 1.        Working of Bit Counter (definition will not acceptable)
  2. 2.        Identify first then define operation. (definition will not   acceptable)
  3. 3.        Explain the working of Program Counter (PC). (definition   will not acceptable)
  4. 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

Next PostNewer Post Previous PostOlder Post Home

0 comments

Post a Comment