beautypg.com

Atmega161(l) – Rainbow Electronics ATmega161L User Manual

Page 18

background image

18

ATmega161(L)

1228C–AVR–08/02

Figure 21. The Parallel Instruction Fetches and Instruction Executions

Figure 22 shows the internal timing concept for the Register File. In a single clock cycle
an ALU operation using two register operands is executed and the result is stored back
to the destination register.

Figure 22. Single Cycle ALU Operation

The internal data SRAM access is performed in two System Clock cycles as described
in Figure 23.

Figure 23. On-chip Data SRAM Access Cycles

System Clock Ø

1st Instruction Fetch

1st Instruction Execute

2nd Instruction Fetch

2nd Instruction Execute

3rd Instruction Fetch

3rd Instruction Execute

4th Instruction Fetch

T1

T2

T3

T4

System Clock Ø

Total Execution Time

Register Operands Fetch

ALU Operation Execute

Result Write Back

T1

T2

T3

T4

System Clock Ø

WR

RD

Data

Data

Address

Address

T1

T2

T3

T4

Prev. Address

Read

Write