SlideShare a Scribd company logo
1 of 41
CLASS PRESENTATION
UNIT-1
ANKUR SRIVASTAVA
Assistant Professor,
Dept of CSE,
JETGI, Barabanki
CLASS PRESENTATION
Topic-BUS
ANKUR SRIVASTAVA
Assistant Professor,
Dept of CSE,
JETGI, Barabanki
LET’S REVISE:-WHAT WE HAVE STUDIED….
1 BUS (definition)
2 Generic BUS structure
3 BUS characteristic
4 Increasing the BUS bandwidth.
5 Advantage & disadvantage of BUS5
WHAT WE WILL STUDY IN THIS CLASS….
1 Parallel and Serial Communication
2 Synchronous and Asynchronous BUS
3 Basic Protocol Concepts
4 BUS Arbitration
PARALLEL COMMUNICATION. oThat is multiple data control and
possibly power wires with an effective data
transfer unit is 1 bit per wire.
oHigh data throughput with short distances.
oTypically used when the connecting devices
are on the same IC or same board.
oHigher cost, bulky
oBUS must be kept short.
oLong parallel wires result in high
captaincies value which require
more time to charge/discharge
oData misalignment between wires
increases as the length increases.
SERIAL COMMUNICATION.
oThat is single data wire, possibly also
control and power wires
oEffective data transfer unit is 1 bit at a time.
oHigh data throughput with long distances.
oCheaper, less bulky
oMore complex interfacing logic and
communication protocol
oSender needs to decompose words into
bits
oReceiver needs to recompose bits into
words.
oControl signal often send on the same wire
as data increasing protocol complexity.
SYNCHRONOUS BUS.
oIncludes a clock in the control line.
oA fixed protocol for communication that is
relative to the clock.
oMost of the processor-memory BUSes are
synchronous BUS.
oAdvantages: very little logic and can run very
fast.
oDisadvantages:
oEvery device on the BUS must run
on the same clock rate.
oTo avoid the clock skew they cant
be long if they are fast.
ASYNCHORONUS BUS.
oIt is not clocked.
oIt can accommodate a wide
verity of devices.
oIt can be lengthened without
worrying abut clock skew.
oIt requires a handshaking
protocol.
BASIC PROTOCAL CONCEPT.
oA BUS transaction include two parts:
oIssuing the command (and address).- request
oTransferring the data.-action
oMaster is the one who starts the BUS transaction by:
oIssuing the command and address.
oSlave is the one who responds to the address by:
oSending data to the master if the master ask for the data
oReceiving data from the master if the master wants to send data.
BASIC TRANSACTION PROTOCAL
.
A STROBE/HANDSHAKE COMBINATION.
WHEN TO USE HANDSHAKE.
oWhen response time
cant be guaranteed in
advance.
oData dependent delay
oComponent variations.
BUS ARBITRATION.
oOne of the most important issue in BUS design:
oHow is the BUS reserved by a device that whishes to use it.
oMaster-slave arrangement.
oOnly the bus master can control access to the BUS:
It initiate and control all BUS request.
A slave responds to read and write requests.
oThe simplest system
processor is the only BUS master
All BUS request must be controlled by the processor
Major drawback: the processor is involved in every transaction.
ARBITRATION OF MULTIPLE POTENTIAL BUS MASTERS.
oBUS arbitration scheme usually try to balance two factors.
oBUS priority:-the highest priority device must be served first.
oFairness: even the lowest priority device should never be completely
locked out by BUS.
oBUS arbitration scheme can be divided into for classes.
oThe DAISY CHAIN.
oCentralized parallel arbitration.
The DAISY CHAIN.
CENTRALIZED PARALLEL ARBITRATION.
POLLING...
POLLING...
WHAT NEXT??
SOMETHING AWESOME….
SOME PRACTICAL EXPOSURE OF
TOPICS WE HAVE STUDIED…
REGISTER AND BUS TRANSFER
TRANSFER FROM BUS TO A DESTINATION REGISTER.
ADRESSING MODES
LETS BEGAIN WITH AS EXAMPLE..
Suppose we have a two operands instruction
ADD X, Y
X in register
Y in memory
Then, after taking this particular example, we were in fact working out
the series of actions we must take
Next step is to look the various possible ways in which the operands can
be referred to. In other words, what we are talking about is the different
modes in which we can address the data.
That is, modes of addressing the data or referring to the data will usually
be called addressing modes
DIFFERENT TYPES OF ADDRESSING MODE?
Immediate Addressing
Direct Addressing
Indirect Addressing
Register Addressing
Register Indirect Addressing
Relative Addressing
Indexed Addressing
IMMEDIATE ADDRESSING
Operand is given explicitly in the instruction
Operand = Value
e.g. ADD 5
Add 5 to contents of accumulator
5 is operand
No memory reference to fetch data
Fast
Limited range
Instruction
opcode operand
DIRECT ADDRESSING
Address field contains address of operand
Effective address (EA) = address field (A)
e.g. ADD A
Add contents of cell A to accumulator
Look in memory at address A for operand
Single memory reference to access data
No additional calculations to work out effective
address
Limited address space
DIRECT ADDRESSING DIAGRAM
INDIRECT ADDRESSING
Memory cell pointed to by address field contains
the address of (pointer to) the operand
EA = [A]
Look in A, find address (A) and look there for
operand
e.g. ADD (A)
Add contents of cell pointed to by contents of A to
accumulator
INDIRECT ADDRESSING
Large address space
2n where n = word length
May be nested, multilevel, cascaded
e.g. EA = (((A)))
Draw the diagram yourself
Multiple memory accesses to find operand
Hence slower
INDIRECT ADDRESSING DIAGRAM
REGISTER ADDRESSING
Operand is held in register named in
address field
EA = R
Limited number of registers
Very small address field needed
Shorter instructions
Faster instruction fetch
REGISTER ADDRESSING
No memory access
Very fast execution
Very limited address space
Multiple registers helps performance
Requires good assembly programming or
compiler writing
REGISTER ADDRESSING DIAGRAM
REGISTER INDIRECT ADDRESSING
C.f. indirect addressing
EA = [R]
Operand is in memory cell pointed to by
contents of register R
Large address space (2n)
One fewer memory access than indirect
addressing
REGISTER INDIRECT ADDRESSING DIAGRAM
INDEX ADDRESSING
EA = X + [R]
Address field hold two values
X = constant value (offset)
R = register that holds address of memory
locations
or vice versa
(Offset given as constant or in the index register)
Add 20(R1),R2 or Add 1000(R1),R2
INDEX ADDRESSING DIAGRAM
RELATIVE ADDRESSING
A version of displacement addressing
R = Program counter, PC
EA = X + (PC)
i.e. get operand from X bytes away from
current location pointed to by PC
c.f locality of reference & cache usage
AUTO INCREMENT MODE
The effective address of the operand is the
contents of a register specified in the
instruction.
After accessing the operand, the contents of
this register are automatically incremented to
point to the next item in the list
EA=[Ri]; Increment Ri ---- (Ri)+
Eg: Add (R2)+,R0
AUTO DECREMENT MODE
The contents of a register specified in the
instruction are first automatically
decremented and are then used as the
effective address of the operand
Decrement Ri; EA= [Ri] ----- -(Ri)
THANK YOU!

