RISC / CISC Architecture By: Ramtin Raji Kermani Ramtin Raji Kermani Rayan Arasteh Rayan Arasteh An Introduction to Professor: Mr. Khayami Mr. Khayami.

Slides:



Advertisements
Similar presentations
Instruction Set Design
Advertisements

Chapter 8: Central Processing Unit
Chapter 3 Instruction Set Architecture Advanced Computer Architecture COE 501.
CS 6461: Computer Architecture Instruction Set Architecture Instructor: Morris Lancaster.
Fall 2012SYSC 5704: Elements of Computer Systems 1 MicroArchitecture Murdocca, Chapter 5 (selected parts) How to read Chapter 5.
Chapter 2 Data Manipulation Dr. Farzana Rahman Assistant Professor Department of Computer Science James Madison University 1 Some sldes are adapted from.
ISA Issues; Performance Considerations. Testing / System Verilog: ECE385.
1 Lecture 3: Instruction Set Architecture ISA types, register usage, memory addressing, endian and alignment, quantitative evaluation.
INSTRUCTION SET ARCHITECTURES
OMSE 510: Computing Foundations 4: The CPU!
INTRODUCTION TO THE ARM PROCESSOR – Microprocessor Asst. Prof. Dr. Choopan Rattanapoka and Asst. Prof. Dr. Suphot Chunwiphat.
Tuan Tran. What is CISC? CISC stands for Complex Instruction Set Computer. CISC are chips that are easy to program and which make efficient use of memory.
Computer Architecture and Data Manipulation Chapter 3.
Chapter XI Reduced Instruction Set Computing (RISC) CS 147 Li-Chuan Fang.
State Machines Timing Computer Bus Computer Performance Instruction Set Architectures RISC / CISC Machines.
RISC. Rational Behind RISC Few of the complex instructions were used –data movement – 45% –ALU ops – 25% –branching – 30% Cheaper memory VLSI technology.
11/11/05ELEC CISC (Complex Instruction Set Computer) Veeraraghavan Ramamurthy ELEC 6200 Computer Architecture and Design Fall 2005.
Unit -II CPU Organization By- Mr. S. S. Hire. CPU organization.
Reduced Instruction Set Computers (RISC) Computer Organization and Architecture.
Processor Organization and Architecture
RISC and CISC. Dec. 2008/Dec. and RISC versus CISC The world of microprocessors and CPUs can be divided into two parts:
Part 1.  Intel x86/Pentium family  32-bit CISC processor  SUN SPARC and UltraSPARC  32- and 64-bit RISC processors  Java  C  C++  Java  Why Java?
Computer Organization and Architecture Reduced Instruction Set Computers (RISC) Chapter 13.
CH13 Reduced Instruction Set Computers {Make hardware Simpler, but quicker} Key features  Large number of general purpose registers  Use of compiler.
Basics and Architectures
Instruction Set Architecture
1 4.2 MARIE This is the MARIE architecture shown graphically.
1/9/02CSE ISA's Instruction Set Architectures Part 1 I/O systemInstr. Set Proc. Compiler Operating System Application Digital Design Circuit Design.
1 Instruction Sets and Beyond Computers, Complexity, and Controversy Brian Blum, Darren Drewry Ben Hocking, Gus Scheidt.
Chapter 4 MARIE: An Introduction to a Simple Computer.
Part 1.  Intel x86/Pentium family  32-bit CISC processor  SUN SPARC and UltraSPARC  32- and 64-bit RISC processors  Java  C  C++  Java  Why Java?
Chapter 5 A Closer Look at Instruction Set Architectures.
Chapter 5 A Closer Look at Instruction Set Architectures.
Ramesh.B ELEC 6200 Computer Architecture & Design Fall /29/20081Computer Architecture & Design.
Chapter 8 CPU and Memory: Design, Implementation, and Enhancement The Architecture of Computer Hardware and Systems Software: An Information Technology.
Instruction Set Architecture The portion of the machine visible to the programmer Issues: Internal storage model Addressing modes Operations Operands Encoding.
1 Computer Architecture Part II-B: CPU Instruction Set.
Ted Pedersen – CS 3011 – Chapter 10 1 A brief history of computer architectures CISC – complex instruction set computing –Intel x86, VAX –Evolved from.
RISC and CISC. What is CISC? CISC is an acronym for Complex Instruction Set Computer and are chips that are easy to program and which make efficient use.
Differences in ISA Instruction length
MIPS Processor Chapter 12 S. Dandamudi To be used with S. Dandamudi, “Introduction to Assembly Language Programming,” Second Edition, Springer,
 Introduction to SUN SPARC  What is CISC?  History: CISC  Advantages of CISC  Disadvantages of CISC  RISC vs CISC  Features of SUN SPARC  Architecture.
