Computer Achitechture

posted by .

Scenario: You have been asked to design a new simple CPU for the purpose of controlling home appliances. The CPU will only be used for simple math calculations and will mainly be time sequencing and handling of I/O points for controlling the machines.
You have decided that a 16 bit machine is plenty of calculating power and that you will work with at least the following registers: AC = Accumulator, R = General purpose register.
You have also decided that the Instruction Set need not be very complicated since the code that will run on this CPU will be small in size and need not do complicated calculations. Therefore the ISA will be as follows: ADD = add the AC and R, SUB = subtract R from AC, AND = bit wise and of the AC and R, OR = bit wise or of the AC and R, JMP = absolute jump to a memory location, LDAC = load AC from memory address, STAC = store AC to memory address.

Work out the following, based upon the above scenario.

1. (5 points)Show the bit layout for the instructions in the instruction machine language as it would exist when an instruction is fetched. Include opcodes.
2. (15 points)Draw the state machine diagram for the CPU. Include state bit assignments and opcodes.
3. (8 points)Show the mapping logic from opcodes to the state machine so that the decoder can reach the correct state for each instruction to be executed. Include k-maps if needed.
4. (7 points)Specify the entire register set needed.
5. (7 points)Show the RTL for the CPU, list per instruction.
6. (8 points)Show a hardwired control unit for this CPU.
7. (7 points)You now want to compare the hardwired unit with a microcoded sequencer and control logic. Show the microcode table for the CPU in your choice of horizontal, vertical, or direct microcode.
8. (5 points)What instructions and registers would need to be added to handle subroutines?
9. (5 points)How would the state machine diagram change to be able to handle interrupts into the CPU? (Show a simple diagram of only changed states)

  • Computer Achitechture -

    What is your question?

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. computer science

    Hi, I need to design a state machine for a simple CPU. The cpu has a word size of 4 bits, 4 registers, and 2 register ports (A and B) which go to a ‘181 ALU. Our data-input device consists of two DIP switches, which go to the data-in …
  2. math,algebra

    What are some of the challenges one might experienced using matrix operations?
  3. Intro. to Comp.

    Can you help with this? A ________ is an integral part of the computer hardware, which connects the processor to the hardware. hard drive, CPU, motherboard, or byte. Isn't the correct answer motherboard?
  4. Comp. question

    I asked this question today needing input. Some thought I was right. Just needing someone else to give their advice. A __________ is an integral part of the computer hardware,which connects the processor to the hardware. 1 hard drive …
  5. Computer Information Systems

    Write 200-350 word paper that describes the distinctions of data and information and briefly explains the process a computer uses to convert data into information. I have gotten to a certain point and I am stuck. I am not sure if anyone …
  6. Info. Tech (Computer Science)

    1.)(a) CPU 1 has speed of 2.6 GH (steps per second) and runs a program which needs 10.9 T steps. (b) CPU 2 has speed of 2.2 GH and runs program which needs 7.3 T steps. ---How long does it take for CPU 1 and CPU 2 to finish the work?
  7. computers

    What ideas can you propose for the future of processor design?
  8. stat

    The life (in hours) of a computer processing unit (CPU) is modeled as a weibull random variable with β=3 and α=901 hours. What is the probability that the CPU fails before 458 hours?
  9. algebra

    A computer repair shop has estimated the probability that a computer sent to the shop has a bad modem is 1/8, the probability that the computer has a bad CPU is 1/5, and the probability that it has a bad drive is 1/3. If we assume …
  10. Computer Architecture

    A Silicon Valley company is looking to increase the performance of its workstations. Analysis of the applications that its customers are using has shown that the average response time breaks down into three main categories: CPU time, …

More Similar Questions