COMP 212 - Lab 01: CPU Clock


Introduction:


The preliminary design for a system clock in the 16 bit CPU we are building, will allow for 4 clock cycles for primary operation, plus 4 'processing' cycles for the ALU. The intent of using 8 cycles is to make it easy to implement various ALU operations in the time alloted. Efficiency isn't the primary focus of the design. (yet)


    1. There will be two designs for building the sytem clock:

      1. use 7 buffers to delay a single clock signal (recommended for simplicity)

      2. use a 3 bit counter and a Decoder or MUX to "direct" a clock signal to 8 different outputs

    1. The clock will require some method of starting & stopping the system. This will be implemented as a 'run' FlipFlop that can accept 2 inputs: “ON” and “HALT”


Clock Cycle Design 1



Clock Cycle Design 2




Run FlipFlop



Download