- 노션 정리 노트 - 전공 서적 정리한 내용
컴퓨터는 CPU, Main Memory, Secondary Storage, I/O가 핵심 부품이다. 먼저 구조는 다음과 같다.
- 먼저 Main Memory는 현재 실행되는 프로그램의 명렁어와 데이터를 저장한다. 프로그램이 실행되기 위해서는 Main Memory안에 저장되어 있어야 함을 의미한다. 메모리 안의 주소를 통해 접근하게 된다.
- CPU는 ALU, Register, Control Unit으로 구성되어 있다. CPU에 대해 간략히 보자면,
- ALU: 계산을 담당한다.
- Register: CPU안의 작고 빠른 저장장치이다. 여러 Register가 존재하고 이를 Register file이라고 한다. 필요한 값들을 저장하는데 사용된다.
- Control Unit: 메모리 읽기, 메모리 쓰기 제어 신호를 담당한다.
- 이러한 과정은 제어 장치를 통해서 읽고 싶은 메모리에 신호를 보내고 메모리에서 정보를 주면 register에 저장하거나 ALU를 통해 계산되어 register에 저장된다.
그 외에도 보조기억 장치가 있는데 이는 우리가 흔하게 알고 있는 Hard Disk, SSD, USB와 같은 컴퓨터의 종료 여부와 상관없이 데이터를 가지고 있는 장치들을 의미한다.
I/O는 입출력 장치를 의미하며, 키보드 마우스, 모니터 등이 이에 해당한다.
지금까지의 모든 컴퓨터의 구성 요소들을 연결하는 것을 Bus라고 하며, 4가지 핵심 부품을 연결하는 것을 System Bus라고 한다. System Bus는 address, data, control bus로 구성되어 있으며 메모리 읽기, 쓰기에는 control bus, 메모리에서 주소를 읽을 때에는 address bus, data bus로 CPU가 요청한 주소의 내용을 보여준다.
'CSEE Study > Computer Architecture' 카테고리의 다른 글
2. Instructions Language of the Computer (1) | 2023.03.02 |
---|