Computer Interfacinglecture3
Computer Interfacinglecture3
Lecture 3
Outside environment (analog/ digital inputs )
Digital input
Analog input
Standard input
port Interface card A/D converter
Standard bus
Processor
Standard bus
Outside environment
Computer buses
Definition:
• In computer architecture, a bus is a
communication system that transfers data
between components inside a computer, or
between computers.
Advantage:
Unlike ISA more than one device could share
the same IRQ without any interference.
4.Peripheral Component Interconnect PCI
bus
• Clk signal
• RST: Reset.
– It is also referred to as "first-party DMA", in contrast with "third-party DMA" where a system DMA
controller (also known as peripheral processor, I/O processor, or channel) actually does the transfer.
– Thus, there needs for a bus arbitration scheme to prevent multiple devices attempting to drive the
bus simultaneously.
– A number of different schemes are used. PCI does not specify the algorithm to use, leaving it up to
the implementation to set priorities.
4.Peripheral Component Interconnect PCI
bus
Bus mastering:
The initiator begins the address phase by broadcasting a 32- bit address
plus a 4 bit command code, then waits for a target to respond.
All other devices examine this address and one of them responds.
4.Peripheral Component Interconnect PCI
bus
PCI command codes:
C/BE0 -C/BE3 : signals are to indicate data
transaction type during the address phase of this
transaction.
– Special cycle: used to transfer information to the PCI device about the processor
status.
– I/O read access: indicates a read operation for I/O address memory.