English
Language : 

ATMEGA48_11 Datasheet, PDF (9/377 Pages) ATMEL Corporation – High performance, low power Atmel AVR 8-bit microcontroller Advanced RISC architecture
ATmega48/88/168
7. AVR CPU core
7.1 Overview
This section discusses the AVR core architecture in general. The main function of the CPU core
is to ensure correct program execution. The CPU must therefore be able to access memories,
perform calculations, control peripherals, and handle interrupts.
7.2 Architectural overview
Figure 7-1. Block diagram of the AVR architecture.
Data bus 8-bit
Flash
program
memory
Instruction
register
Instruction
decoder
Control lines
Program
counter
Status
and control
32 x 8
general
purpose
registrers
ALU
Interrupt
unit
SPI
unit
Watchdog
timer
Analog
comparator
Data
SRAM
EEPROM
I/O module 1
I/O module 2
I/O module n
I/O lines
2545T–AVR–05/11
In order to maximize performance and parallelism, the AVR uses a Harvard architecture – with
separate memories and buses for program and data. Instructions in the program memory are
executed with a single level pipelining. While one instruction is being executed, the next instruc-
tion is pre-fetched from the program memory. This concept enables instructions to be executed
in every clock cycle. The program memory is In-System Reprogrammable Flash memory.
9