In: Computer Science
RTL is a simple, human-oriented language that specifies the operation, registration, and communication of steps to take place within the CPU to carry out higher-level instructions. It is a type of intermediate representation (IR) that is very close to the assembly language, such as used in a compiler.
RTL Operations:
Operation Category | Syntactic Notation |
Transfer of data between registers multiple target registers are loaded in parallel | RegA
RegB [,RegC]... Reg field RegB [,RegC]... |
Load a register with certain, common constants (e.g., 0, 1, 2, 4). Only certain registers may have this operation. Typically X and Y. All registers may have a 0Rn operation, however. | 4 X |
Memory operations. Implicitly use MAR and MDR | Read Write Wait |
ALU operations. These operations only apply to X and Y registers and place the result in Z | Add Sub etc. |
The main job of the CPU is to execute programs using fetal-decode-execute cycles. It is also known as the instruction cycle.