More Related Content

What's hot

Computer architecture addressing modes and formats
Computer architecture addressing modes and formatsComputer architecture addressing modes and formats
Computer architecture addressing modes and formatsMazin Alwaaly
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processingPrabhu R
 
Instruction Set and Assembly Language Programming
Instruction Set and Assembly Language ProgrammingInstruction Set and Assembly Language Programming
Instruction Set and Assembly Language ProgrammingBrenda Debra
 
Addressing modes
Addressing modesAddressing modes
Addressing modesAsif Iqbal
 
Addressing
Addressing Addressing
Addressing souravmoy
 
An overview of siemens plc address mapping
An overview of siemens plc address mappingAn overview of siemens plc address mapping
An overview of siemens plc address mappingJustEngineering
 
Computer Organisation - Addressing Modes
Computer Organisation - Addressing ModesComputer Organisation - Addressing Modes
Computer Organisation - Addressing ModesArunaDevi63
 
addressing modes
addressing modesaddressing modes
addressing modesSadaf Rasheed
 
Addressing Modes
Addressing ModesAddressing Modes
Addressing ModesMayank Garg
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modesRamaPrabha24
 
Assembly language programming
Assembly language programming Assembly language programming
Assembly language programming Gaurav Takrani
 
Computer architecture instruction formats
Computer architecture instruction formatsComputer architecture instruction formats
Computer architecture instruction formatsMazin Alwaaly
 