M. Mateen Yaqoob The University of Lahore Spring 2014.
ECEG-3202 Computer Architecture and Organization Chapter 7 Reduced Instruction Set Computers.
CS 211: Computer Architecture Lecture 2 Instructor: Morris Lancaster.
COMPUTER ORGANIZATIONS CSNB123 NSMS2013 Ver.1Systems and Networking1.
EECS 322 March 18, 2000 RISC - Reduced Instruction Set Computer Reduced Instruction Set Computer  By reducing the number of instructions that a processor.
RISC / CISC Architecture by Derek Ng. Overview CISC Architecture RISC Architecture  Pipelining RISC vs CISC.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
CISC. What is it?  CISC - Complex Instruction Set Computer  CISC is a design philosophy that:  1) uses microcode instruction sets  2) uses larger.
Addressing modes, memory architecture, interrupt and exception handling, and external I/O. An ISA includes a specification of the set of opcodes (machine.
Topics to be covered Instruction Execution Characteristics
A Closer Look at Instruction Set Architectures
Advanced Topic: Alternative Architectures Chapter 9 Objectives
Architecture Review Instruction Set Architecture
Overview Introduction General Register Organization Stack Organization
A Closer Look at Instruction Set Architectures
An example of multiplying two numbers A = A * B;
CISC (Complex Instruction Set Computer)
Chapter 1 Fundamentals of Computer Design
Computer Architecture
Central Processing Unit
CISC AND RISC SYSTEM Based on instruction set, we broadly classify Computer/microprocessor/microcontroller into CISC and RISC. CISC SYSTEM: COMPLEX INSTRUCTION.
CENTRAL PROCESSING UNIT
A Closer Look at Instruction Set Architectures Chapter 5
Introduction to Microprocessor Programming
Chapter 12 Pipelining and RISC
CPU Structure CPU must:
Lecture 4: Instruction Set Design/Pipelining
Presentation transcript:

RISC / CISC Architecture By: Ramtin Raji Kermani Ramtin Raji Kermani Rayan Arasteh Rayan Arasteh An Introduction to Professor: Mr. Khayami Mr. Khayami Computer Architectures Computer Architectures RISC / CISC Characteristics RISC / CISC Characteristics RISC / CISC Cons & Pros RISC / CISC Cons & Pros Comparing RISC & CISC Comparing RISC & CISC Summery Summery

Computer Architecture covers three aspects of computer design: RISC / CISC Architecture Instruction Set Architecture (ISA) Instruction Set Architecture (ISA) Computer Organization Computer Organization Computer Hardware Computer Hardware

RISC / CISC Architecture Computer OrganizationComputer Organization Includes high level aspects of a design, such as Memory system, Bus Architecture, Design of internal CPU & … Computer HardwareComputer Hardware Refers to the specifics of a machine Included the detailed Logic Design & the packaging technology at the machine. Instruction Set Architecture (ISA) Instruction Set Architecture (ISA) Refers to the actual programming visible machine interface such as instruction set, registers, memory organizations.

Instruction Set Architecture (ISA) What's an Instruction Set ? What's an Instruction Set ? 1.Set of all instructions understood by the CPU 2.Each instruction directly executed in hardware Instruction Set Representation Instruction Set Representation 1.Sequence of bits, typically 1-4 words 2.May be variable length of fixed length 3.Some bits represent the opcode, the others represent the operand.

Instruction Set Architecture : (ISA) Instruction Set Affects CPU Performance - Exec time = Instruction_Count * CPI * Cycle_Time Instruction Set Source Code Compiler Object Code Inst. Exec. Inst. Decode Inst. Fetch Instruction Count CPI & Cycle Time

Classes of Instruction Set Architectures: 1. Stack Based: Implicitly use the top of a stack PUSH X, PUSH Y, ADD, POP Z Z = X + Y 2. Accumulator Based: Implicitly use an Accumulator LOAD X, ADD Y, STORE Z 3. GPR – General purpose Registers Operands are explicit and may be in memory or register LOAD R1, X LOAD R1, X LOAD R2, YOR ADD R1, Y ADD R1, R2, R3 STORE R1, Z STORE R3, Z

Classes of Instruction Set Architectures: Comments: Stack Based: Short, Complex programming, Stack overhead Accumulator: Problem of having different data types GPR: Most commonly used today, larg number of registers, Let compiler Do the job! Two main approaches of ISA Two main approaches of ISA: RISC: Reduced Instruction Set Computer CISC: Complex Instruction Set Computer

Complex Instruction Set Computer. Some instances: IBM 360 (also 370), Mainframes, DEC VAX, Intel x86, Motorola 680x0 IBM 360 (also 370), Mainframes, DEC VAX, Intel x86, Motorola 680x0. Why it developed?. At that time, compiler technology was not powerful enough, So most of the Job was done by Hardware.. At that time, compiler technology was not powerful enough, So most of the Job was done by Hardware.. Memories were small, so high data density was something to notice.. Memories were small, so high data density was something to notice.. Need for more sophisticated instructions to reduce software problems.. Need for more sophisticated instructions to reduce software problems.. Greater variety of instructions would simplify compilers.. Greater variety of instructions would simplify compilers.. Decreasing the gap between the High level languages and Assembly language.. Decreasing the gap between the High level languages and Assembly language.

RISC / CISC Architecture CISC Characteristics:. Several hundred (complex) instructions (highly encoded). Array operation, BCD, Procedure calls, Case statements. Large number of addressing modes (usually 5-20 ways). Many number of data types. Long, complex and slow microprogram. Each instruction takes several clock cycles to execute. Variable size instruction format. Included high level functions of high level languages. High instruction density. Microprogrammed Control Unit. Simplifying compiler programming

RISC / CISC Architecture Reduced Instruction Set Computer. Some instances: SPARC, MIPS, DLX. Why it developed?. Compilers are good; let them do the hard work. Very simple and small instruction set is faster. Instructions are simple enough to be executed directly in HW. Decoding of instructions of the same size is easier. Possibility to have advanced processing options. Pipelining. Parallel Processing

RISC / CISC Architecture RISC Characteristics:. A few instructions. A few addressing modes. Memory access is restricted to LOAD & STROE instructions. All Operation is done in CPU. Fixed length instructions  easy decoding. Each instruction executes in one clock cycle. Hardware control unit, instead of Microprogrammed control. Usually Register-Register operations. High speed execution time. Uses overlapped registers to decrease data transfer time

RISC / CISC Architecture Ctrl Unit Cache Micro Programmed Ctrl Unit Inst. & Data Path Main Mem HW Ctrl Unit Data Cache Instruction Cache Data Path Inst Data Main Memory CISC Architecture with UCtrl Unit & Unified Cache RISC with Hardwired Ctrl Unit And Split Cache

RISC / CISC Architecture Thanks for your attention … Ramtin Raji Kermani Rayan Arasteh Winter 2005