0% found this document useful (0 votes)
35 views

03a General Purpose Processor - Example

This document describes the design of a general-purpose 8-bit processor. It specifies characteristics like 8 internal registers of 8 bits each, 32KB of memory, 4KB of program memory, and a 256 instruction set. Based on these specifications, the resulting architecture includes 8-bit registers and an ALU, a 15-bit memory address size, a 12-bit program counter, and 8-bit opcodes. Instructions are either 16 or 32 bits depending on the format.

Uploaded by

Wafa Hoor
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

03a General Purpose Processor - Example

This document describes the design of a general-purpose 8-bit processor. It specifies characteristics like 8 internal registers of 8 bits each, 32KB of memory, 4KB of program memory, and a 256 instruction set. Based on these specifications, the resulting architecture includes 8-bit registers and an ALU, a 15-bit memory address size, a 12-bit program counter, and 8-bit opcodes. Instructions are either 16 or 32 bits depending on the format.

Uploaded by

Wafa Hoor
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 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