Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Single-cycle processor » ?

Definition 11.1 University Computer Science — Year 2 · Chapitre 11 — The Processor: Datapath, Control and Pipelining

A single-cycle processor executes each instruction completely in one clock cycle: in that cycle the instruction is fetched, its registers read, the ALU used, memory accessed and the result written back, and the next clock edge stores the new program counter and the result.

The single-cycle datapath of datapath.py. Data flows left to right; the write-back and the next PC return to the left. The three multiplexers choose the ALU’s second input (register or immediate), the value written back (ALU result or loaded word) and the next PC (pc + 4 or the branch target). The control signals, in colour, come from the control unit; a comparator beside the ALU (not drawn) decides taken.
The single-cycle datapath of datapath.py. Data flows left to right; the write-back and the next PC return to the left. The three multiplexers choose the ALU’s second input (register or immediate), the value written back (ALU result or loaded word) and the next PC (pc+4\mathit{pc} + 4 or the branch target). The control signals, in colour, come from the control unit; a comparator beside the ALU (not drawn) decides taken.
Lire dans le chapitre →