Types of Addressing modes- COA
Types of Addressing modes- COATypes of Addressing modes- COA
Types of Addressing modes- COARuchi Maurya
 
Displacement addressing
Displacement addressingDisplacement addressing
Displacement addressingRajon
 
Chapter 5 programming concepts iv
Chapter 5  programming concepts ivChapter 5  programming concepts iv
Chapter 5 programming concepts ivSHREEHARI WADAWADAGI
 

What's hot (20)

Computer architecture addressing modes and formats
Computer architecture addressing modes and formatsComputer architecture addressing modes and formats
Computer architecture addressing modes and formats
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processing
 
Memory reference
Memory referenceMemory reference
Memory reference
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Instruction Set and Assembly Language Programming
Instruction Set and Assembly Language ProgrammingInstruction Set and Assembly Language Programming
Instruction Set and Assembly Language Programming
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Memory Reference Instructions
Memory Reference InstructionsMemory Reference Instructions
Memory Reference Instructions
 
Addressing
Addressing Addressing
Addressing
 
An overview of siemens plc address mapping
An overview of siemens plc address mappingAn overview of siemens plc address mapping
An overview of siemens plc address mapping
 
Computer Organisation - Addressing Modes
Computer Organisation - Addressing ModesComputer Organisation - Addressing Modes
Computer Organisation - Addressing Modes
 
Chapter11 addressing
Chapter11 addressingChapter11 addressing
Chapter11 addressing
 
addressing modes
addressing modesaddressing modes
addressing modes
 
Addressing Modes
Addressing ModesAddressing Modes
Addressing Modes
 
instruction format and addressing modes
instruction format and addressing modesinstruction format and addressing modes
instruction format and addressing modes
 
Assembly language programming
Assembly language programming Assembly language programming
Assembly language programming
 
Ch 11
Ch 11Ch 11
Ch 11
 
Computer architecture instruction formats
Computer architecture instruction formatsComputer architecture instruction formats
Computer architecture instruction formats
 
Types of Addressing modes- COA
Types of Addressing modes- COATypes of Addressing modes- COA
Types of Addressing modes- COA
 
Displacement addressing
Displacement addressingDisplacement addressing
Displacement addressing
 
Chapter 5 programming concepts iv
Chapter 5  programming concepts ivChapter 5  programming concepts iv
Chapter 5 programming concepts iv
 

Similar to Unit 1 ca-introduction

Compreport
CompreportCompreport
Compreportxdarlord
 
Instruction-Sets-2.pptx
Instruction-Sets-2.pptxInstruction-Sets-2.pptx
Instruction-Sets-2.pptxClaivemaxGonzales
 
Bc0040
Bc0040Bc0040
Bc0040hayerpa
 
IS 139 Lecture 6
IS 139 Lecture 6IS 139 Lecture 6
IS 139 Lecture 6wajanga
 
Design And Verification of AMBA APB Protocol
Design And Verification of AMBA APB ProtocolDesign And Verification of AMBA APB Protocol
Design And Verification of AMBA APB ProtocolIJERA Editor
 
(246431835) instruction set principles (2) (1)
(246431835) instruction set principles (2) (1)(246431835) instruction set principles (2) (1)
(246431835) instruction set principles (2) (1)Alveena Saleem
 
Different addressing mode and risc, cisc microprocessor
Different addressing mode and risc, cisc microprocessorDifferent addressing mode and risc, cisc microprocessor
Different addressing mode and risc, cisc microprocessorDaffodil International University
 
