CSC167 ยท 2075 ยท 10 marks
Draw block diagram of 80286 and explain its functional units.
Draw block diagram of 80286 and explain its functional units.[10]
Quick answer
The Intel 80286 is a 16-bit microprocessor that is an enhanced version of the 8086. It operates at higher speeds and supports protected mode operation with memory management and protection features. The 80286 is internally divided into four independent functional units that operate in a pipelined fashion to improve overall performance.
Block Diagram of 80286 and Its Functional Units
Introduction
Block Diagram of 80286
+------------------+ +----------------------+
| ADDRESS UNIT | | BUS UNIT (BU) |
| (AU) | | |
| - Segment Regs |<------>| - Address Drivers |
| - Adder | | - Prefetch Queue |
| - Descriptor | | (6-byte) |
| Registers | | - Bus Control Logic |
| - Limit Checker | | |
+--------+---------+ +----------+-----------+
| |
| INTERNAL BUS |
+--------+---------+ +----------+-----------+
| INSTRUCTION UNIT | | EXECUTION UNIT (EU) |
| (IU) | | |
| - Instruction |<------>| - ALU |
| Prefetch Queue | | - Register File |
| - Instruction | | - Barrel Shifter |
| Decoder | | - Multiply/Divide |
| - Decoded Queue | | - Control Logic |
+------------------+ +----------------------+
| |
+----------+-----------------+
|
INTERNAL CONTROL BUS
|
+--------------+--------------+
| |
EXTERNAL ADDRESS BUS (24-bit) EXTERNAL DATA BUS (16-bit)
Functional Units of 80286
The 80286 is divided into four major functional units:
1. Bus Unit (BU)
The Bus Unit is responsible for all external bus operations. It acts as the interface between the processor and the external memory or I/O devices.
Functions:
- Fetches instruction bytes from external memory and places them into the 6-byte prefetch queue
- Manages the 24-bit external address bus and 16-bit external data bus
- Controls bus timing, bus cycles, and bus arbitration
- Performs read and write operations to memory and I/O ports
- Contains address drivers and bus control logic
The BU operates independently, so while the Execution Unit is processing one instruction, the BU can simultaneously fetch the next instruction (pipelining).
2. Instruction Unit (IU)
The Instruction Unit is responsible for decoding instructions fetched by the Bus Unit.
Functions:
- Receives raw instruction bytes from the BU's prefetch queue
- Decodes the instructions into a form that the Execution Unit can process
- Maintains a decoded instruction queue (holds up to 3 decoded instructions)
- Uses a predecode stage to identify instruction boundaries and lengths
- Feeds decoded instructions to the Execution Unit in order
The IU works ahead of the EU, so the EU rarely has to wait for instruction decoding, improving throughput.
3. Execution Unit (EU)
The Execution Unit is responsible for actually executing the decoded instructions.
Functions:
- Contains the 16-bit ALU (Arithmetic and Logic Unit) for arithmetic and logical operations
- Contains the Register File (AX, BX, CX, DX, SP, BP, SI, DI, IP, FLAGS)
- Contains a Barrel Shifter for fast shift and rotate operations
- Contains Multiply/Divide hardware for multiplication and division operations
- Receives decoded instructions from the IU and executes them
- Sends memory addresses to the Address Unit when memory access is needed
- Manages the control logic for instruction execution flow
4. Address Unit (AU)
The Address Unit is responsible for memory address calculation and memory protection in both real mode and protected mode.
Functions:
- Contains Segment Registers and Descriptor Registers for memory segmentation
- Performs address calculation using a dedicated adder (segment base + offset)
- Checks limit and attribute of memory segments using the Limit Checker and Attribute PLA (Programmable Logic Array)
- Enforces memory protection in protected mode by verifying access rights
- Generates the final 24-bit physical address sent to the Bus Unit
- Supports a descriptor cache to hold recently used segment descriptors for fast access
The AU is the key unit that enables the 80286's protected mode, allowing it to address up to 16 MB of physical memory and 1 GB of virtual memory.
Summary Table
| Unit | Main Role | Key Components |
|---|---|---|
| Bus Unit (BU) | External bus interface, instruction fetch | Prefetch queue, address drivers, bus control |
| Instruction Unit (IU) | Instruction decoding | Decoder, decoded instruction queue |
| Execution Unit (EU) | Instruction execution | ALU, register file, barrel shifter, multiply/divide |
| Address Unit (AU) | Address generation and memory protection | Segment regs, adder, limit checker, descriptor cache |
Conclusion
The 80286 achieves high performance through pipelining of its four functional units. While the EU executes one instruction, the IU decodes the next, and the BU fetches the one after that, all simultaneously. The AU provides the memory management and protection features that distinguish the 80286 from its predecessor, the 8086.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.