Post

CPU

βœ… CPU component

Screenshot 2024-07-23 at 10 36 12

πŸ“ ALU, CU, MU

ALU (Arithmetic Logic Unit)

μ—°μ‚°, AND, OR, and NOT

CU (Control Unit)

  • manages and coordinates the operations of the CPU
  • directing the operation of the other components within the CPU to execute the instructions of a program
  • CU & ALU μ—°μ‚°μ˜ μˆœμ„œ μ‘°μ •
  • decodes order, sends the order to according units(memory unit, ALU, Input/Output devices)

MU (Memory Unit), Register

small set of data holding place for fast data processing by CPU

  • 고속 κΈ°μ–΅μž₯치
  • μ—°μ‚°ν•˜λ‹€κ°€ μž‘μ€ κ°’λ“€ μ €μž₯해두기

  • Types of Registers
    • Accumulator: register for storing arismetic data
    • MAR: Memory Address Registers
      • holds address of location to be accessed from memory
      • MAR and MDR facilitate communication between CPU ↔️ memory
    • MDR: Memory Data Registers
      • save data to be written into or to be read out from addressed location
    • PC: Program Counter
      • contain memory of next instrucion to be fetched
    • IR: Instruction Register
      • holds instruction that is just about to be executed

βž• CPU clock frequency

  • CPU의 λ™μž‘ 속도
  • ALU, CU, MUκ°€ 유기적으둜 λ™μž‘ν•˜λŠ” 것을 1사이클이라고 쳀을 λ•Œ
    1Hz(1μ΄ˆμ— ν•œ 사이클) = 1cycle/s
    ν—€λ₯΄μΈ κ°€ λ†’μœΌλ©΄ λ†’μ„μˆ˜λ‘ 1μ΄ˆμ•ˆμ— μ—¬λŸ¬λ²ˆ λˆλ‹€λŠ” κ²ƒμ΄λ‹ˆ μ„±λŠ₯이 더 쒋은 것이닀.

βž• CPU multi-core

  • CPUμ•ˆμ— μ—¬λŸ¬ 개의 μ½”μ–΄κ°€ μžˆλ‹€.
  • CPU μ½”μ–΄: ALU, CU
  • CPU μ½”μ–΄κ°€ λ§Žμ„μˆ˜λ‘, 멀티코어일 수둝 μ„±λŠ₯이 μ’‹λ‹€.

πŸ’‘ Reference

https://www.geeksforgeeks.org/different-classes-of-cpu-registers/?ref=header_search

This post is licensed under CC BY 4.0 by the author.