Fpga implemented ahb protocol
Fpga implemented ahb protocolFpga implemented ahb protocol
Fpga implemented ahb protocoliaemedu
 
AMBA 2.0 REPORT
AMBA 2.0 REPORTAMBA 2.0 REPORT
AMBA 2.0 REPORTNirav Desai
 
Low complexity low-latency architecture for matching
Low complexity low-latency architecture for matchingLow complexity low-latency architecture for matching
Low complexity low-latency architecture for matchingBhavya Venkatesh
 
Central processor organization
Central processor organizationCentral processor organization
Central processor organizationProf. Dr. K. Adisesha
 
ITEC582-Chapter 12.pptx
ITEC582-Chapter 12.pptxITEC582-Chapter 12.pptx
ITEC582-Chapter 12.pptxSabaNaeem26
 
microprocessor
 microprocessor microprocessor
microprocessorATTO RATHORE
 

Similar to Unit 1 ca-introduction (20)

Cao
CaoCao
Cao
 
Compreport
CompreportCompreport
Compreport
 
Instruction-Sets-2.pptx
Instruction-Sets-2.pptxInstruction-Sets-2.pptx
Instruction-Sets-2.pptx
 
Bc0040
Bc0040Bc0040
Bc0040
 
IS 139 Lecture 6
IS 139 Lecture 6IS 139 Lecture 6
IS 139 Lecture 6
 
Design And Verification of AMBA APB Protocol
Design And Verification of AMBA APB ProtocolDesign And Verification of AMBA APB Protocol
Design And Verification of AMBA APB Protocol
 
Unit 5
Unit 5Unit 5
Unit 5
 
(246431835) instruction set principles (2) (1)
(246431835) instruction set principles (2) (1)(246431835) instruction set principles (2) (1)
(246431835) instruction set principles (2) (1)
 
Different addressing mode and risc, cisc microprocessor
Different addressing mode and risc, cisc microprocessorDifferent addressing mode and risc, cisc microprocessor
Different addressing mode and risc, cisc microprocessor
 
Bg36347351
Bg36347351Bg36347351
Bg36347351
 
Interconnecting devies
Interconnecting deviesInterconnecting devies
Interconnecting devies
 
Fpga implemented ahb protocol
Fpga implemented ahb protocolFpga implemented ahb protocol
Fpga implemented ahb protocol
 
AMBA 2.0 REPORT
AMBA 2.0 REPORTAMBA 2.0 REPORT
AMBA 2.0 REPORT
 
Isa bus nptel
Isa bus nptelIsa bus nptel
Isa bus nptel
 
Data conversion
Data conversionData conversion
Data conversion
 
Low complexity low-latency architecture for matching
Low complexity low-latency architecture for matchingLow complexity low-latency architecture for matching
Low complexity low-latency architecture for matching
 
Central processor organization
Central processor organizationCentral processor organization
Central processor organization
 
ITEC582-Chapter 12.pptx
ITEC582-Chapter 12.pptxITEC582-Chapter 12.pptx
ITEC582-Chapter 12.pptx
 
microprocessor
 microprocessor microprocessor
microprocessor
 
UNIT-2.pptx
UNIT-2.pptxUNIT-2.pptx
UNIT-2.pptx
 

More from BBDITM LUCKNOW

More from BBDITM LUCKNOW (20)

Unit 5 cspc
Unit 5 cspcUnit 5 cspc
Unit 5 cspc
 
Unit 4 cspc
Unit 4 cspcUnit 4 cspc
Unit 4 cspc
 
Unit3 cspc
Unit3 cspcUnit3 cspc
Unit3 cspc
 
Cse ppt 2018
Cse ppt 2018Cse ppt 2018
Cse ppt 2018
 
Binary system ppt
Binary system pptBinary system ppt
Binary system ppt
 
Unit 4 ca-input-output
Unit 4 ca-input-outputUnit 4 ca-input-output
Unit 4 ca-input-output
 
Unit 3 ca-memory
Unit 3 ca-memoryUnit 3 ca-memory
Unit 3 ca-memory
 
