其他分享
首页 > 其他分享> > 计算机组成原理 Principles of Computer Composition

计算机组成原理 Principles of Computer Composition

作者:互联网

Overview

This course is really hard-core and difficult. We mainly learned about:

一、von Neumann Computer Architecture

Modern computers are designed according to the von Neumann architecture.

See in Introduction to Computer.

二、Arithmetic Unit

The main function of computer is computation. And that's what the arithmetic unit is for.

Arithmetic Unit consists of ALU(Arithmetic Logic Unit), registers, buffers, etc.

There are three types of organizations for the unit:

1) Single-Bus Organization

Only one operand can be on the bus at the same time.

The calculation speed is slow, but the control circuit is simple.

2) Double-Bus Organization

Two operands can enter the ALU at the same time.

3) Triple-Bus Organization

Two inpu of the ALU are respectively connected to a bus, and the output of the ALU is connected to the third bus.

alu

三、Memory Hierarchy

1. Hierarchy

The memory hierarchy of modern computers has 4 layers:

images-eetimes-2017-01-1331205-besang01

2. Cache

We use cache to solve the problem of speed mismatch between CPU and Main Memory.

The computing speed of the CPU is too fast, and the main memory cannot keep up with it.

To solve this problem, we can place a high-speed memory between them to store buffered data in advance.

what-is-cache-memory-1564659498729

The process of CPU reading a word from main memory:

st=>start: start reading
op1=>operation: transfer word from cache to CPU
op2=>operation: transfer word from main memory to CPU
op3=>operation: sends entire data block containing word to cache
cond=>condition: is in cache
e=>end: finished

st->cond
cond(yes)->op1->e
cond(no)->op2->op3->e


四、CPU

CPU is the core component of the computer.

It consists of composed of arithmetic unit and controller

1. Datapath of CPU Model

cpu

2. Controller

We learned about the microprogram controller.

We split a machine instruction into several micro instructions.

Each micro instruction contains multiple micro-operations, such as flipping the enable signal of ALU.

The task of the microprogram controller is to read different microinstructions according to the machine instructions and perform corresponding operations.

mc

五、Curriculum Design

We were asked to use Proteus to implement a simple CPU.
We need to design the clock signal generator, microprogram controller, arithmetic unit, etc.

This simple CPU can implement 8 kinds of instructions, such as arithmetic operations and storage, access, conditional transfer, etc.

Datapath of the CPU:

tec5

标签:Bus,Principles,Composition,Computer,memory,ALU,speed,CPU,Arithmetic
来源: https://www.cnblogs.com/danielwong2021/p/15271296.html