Clock generation and reset in the 8086
Clock pulse generation and reset mechanisms are crucial for the correct operation of the Intel 8086 microprocessor. The clock signal synchronises the internal operations of the processor, and the reset signal puts the processor into a known state. Below is a detailed description of clock generation and reset for the 8086:
Clock pulse generation
The 8086 requires an external clock signal to operate. This clock signal is generated by an external clock generator and supplied to the 8086.
Clock signal characteristics
Frequency: the 8086 operates at a clock frequency of 5 MHz (standard version). Later versions such as the 8086-2 and 8086-1 operate at 8 MHz and 10 MHz respectively.
Duty cycle: the clock signal must have a 50% duty cycle (equal high and low times) for optimal operation.
Voltage levels: the clock signal must meet TTL (transistor-transistor logic) voltage levels: high (logic 1) from +2.4 V to +5 V; low (logic 0) from 0 V to +0.8 V.
Clock generator circuit
The clock signal is usually generated by a crystal oscillator or an external clock generator (for example, the 8284A clock generator).
The 8284A is commonly used with the 8086 to generate the clock signal and to provide synchronisation for the other components of the system.
Connection to the 8086
The clock signal is connected to the CLK (clock) input pin of the 8086.
The 8086 processor internally divides the clock signal to generate internal synchronisation signals.
Reset mechanism
The reset signal initialises the 8086 into a known state, ensuring that the processor starts execution from a defined memory cell.
Reset signal characteristics
Active high: the reset signal is active high, that is, the processor is reset when the signal is at a logic high level.
Minimum pulse width: the reset signal must stay high for at least 4 clock cycles to ensure a proper reset.
Voltage levels: the reset signal must meet TTL voltage levels.
Reset circuit
The reset signal is usually generated by an external circuit such as a power-on reset circuit or a manual reset button.
A simple RC network (resistor-capacitor) or a dedicated reset IC can be used to generate the reset signal.
Effect of reset on the 8086
When the reset signal is applied, the registers are initialised: CS (code segment) is set to FFFFh; IP (instruction pointer) is set to 0000h; the flags are cleared (all flags are set to 0). Other registers (such as AX, BX, CX, DX) are undefined and must be initialised by the program.
Execution starts from a fixed address. The 8086 starts execution from the physical address: Physical address = (CS << 4) + IP = FFFF0h + 0000h = FFFF0h. This address usually contains a jump instruction to the start of the BIOS or the operating system.
Bus signals are tri-stated: during reset the 8086 puts the address, data and control buses into a high-impedance (tri-state) condition to avoid conflicts with other devices.
Example clock generator and reset circuit
Below is an example of a clock generator and reset circuit for the 8086:
Clock generator
Use the 8284A clock generator IC to generate the clock signal.
Connect a quartz crystal (for example, 15 MHz) to the 8284A.
The 8284A divides the crystal frequency by 3 to generate a 5 MHz clock signal for the 8086.
Reset circuit (RC network)
An RC network with the following components is used to generate the reset signal:
Resistor (R) = 10 kOhm; Capacitor (C) = 10 uF; Diode (D) = 1N4148 (for fast discharge).
Principle of operation: when power is applied, the capacitor starts charging through the resistor. The voltage at the RESET pin gradually increases. The diode provides fast discharge of the capacitor when the power is turned off.
Synchronisation recommendations
Clock signal stability: make sure that the clock signal is stable and free of noise to avoid unstable operation.
Reset signal synchronisation: the reset signal must stay high for at least 4 clock cycles to ensure a proper restart.
Power-on reset: use a power-on reset circuit to ensure a proper restart of the 8086 when power is applied.
Summary of the clock and reset signals
| Component | Description |
|---|---|
| Clock signal | Generated externally (for example, by the 8284A). Frequency: 5 MHz (standard). |
| Reset signal | Active high, minimum pulse width: 4 clock cycles. |
| Reset effect | Initialises CS to FFFFh, IP to 0000h and clears the flags. Execution starts at FFFF0h. |
| Circuit | Uses the 8284A for clock generation and an RC network or a reset IC. |
Conclusion
The 8086 microprocessor requires a clock generator and a reset mechanism for correct operation. The clock signal synchronises the internal operations, and the reset signal ensures that the processor starts from a known state. By designing a stable clock generator and reset circuit, you can ensure reliable operation of the 8086 in your system.