Unit 2 ca- control unit
Unit 2 ca- control unitUnit 2 ca- control unit
Unit 2 ca- control unit
 
Yacc
YaccYacc
Yacc
 
Bnf and ambiquity
Bnf and ambiquityBnf and ambiquity
Bnf and ambiquity
 
Lex
LexLex
Lex
 
Minimization of dfa
Minimization of dfaMinimization of dfa
Minimization of dfa
 
Passescd
PassescdPassescd
Passescd
 
Compiler unit 4
Compiler unit 4Compiler unit 4
Compiler unit 4
 
Compiler unit 2&3
Compiler unit 2&3Compiler unit 2&3
Compiler unit 2&3
 
Compiler unit 1
Compiler unit 1Compiler unit 1
Compiler unit 1
 
Compiler unit 5
Compiler  unit 5Compiler  unit 5
Compiler unit 5
 
Cspc final
Cspc finalCspc final
Cspc final
 
Cd2 [autosaved]
Cd2 [autosaved]Cd2 [autosaved]
Cd2 [autosaved]
 
Validation based protocol
Validation based protocolValidation based protocol
Validation based protocol
 

Recently uploaded

microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoĂŁo Esperancinha
 

Recently uploaded (20)

microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 

Unit 1 ca-introduction

  • 1. CLASS PRESENTATION UNIT-1 ANKUR SRIVASTAVA Assistant Professor, Dept of CSE, JETGI, Barabanki
  • 2. CLASS PRESENTATION Topic-BUS ANKUR SRIVASTAVA Assistant Professor, Dept of CSE, JETGI, Barabanki
  • 3. LET’S REVISE:-WHAT WE HAVE STUDIED…. 1 BUS (definition) 2 Generic BUS structure 3 BUS characteristic 4 Increasing the BUS bandwidth. 5 Advantage & disadvantage of BUS5
  • 4. WHAT WE WILL STUDY IN THIS CLASS…. 1 Parallel and Serial Communication 2 Synchronous and Asynchronous BUS 3 Basic Protocol Concepts 4 BUS Arbitration
  • 5. PARALLEL COMMUNICATION. oThat is multiple data control and possibly power wires with an effective data transfer unit is 1 bit per wire. oHigh data throughput with short distances. oTypically used when the connecting devices are on the same IC or same board. oHigher cost, bulky oBUS must be kept short. oLong parallel wires result in high captaincies value which require more time to charge/discharge oData misalignment between wires increases as the length increases.
  • 6. SERIAL COMMUNICATION. oThat is single data wire, possibly also control and power wires oEffective data transfer unit is 1 bit at a time. oHigh data throughput with long distances. oCheaper, less bulky oMore complex interfacing logic and communication protocol oSender needs to decompose words into bits oReceiver needs to recompose bits into words. oControl signal often send on the same wire as data increasing protocol complexity.
  • 7. SYNCHRONOUS BUS. oIncludes a clock in the control line. oA fixed protocol for communication that is relative to the clock. oMost of the processor-memory BUSes are synchronous BUS. oAdvantages: very little logic and can run very fast. oDisadvantages: oEvery device on the BUS must run on the same clock rate. oTo avoid the clock skew they cant be long if they are fast.
  • 8. ASYNCHORONUS BUS. oIt is not clocked. oIt can accommodate a wide verity of devices. oIt can be lengthened without worrying abut clock skew. oIt requires a handshaking protocol.
  • 9. BASIC PROTOCAL CONCEPT. oA BUS transaction include two parts: oIssuing the command (and address).- request oTransferring the data.-action oMaster is the one who starts the BUS transaction by: oIssuing the command and address. oSlave is the one who responds to the address by: oSending data to the master if the master ask for the data oReceiving data from the master if the master wants to send data.
  • 12. WHEN TO USE HANDSHAKE. oWhen response time cant be guaranteed in advance. oData dependent delay oComponent variations.
  • 13. BUS ARBITRATION. oOne of the most important issue in BUS design: oHow is the BUS reserved by a device that whishes to use it. oMaster-slave arrangement. oOnly the bus master can control access to the BUS: It initiate and control all BUS request. A slave responds to read and write requests. oThe simplest system processor is the only BUS master All BUS request must be controlled by the processor Major drawback: the processor is involved in every transaction.
  • 14. ARBITRATION OF MULTIPLE POTENTIAL BUS MASTERS. oBUS arbitration scheme usually try to balance two factors. oBUS priority:-the highest priority device must be served first. oFairness: even the lowest priority device should never be completely locked out by BUS. oBUS arbitration scheme can be divided into for classes. oThe DAISY CHAIN. oCentralized parallel arbitration.
  • 19. WHAT NEXT?? SOMETHING AWESOME…. SOME PRACTICAL EXPOSURE OF TOPICS WE HAVE STUDIED…
  • 20. REGISTER AND BUS TRANSFER
  • 21. TRANSFER FROM BUS TO A DESTINATION REGISTER.
  • 23. LETS BEGAIN WITH AS EXAMPLE.. Suppose we have a two operands instruction ADD X, Y X in register Y in memory Then, after taking this particular example, we were in fact working out the series of actions we must take Next step is to look the various possible ways in which the operands can be referred to. In other words, what we are talking about is the different modes in which we can address the data. That is, modes of addressing the data or referring to the data will usually be called addressing modes
  • 24. DIFFERENT TYPES OF ADDRESSING MODE? Immediate Addressing Direct Addressing Indirect Addressing Register Addressing Register Indirect Addressing Relative Addressing Indexed Addressing
  • 25. IMMEDIATE ADDRESSING Operand is given explicitly in the instruction Operand = Value e.g. ADD 5 Add 5 to contents of accumulator 5 is operand No memory reference to fetch data Fast Limited range Instruction opcode operand
  • 26. DIRECT ADDRESSING Address field contains address of operand Effective address (EA) = address field (A) e.g. ADD A Add contents of cell A to accumulator Look in memory at address A for operand Single memory reference to access data No additional calculations to work out effective address Limited address space
  • 28. INDIRECT ADDRESSING Memory cell pointed to by address field contains the address of (pointer to) the operand EA = [A] Look in A, find address (A) and look there for operand e.g. ADD (A) Add contents of cell pointed to by contents of A to accumulator
  • 29. INDIRECT ADDRESSING Large address space 2n where n = word length May be nested, multilevel, cascaded e.g. EA = (((A))) Draw the diagram yourself Multiple memory accesses to find operand Hence slower
  • 31. REGISTER ADDRESSING Operand is held in register named in address field EA = R Limited number of registers Very small address field needed Shorter instructions Faster instruction fetch
  • 32. REGISTER ADDRESSING No memory access Very fast execution Very limited address space Multiple registers helps performance Requires good assembly programming or compiler writing
  • 34. REGISTER INDIRECT ADDRESSING C.f. indirect addressing EA = [R] Operand is in memory cell pointed to by contents of register R Large address space (2n) One fewer memory access than indirect addressing
  • 36. INDEX ADDRESSING EA = X + [R] Address field hold two values X = constant value (offset) R = register that holds address of memory locations or vice versa (Offset given as constant or in the index register) Add 20(R1),R2 or Add 1000(R1),R2
  • 38. RELATIVE ADDRESSING A version of displacement addressing R = Program counter, PC EA = X + (PC) i.e. get operand from X bytes away from current location pointed to by PC c.f locality of reference & cache usage
  • 39. AUTO INCREMENT MODE The effective address of the operand is the contents of a register specified in the instruction. After accessing the operand, the contents of this register are automatically incremented to point to the next item in the list EA=[Ri]; Increment Ri ---- (Ri)+ Eg: Add (R2)+,R0
  • 40. AUTO DECREMENT MODE The contents of a register specified in the instruction are first automatically decremented and are then used as the effective address of the operand Decrement Ri; EA= [Ri] ----- -(Ri)

Editor's Notes

  1. “Ant Colony Optimization (ACO) studies artificial systems that take inspiration from the behavior of real ant colonies and which are used to solve discrete optimization problems.”