1 / 19

Processor Organization and Architecture

Learn about Microinstruction Encoding, Nano-programming, Control Memory levels, advantages, disadvantages, and compare CISC and RISC architectures in processor organization.

carolyni
Download Presentation

Processor Organization and Architecture

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Processor Organization and Architecture Module III

  2. Microinstruction Execution

  3. Microinstruction Encoding • Microinstruction Encoding are of two types • Vertical • Horizontal

  4. Nano-programming • In this method, microinstructions does not generate control signals directly but uses a second control memory called Nano Control Memory (NCM) • There are two levels of control memory: • higher level Micro Control Memory & • lower level NCM that stores nano-instructions

  5. Nano-programming • Suppose there are n = 2048 micro-ops each of 41 bits wide, • The memory required for single control ROM is 2048 x 41 =83,968 bits

  6. Nano-programming • Suppose there are 100 unique control words in ROM. • These 100 words can be uniquely saved in nano control ROM saving space as shown:

  7. Nano-programming • Advantage: • Reduces total size of required control memory • Greater design flexibility • Disadvantage: • Less speed due to two level memory

  8. Classification based on instruction sets • Complex Instruction Set Computers • Reduced Instruction Set Computers

  9. Complex Instruction Set Computers • CISC processor mostly uses a unified cache for both data and instructions and shares the same path • They mostly use microprogrammed CU and hence control memory is required and it slows down the execution

  10. CISC Architecture

  11. CISC Characteristics • It tries to simplify the compilation and improve the overall computer performance. • CISC architecture attempt to provide a single machine instruction for every statement in a high-level language. • It incorporates variable-length instruction formats. • Packing variable instruction formats in memory requires special decoding circuits.

  12. CISC Characteristics • Instructions manipulate operands in memory • Uses a variety of addressing modes—from 5 to 20 • Uses a large number of instructions—from 100 to 250 • Includes specialized instructions which are used infrequently • Examples :Motorola 68000 family, Intel x86 CPUs-Pentium

  13. Reduced Instruction Set Computers • It uses separate instruction and data caches and their access paths are different • It uses hardwired control unit and hence faster execution.

  14. RISC Architecture

  15. RISC Characteristics • Uses a small set of instructions with register-to-register operations and simple load and store operations for memory. • Uses only a few addressing modes • Follows a simple instruction format • instruction length is fixed and aligned on word boundaries. • Instructions are easy to decode. • Hardwired control makes faster execution

  16. RISC Characteristics • Execute one instruction per clock cycle • Includes pipelining • Load or store may require two clock cycles. • Uses a large number of registers • overlapped register windows speed-up procedure call and return. • Thus register-to-memory operations is minimized • Examples : SPARC, Alpha,...

  17. RISC vs CISC RISC CISC Contains complex instructions taking more than one clock cycle Most of the instructions may refer memory Micro-programmed Control Unit Variable Format Instructions • Contains simple instructions of one clock cycle • Very few instructions refer to memory • Hardwired Control Unit • Fixed Format Instructions

  18. RISC vs CISC RISC CISC Many Instructions Many Addressing Modes Few Registers Complexity is in microprogram Slower clock rates Minimize the number of instructions per program sacrificing the number of cycles per instruction. • Few Instructions • Few Addressing Modes • Many Registers • Complexity is in compiler • Faster clock rates • Reduces the cycles per instruction at the cost of the number of instructions per program.

More Related