timing diagrams - strawberry - homestrawberrydevelopers.weebly.com/.../timing_diagram.pdftiming...

23

Upload: doandat

Post on 17-May-2018

224 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,
Page 2: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

TIMING DIAGRAMS

Richa Upadhyay Prabhu

NMIMS’s MPSTME

[email protected]

January 19, 2016

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 1 / 21

Page 3: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

MACHINE CYCLE or BUS CYCLE or INSTRUCTIONCYCLE

Definition: one discrete information transfer on busAlso defined as time taken by processor to execute an instruction

Typically, all processor utilizes the following 5 stage cycles:

Fetch instruction from main memory

Decode the instruction

Fetch data from main memory

Execute Instruction

Store result

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 2 / 21

Page 4: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

MACHINE CYCLE or BUS CYCLE or INSTRUCTIONCYCLE

All these operations are performed w.r.t. CLOCK

Microprocessor performs an operation in a specific time period i.e.specific clock cycles known as T-state

T-state is time period of a single cycle of the clock frequency

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 3 / 21

Page 5: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

MACHINE CYCLE

No. of T-state required to access a peripheral is called MACHINECYCLE

Access a peripheral means to perform a read or a write operationeither from memory or an I/O In 8086 Memory read or memory writerequire 4 T-states.

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 4 / 21

Page 6: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 5 / 21

Page 7: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 6 / 21

Page 8: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 7 / 21

Page 9: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 8 / 21

Page 10: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 9 / 21

Page 11: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 10 / 21

Page 12: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 11 / 21

Page 13: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 12 / 21

Page 14: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 13 / 21

Page 15: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 14 / 21

Page 16: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 15 / 21

Page 17: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 16 / 21

Page 18: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 17 / 21

Page 19: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 18 / 21

Page 20: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 19 / 21

Page 21: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 20 / 21

Page 22: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,

Timing Diagram for a read cycle

Richa Upadhyay Prabhu (MPSTME) 8080 Microprocessor January 19, 2016 21 / 21

Page 23: TIMING DIAGRAMS - Strawberry - Homestrawberrydevelopers.weebly.com/.../timing_diagram.pdfTIMING DIAGRAMS Richa Upadhyay Prabhu NMIMS’s MPSTME richa.upadhyay@nmims.edu January 19,