Single- and Multi-Cycle Implementations
Tom Kelliher, CS 240
Mar. 26, 2004
Single-cycle implementation.
- Adding an instruction.
- Disadvantages of the single-cycle implementation.
More on multi-cycle implementation.
How do we go about adding support for the jump instruction? What changes
do we make to:

Assume the following:
- Memory read/write: 2 ns.
- ALU and adders: 2 ns.
- Register file read/write: 1 ns.
- All other delays are zero (not practical).
How much time is required for each instruction? (Emphasize notion of
longest path.)
Further assume two implementations:
- Fixed clock rate.
- Variable clock rate, on a per-instruction basis.
Given an instruction mix: 24% loads, 12% stores, 44% R-format, 18%
branches, 2% jumps, calculate the speedup of the variable clock rate
machine.
Suppose we need to add a 15 ns. instruction that is used 5% (changing
R-format percentage to 39%)?
- A single cycle machine cannot take advantage of differences in
instruction execution times.
- In reality, we can't adjust the clock frequency dynamically.
- What can we do?
Thomas P. Kelliher
Wed Mar 24 17:29:57 EST 2004
Tom Kelliher