Architecture

Program Counter (PC)

  • Holds the address of the next instruction to be executed.
  • Typically has the same width as the register block.

Register File

  • Temporary storage for frequently used data.
  • For example, a 64-bit register means that one register block is 64 bits wide.
  • The number of register blocks varies depending on the architecture (e.g., RISC-V has 32 registers).

Arithmetic & Logic Unit (ALU)

  • Performs arithmetic & logical operations.
  • Fetches data from the registers, performs the required operations, and stores the result back in the registers.

Control Logic

  • Manages instruction fetch, decoding, and execution.