CS 61C (Fall 2007)

Quiz 24

Two questions, submit as "quiz24".  Due 7:45pm 10/24/2007.


1.

The single cycle datapath described in P&H 5.1 must have separate instruction and data memories because (choose one):
  1. the format of data is different from the format of instructions in MIPS.
  2. having separate memories is less expensive.
  3. the processor operates, in one cycle, one both a word of data and an instruction, meaning it cannot use a single ported (one set of read/write wires) memory.
Please explain your answer very briefly.


2.

True or False: Because the register file is both written and read on each clock cycle (for arithmetic instructions) any MIPS datapath using edge-triggered flip-flops, also known as registers in lecture, must have more than one copy of the register file.  Please explain your answer very briefly.