Posted by : Anonymous Saturday, 18 May 2013

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 design.

he 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.
i

Leave a Reply

Subscribe to Posts | Subscribe to Comments

- Copyright © virtual university of pakistan - Skyblue - Powered by Blogger - Designed by Johanes Djogan -