1. Abstract logic diagram of CPU implementation

2. Establish data path: Instruction + operation =CPU

1. What is a directive

  1. How does the code we write turn into instructions that a machine can understand, and in what order

2. What is calculation

  1. What is the binary representation of the data, and what circuits do we use to add and multiply

3. What is an instruction cycle

  1. The non-stop Fetch – Decode – Execut loop is an instruction cycle
  2. There are several steps
      1. Fetch (Fetch instruction)
      1. Decode (command compilation)
      1. Execut (execute instructions)

4. What is machine cycle

5. What is a clock cycle

6. The relationship between the three

  1. For example
    1. Instruction cycle
      1. CPU cycles 1
        1. Clock cycle 1
        2. Clock cycle 2
      2. CPU cycles 2
      3. CPU cycles 3
  2. An instruction cycle contains multiple CPU cycles, and a CPU cycle contains multiple clock cycles

7. What do you mean by establishing a data path

  1. It consists of two parts
    1. Operating elements
    2. Storage element

8. Hardware circuit required by CPU

  1. A combinatorial logic circuit such as the ALU
  2. Latches and D – trigger circuits for storing data
    1. Storage function is realized through D trigger
  3. Use case to realize the COUNTER circuit of PC register
    1. PC register, also known as program counter
  4. Decoder circuits for use case decoding and addressing
    1. The decoder needed to read and write data
      1. 2-1 selector
      2. 3-8 decoder
      3. The nature of the decoder
        1. From the input of multiple bits of the signal, according to a certain combination of switches and circuits, select the desired signal

3. Aggregate brain maps