You are on page 1of 5

Design Example

General-Purpose Processors

1
Basic Architecture
Processor
Control unit Datapath

ALU
Controller Control
/Status

Registers

PC IR

I/O
Memory

2
Specifications Resulting Architecture

8-bit Processor

8 internal registers

32K word Memory

8K word Program Memory

Instructions set size = 256

Instruction format:
opcode register register
opcode register memory

3
Specifications Resulting Architecture
8-bit Processor Register size = , ALU size =
All data sizes in memory =
word size =

16 internal registers Register address size =

32K word Memory, i.e. 32KB Memory Address size =

4K word Program Memory, i.e. 4KB Program Counter =

Instructions set size = 256 Opcode size =

Instruction format:
opcode register register IR Size =
opcode register memory

Program Size = Total instructions =

4
Specifications Resulting Architecture
8-bit Processor Register size = 8 bits, ALU size = 8-bit
All data sizes in memory = 8-bit, i.e. word
size = 8-bit

16 internal registers Register address size = 4-bits

32K word Memory, i.e. 32KB 25+210  Address size =15-bits

4K word Program Memory, i.e. 4KB 22+210  Program Counter = 12-bit

Instructions set size = 256 Opcode size = 8-bit

Instruction format:
opcode register register 8 + 4 + 4 = 16
opcode register memory 8 + 4 + 15 = 27  store in 4 Bytes, i.e. 32-
bits
IR Size = 32bits
Program Size = Total instructions = 4KB / 4B (size of 1 instruction) = 1K instructions
5

You might also like