Unit 5. Memory and I/O System

Size: px
Start display at page:

Download "Unit 5. Memory and I/O System"

Transcription

1 Unit 5 Memory and I/O System 1

2 Input/Output Organization 2

3 Overview Computer has ability to exchange data with other devices. Human-computer communication Computer-computer communication Computer-device communication 3

4 Accessing I/O Devices 4

5 Single Bus Processor Memory Bus I/O device 1 I/O device n Figure 4.1. A single-bus structure. 5

6 Memory-Mapped I/O When I/O devices and the memory share the same address space, the arrangement is called memorymapped I/O Any machine instruction that can access memory can be used to transfer data to or from an I/O device. Move DATAIN, R0 (DATAIN is the I/P buffer) Move R0, DATAOUT (DATAOUT is O/P buffer) Some processors have special In and Out instructions to perform I/O transfer- they support I/O mapped I/O 6

7 Interface Bus Address line Data lines Control lines Address decoder Control circuits Data and status registers I/O interface Input device Figure 4.2. I/O interface for an input device. 7

8 Program-Controlled I/O I/O devices operate at speeds that are vastly different from that of the processor Keyboard, for example, is very slow An Instruction that reads a character from keyboard must be executed only when the character is available in the input buffer of the keyboard interface; also, this character must be read only once The basic idea is to set a status flag, SIN, as part of the status register SIN flag is set to 1 when a character is entered at the keyboard, and cleared to 0 once the character is read by processor 8

9 Program-Controlled I/O (contd..) By checking the SIN flag the software can ensure that it is always reading valid data This is usually done in a program loop that repeatedly reads status register and checks the state of SIN When SIN becomes 1, the program reads the input data register Similar procedure is used for output operation using an output status flag SOUT 9

10 Keyboard Control Example DATAIN DATAOUT STATUS DIRQ KIRQ SOUT SIN CONTROL DEN KEN Figure 4.3. Registers in keyboard and display interf aces. 10

11 Keyboard Control Example Move #LINE,R0 Initialize memory pointer. WAITK TestBit #0,STATUS Test SIN. Branch=0 WAITK Wait for characterto be entered. Move DATAIN,R1 Readcharacter. WAITD TestBit #1,STATUS Test SOUT. Branch=0 WAITD Wait for display to becomeready. Move R1,DATAOUT Sendcharacterto display. Move R1,(R0)+ Store characterandadvance pointer. Compare #$0D,R1 Check if Carriage Return. Branch 0 WAITK If not, get anothercharacter. Move #$0A,DATAOUT Otherwise,sendLine Feed. Call PROCESS Call a subroutineto process the input line. Figure 4.4 A program that reads one line from the keyboard stores it in memory buffer, and echoes it back to the display. 11

12 Three Major Mechanisms Program-controlled I/O processor polls the device Interrupt driven I/O device interrupts processor when ready Direct Memory Access (DMA) 12

13 Interrupts 13

14 Overview In program-controlled I/O, the program enters a wait loop in which it repeatedly tests the device status During the period, the processor is not performing any useful computation However, in many situations other tasks can be performed while waiting for an I/O device to become ready Let the device alert the processor when it becomes ready 14

15 Overview (contd..) This can be done by device sending a hardware signal called an interrupt to the processor One line in the control bus called interruptrequest line is dedicated for this purpose Since the processor is no longer required to continuously check the status of external devices, it can use the waiting period to perform other useful functions 15

16 Example Consider a task that requires some computations to be performed and the results to be printed on line printer repeatedly Assume the program has two routines COMPUTE and PRINT COMPUTE produces a set of n lines of output, to be printed on printer The task can be performed by repeatedly executing first the COMPUTE routine and then the PRINT routine Printer accepts only one line of text at a time 16

17 Example COMPUTE produces first n lines of text; PRINT sends the first line to the printer; then PRINT is suspended; COMPUTE continues to perform other computations; After the printer finishes printing the first line, it send an interrupt-request signal to the processor; In response, the processor interrupts execution of COMPUTE and transfers control to PRINT to send the next line; COMPUTE resumes; 17

18 Example Program 1 COMPUTE routine Program 2 PRINT routine 1 2 Interrupt occurs here i i + 1 M Figure 4.5. Transfer of control through the use of interrupts. 18

19 Several Points Interrupt-service routine PRINT Store the current PC and PSW Return-from-interrupt Interrupt-acknowledge signal Interrupt latency (time between receipt of interrupt request and start of interrupt service routine) Difference between an interrupt-service routine and regular subroutine? 19

20 Interrupt Hardware Processor V dd R INTR INTR INTR1 INTR2 INTR n Figure 4.6.An equivalent circuit for an open-drain bus used to implement a common interrupt-request line. 20

21 Enabling and Disabling Interrupts Since the interrupt request can come at any time, it may alter the sequence of events from that envisaged by the programmer Interrupts must be controlled Ignoring an interrupt happens in the previous example after printing the last line of set of n lines, interrupts must be disabled until another set becomes available for printing 21

22 Enabling and Disabling Interrupts (contd..) The interrupt request signal will be active until it learns that the processor has responded to its request. This must be handled to avoid successive interruptions Let the interrupt be disabled/enabled in the interruptservice routine using DI and EI instructions Let the processor automatically disable interrupts before starting the execution of the interrupt-service routine Edge triggered the interrupt handling circuit responds only to the leading edge of the signal 22

23 Summary 1.The device raises an interrupt request 2.The processor interrupts the program currently being executed 3.Interrupts are disabled by changing the control bits in the PSW (except in case of edge-triggered) 4.The device is informed that its request has been recognized, and in response it deactivates the interrupt request signal 5.The action requested by the interrupt is performed by the interrupt service routine 6.interrupts are enabled and execution of interrupted program is resumed 23

24 Handling Multiple Devices How can the processor recognize the device requesting an interrupt? Given that different devices are likely to require different interrupt-service routines, how can the processor obtain the starting address of the appropriate routine in each case? (Vectored interrupts) Should a device be allowed to interrupt the processor while another interrupt is being serviced? (Interrupt nesting) How should two or more simultaneous interrupt requests be handled? (Daisy-chain) 24

25 Vectored Interrupts A device requesting an interrupt can identify itself by sending a special code to the processor over the bus. Interrupt vector 25

26 Interrupt Nesting Simple solution: only accept one interrupt at a time, then disable all others. Problem: some interrupts cannot be held too long. Priority structure Processor INTR1 INTRp Device 1 Device 2 Devicep INTA1 INTA p Priority arbitration circuit Figure 4.7. Implementation of interrupt priority using individual interrupt-request and acknowledge lines. 26

27 Simultaneous Requests Processor INTR INTA Device 1 Device 2 Device n (a) Daisy chain INTR1 Processor INTA1 INTRp Device Device Priority arbitration circuit INTA p Device Device (b) Arrangement of priority groups 27 Figure 4.8. Interrupt priority schemes.

28 Controlling Device Requests Some I/O devices may not be allowed to issue interrupt requests to the processor. At device end, an interrupt-enable bit in a control register determines whether the device is allowed to generate an interrupt request. At processor end, either an interrupt enable bit in the PSW register or a priority structure determines whether a given interrupt request will be accepted. 28

29 Direct Memory Access 29

30 DMA Think about the overhead in both polling and interrupting mechanisms when a large block of data need to be transferred between the processor and the I/O device. A special control unit may be provided to allow transfer of a block of data directly between an external device and the main memory, without continuous intervention by the processor direct memory access (DMA). The DMA controller provides the memory address and all the bus signals needed for data transfer, increment the memory address for successive words, and keep track of the number of transfers. 30

31 DMA Procedure Processor sends the starting address, the number of data, and the direction of transfer to DMA controller. Processor suspends the application program requesting DMA, starts DMA transfer, and starts another program. After the DMA transfer is done, DMA controller sends an interrupt signal to the processor. The processor puts the suspended program in the Runnable state. 31

32 DMA Register Status and control IRQ IE Done R/ W Starting address Word count Figure Registers in a DMA interface. 32

33 System Processor Main memory System bus Disk/DMA controller DMA controller Printer Keyboard Disk Disk Network Interface Figure Use of DMA controllers in a computer system. 33

34 Memory Access Memory access by the processor and the DMA controller are interwoven. DMA device has higher priority. Among all DMA requests, top priority is given to high-speed peripherals. Cycle stealing Block (burst) mode Data buffer Conflicts 34

35 Bus Arbitration The device that is allowed to initiate data transfers on the bus at any given time is called the bus master. Bus arbitration is the process by which the next device to become the bus master is selected and bus mastership is transferred to it. Need to establish a priority system. Two approaches: centralized and distributed 35

36 Centralized Arbitration BBSY Processor BR BG1 DMA controller 1 BG2 DMA controller 2 Figure A simple arrangement for us b arbitration using a daisy cha 36

37 Centralized Arbitration Time BR BG1 BG2 BBSY Bus master Processor DMA controller 2 Processor Figure Sequence of signals during transfer us of bmastership for the devices in Figure

38 Distributed Arbitration V cc ARB3 ARB2 ARB1 ARB0 Start-Arbitration O.C Interface circuit for device A Figure A distributed arbitration scheme. 38

39 Buses 39

40 Overview The primary function of a bus is to provide a communications path for the transfer of data. A bus protocol is the set of rules that govern the behavior of various devices connected to the bus as to when to place information on the bus, assert control signals, etc. Three types of bus lines: data, address, control The bus control signals also carry timing information. Bus master (initiator) / slave (target) 40

41 Synchronous Bus Timing Time Bus clock Address and command Data t 0 t 1 t 2 Bus cycle Figure Timing of an input transfer on a synchronous bus. 41

42 Synchronous Bus Detailed Timing Time Bus clock Seen by master Address and command t AM Data t DM Seen by slave t AS Address and command Data t DS t 0 t 1 t 2 42 Figure A detailed timing diagram for the input transfer of Figure 4.23

43 Multiple-Cycle Transfers Time Clock Address Command Data Slave-ready Figure An input transfer using multiple clock ycles. c 43

44 Asynchronous Bus Handshaking Protocol for Input Operation Address and command Time Master-ready Slave-ready Data t 0 t 1 t 2 t 3 t 4 t 5 Bus cycle Figure Handshake control of data transfer during an input operat 44

45 Asynchronous Bus Handshaking Protocol for Input Operation (contd..) t 0 - Master places address and command information on the bus, all devices decode the information t 1 - master sets the Master-Ready line to 1 to inform the I/O devices that the address and command information is ready ( t 1 -t 0 is to take care of skew) t 2 - the selected slave after decoded the address and command information, performs the required input operation and puts data on data bus 45

46 Asynchronous Bus Handshaking Protocol for Input Operation (contd..) t 3 -slave ready signal arrives at the master, indicating that input data are available on the bus, master strobes data in to input buffer and drops master ready signal t 4 - master removes address and command information from the bus t 5 - when the device interface receives 1 to 0 transition of the master ready signal, it removes the data and the slave ready signal from the bus- this completes input transfer 46

47 Asynchronous Bus Handshaking Protocol for Output Operation Address and command Time Data Master-ready Slave-ready t 0 t 1 t 2 t 3 t 4 t 5 Bus cycle Figure Handshake control of data transfer during an output opera 47

48 Discussion Trade-offs Simplicity of the device interface Ability to accommodate device interfaces that introduce different amounts of delay Total time required for a bus transfer Ability to detect errors resulting from addressing a nonexistent device or from an interface malfunction Asynchronous bus is simpler to design. Synchronous bus is faster. 48

49 Interface Circuits 49

50 Introduction I/O interface consists of circuitry required to connect an I/O device to a computer bus On one side we have the bus signal for address, data and control On the other side we have a data path with its associated controls to transfer data between the interface and the I/O device (port) 50

51 Function of I/O Interface Provide a storage buffer for at least one word of data Contain status flags that can be accessed by the processor to determine whether the buffer is full or empty Contain address-decoding circuitry to determine when it is being addressed by the processor Generate the appropriate timing signals required by the bus control scheme Perform any format conversion that may be necessary to transfer data between the bus and the I/O device 51

52 Parallel Port A parallel port transfers data in the form of a number of bits, typically 8 or 16, simultaneously to or from the device Used for faster communications 52

53 Parallel Port Input Interface (Keyboard to Processor Connection) Data Processor Address R/ W Master-ready Slave-ready DATAIN SIN Input interface Data Valid Encoder and debouncing circuit Keyboard switches Figure Keyboard to processor connection. 53

54 DATAIN D7 Q 7 D 7 Keyboard data D0 Q 0 D 0 Slaveready 1 SIN Status flag Valid Readstatus Readdata R/W Master- ready A31 Address decoder A1 A0 Figure Input interface circuit. 54

55 Parallel Port Input Interface (Keyboard to Processor Connection) 55

56 Parallel Port Output Interface (Printer to Processor Connection) Data Address DATAOUT Data Processor CPU R/ W SOUT Valid Printer Master-eady Slave-ready Output interface Idle Figure Printer to processor connection. 56

57 D7 P7 DATAIN D0 P0 DATAOUT Data Direction Register My-address RS2 RS1 RS0 R/W Ready Accept Register select Status and control C1 C2 INTR Figure A general 8-bit parallel interf ace. 57

58 Serial Port A serial port is used to connect the processor to I/O devices that require transmission of data one bit at a time. The key feature of an interface circuit for a serial port is that it is capable of communicating in bit-serial fashion on the device side and in a bit-parallel fashion on the bus side. Capable of longer distance communication than parallel transmission. 58

59 Input shift register Serial input DATAIN D7 D0 My-address DATAOUT RS1 RS0 R/W Ready Chip and register select Output shift register Serial output Accept INTR Status and control Receiving clock Transmission clock Figure A serial interface. 59

60 Standard I/O Interfaces 60

61 Overview The needs for standardized interface signals and protocols. Motherboard Bridge: circuit to connect two buses Expansion bus Industry Standard Architecture (ISA), Peripheral Component Interconnect (PCI), Small Computer System Interface (SCSI), Universal Serial Bus (USB), Integrated Device Electronics (IDE) 61

62 Processor Main memory Processor bus Bridge PCI bus Additional memory SCSI controller Ethernet interface USB controller ISA interface SCSI bus Video IDE disk Disk controller CD-ROM controller CD- Disk 1 Disk 2 ROM K eyboard Game Figure An example of a computer system using different interface standards. 62

Chapter 5 Input/Output Organization. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Chapter 5 Input/Output Organization. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Chapter 5 Input/Output Organization Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Outline Accessing I/O Devices Interrupts Direct Memory Access Buses Interface

More information

INPUT/OUTPUT ORGANIZATION

INPUT/OUTPUT ORGANIZATION INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and

More information

INPUT/OUTPUT ORGANIZATION

INPUT/OUTPUT ORGANIZATION INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and

More information

Unit 3 and Unit 4: Chapter 4 INPUT/OUTPUT ORGANIZATION

Unit 3 and Unit 4: Chapter 4 INPUT/OUTPUT ORGANIZATION Unit 3 and Unit 4: Chapter 4 INPUT/OUTPUT ORGANIZATION Introduction A general purpose computer should have the ability to exchange information with a wide range of devices in varying environments. Computers

More information

UNIT V INPUT OUTPUT ORGANIZATION

UNIT V INPUT OUTPUT ORGANIZATION UNIT V Unit objective INPUT OUTPUT ORGANIZATION In this unit you will be introduced to : How program-controlled I/O is performed using polling, The idea of interrupts and the hardware and software needed

More information

INPUT/OUTPUT ORGANIZATION

INPUT/OUTPUT ORGANIZATION INPUT/OUTPUT ORGANIZATION Accessing I/O Devices I/O interface Input/output mechanism Memory-mapped I/O Programmed I/O Interrupts Direct Memory Access Buses Synchronous Bus Asynchronous Bus I/O in CO and

More information

ACCESSING I/O DEVICES

ACCESSING I/O DEVICES ACCESSING I/O DEVICES A simple arrangement to connect I/O devices to a computer is to use a single bus structure. It consists of three sets of lines to carry Address Data Control Signals. When the processor

More information

UNIT 2 MACHINE INSTRUCTIONS & PROGRAMS (CONT.)

UNIT 2 MACHINE INSTRUCTIONS & PROGRAMS (CONT.) 1 UNIT 2 MACHINE INSTRUCTIONS & PROGRAMS (CONT.) ADDRESSING MODES The different ways in which the location of an operand is specified in an instruction are referred to as addressing modes (Table 2.1).

More information

Accessing I/O Devices Interface to CPU and Memory Interface to one or more peripherals Generic Model of IO Module Interface for an IO Device: CPU checks I/O module device status I/O module returns status

More information

HANDLING MULTIPLE DEVICES

HANDLING MULTIPLE DEVICES HANDLING MULTIPLE DEVICES Let us now consider the situation where a number of devices capable of initiating interrupts are connected to the processor. Because these devices are operationally independent,

More information

Computer Organization ECE514. Chapter 5 Input/Output (9hrs)

Computer Organization ECE514. Chapter 5 Input/Output (9hrs) Computer Organization ECE514 Chapter 5 Input/Output (9hrs) Learning Outcomes Course Outcome (CO) - CO2 Describe the architecture and organization of computer systems Program Outcome (PO) PO1 Apply knowledge

More information

ECE 341. Lecture # 19

ECE 341. Lecture # 19 ECE 341 Lecture # 19 Instructor: Zeshan Chishti zeshan@ece.pdx.edu December 3, 2014 Portland State University Announcements Final exam is on Monday, December 8 from 5:30 PM to 7:20 PM Similar format and

More information

Input/Output Problems. External Devices. Input/Output Module. I/O Steps. I/O Module Function Computer Architecture

Input/Output Problems. External Devices. Input/Output Module. I/O Steps. I/O Module Function Computer Architecture 168 420 Computer Architecture Chapter 6 Input/Output Input/Output Problems Wide variety of peripherals Delivering different amounts of data At different speeds In different formats All slower than CPU

More information

INPUT-OUTPUT ORGANIZATION

INPUT-OUTPUT ORGANIZATION INPUT-OUTPUT ORGANIZATION Peripheral Devices: The Input / output organization of computer depends upon the size of computer and the peripherals connected to it. The I/O Subsystem of the computer, provides

More information

Generic Model of I/O Module Interface to CPU and Memory Interface to one or more peripherals

Generic Model of I/O Module Interface to CPU and Memory Interface to one or more peripherals William Stallings Computer Organization and Architecture 7 th Edition Chapter 7 Input/Output Input/Output Problems Wide variety of peripherals Delivering different amounts of data At different speeds In

More information

Digital System Design

Digital System Design Digital System Design by Dr. Lesley Shannon Email: lshannon@ensc.sfu.ca Course Website: http://www.ensc.sfu.ca/~lshannon/courses/ensc350 Simon Fraser University i Slide Set: 15 Date: March 30, 2009 Slide

More information

Organisasi Sistem Komputer

Organisasi Sistem Komputer LOGO Organisasi Sistem Komputer OSK 5 Input Output 1 1 PT. Elektronika FT UNY Input/Output Problems Wide variety of peripherals Delivering different amounts of data At different speeds In different formats

More information

1. Define Peripherals. Explain I/O Bus and Interface Modules. Peripherals: Input-output device attached to the computer are also called peripherals.

1. Define Peripherals. Explain I/O Bus and Interface Modules. Peripherals: Input-output device attached to the computer are also called peripherals. 1. Define Peripherals. Explain I/O Bus and Interface Modules. Peripherals: Input-output device attached to the computer are also called peripherals. A typical communication link between the processor and

More information

Modes of Transfer. Interface. Data Register. Status Register. F= Flag Bit. Fig. (1) Data transfer from I/O to CPU

Modes of Transfer. Interface. Data Register. Status Register. F= Flag Bit. Fig. (1) Data transfer from I/O to CPU Modes of Transfer Data transfer to and from peripherals may be handled in one of three possible modes: A. Programmed I/O B. Interrupt-initiated I/O C. Direct memory access (DMA) A) Programmed I/O Programmed

More information

UNIT-I: BASIC STRUCTURE OF COMPUTERS

UNIT-I: BASIC STRUCTURE OF COMPUTERS ANS. SOLUTION UNIT-I: BASIC STRUCTURE OF COMPUTERS 1. With a neat diagram explain different processor registers (6M) June 2010 Transfers between the memory and the processor are started by sending the

More information

INPUT-OUTPUT ORGANIZATION

INPUT-OUTPUT ORGANIZATION 1 INPUT-OUTPUT ORGANIZATION Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes of Transfer Priority Interrupt Direct Memory Access Input-Output Processor Serial Communication 2

More information

Eastern Mediterranean University School of Computing and Technology INPUT / OUTPUT

Eastern Mediterranean University School of Computing and Technology INPUT / OUTPUT Eastern Mediterranean University School of Computing and Technology ITEC255 Computer Organization & Architecture INPUT / OUTPUT Introduction Computer system s I/O architecture is its interface to outside

More information

6 Direct Memory Access (DMA)

6 Direct Memory Access (DMA) 1 License: http://creativecommons.org/licenses/by-nc-nd/3.0/ 6 Direct Access (DMA) DMA technique is used to transfer large volumes of data between I/O interfaces and the memory. Example: Disk drive controllers,

More information

INTERFACING THE ISCC TO THE AND 8086

INTERFACING THE ISCC TO THE AND 8086 APPLICATION NOTE INTERFACING THE ISCC TO THE 68 AND 886 INTRODUCTION The ISCC uses its flexible bus to interface with a variety of microprocessors and microcontrollers; included are the 68 and 886. The

More information

QUIZ Ch.6. The EAT for a two-level memory is given by:

QUIZ Ch.6. The EAT for a two-level memory is given by: QUIZ Ch.6 The EAT for a two-level memory is given by: EAT = H Access C + (1-H) Access MM. Derive a similar formula for three-level memory: L1, L2 and RAM. Hint: Instead of H, we now have H 1 and H 2. Source:

More information

Programmed I/O Interrupt-Driven I/O Direct Memory Access (DMA) I/O Processors. 10/12/2017 Input/Output Systems and Peripheral Devices (02-2)

Programmed I/O Interrupt-Driven I/O Direct Memory Access (DMA) I/O Processors. 10/12/2017 Input/Output Systems and Peripheral Devices (02-2) Programmed I/O Interrupt-Driven I/O Direct Memory Access (DMA) I/O Processors 1 Principle of Interrupt-Driven I/O Multiple-Interrupt Systems Priority Interrupt Systems Parallel Priority Interrupts Daisy-Chain

More information

Chapter 3. Top Level View of Computer Function and Interconnection. Yonsei University

Chapter 3. Top Level View of Computer Function and Interconnection. Yonsei University Chapter 3 Top Level View of Computer Function and Interconnection Contents Computer Components Computer Function Interconnection Structures Bus Interconnection PCI 3-2 Program Concept Computer components

More information

INPUT-OUTPUT ORGANIZATION

INPUT-OUTPUT ORGANIZATION INPUT-OUTPUT ORGANIZATION Peripheral Devices Input-Output Interface Asynchronous Data Transfer Modes of Transfer Priority Interrupt Direct Memory Access Input-Output Processor Serial Communication PERIPHERAL

More information

Digital Input and Output

Digital Input and Output Digital Input and Output Topics: Parallel Digital I/O Simple Input (example) Parallel I/O I/O Scheduling Techniques Programmed Interrupt Driven Direct Memory Access Serial I/O Asynchronous Synchronous

More information

4 Multiplexer. Y Fig Keyboard Scan Matrix

4 Multiplexer. Y Fig Keyboard Scan Matrix - 4 Multiplexer Microcontroller 3 Decoder X Y Fig. - Keyboard Scan Matrix 2 Prentice Hall, Inc. -2 Track Sector Head positioning Fig. -2 Hard Disk Format 2 Prentice Hall, Inc. -3 RGB electron guns R G

More information

8. Interfacing Processors and Peripherals

8. Interfacing Processors and Peripherals 8. Interfacing Processors and Peripherals Revisions Date March 23, 2003 March 31, 2003 Changes More details on synchronous buses have been added to section 8.4 Details and more diagrams in the section

More information

Bus System. Bus Lines. Bus Systems. Chapter 8. Common connection between the CPU, the memory, and the peripheral devices.

Bus System. Bus Lines. Bus Systems. Chapter 8. Common connection between the CPU, the memory, and the peripheral devices. Bus System Chapter 8 CSc 314 T W Bennet Mississippi College 1 CSc 314 T W Bennet Mississippi College 3 Bus Systems Common connection between the CPU, the memory, and the peripheral devices. One device

More information

The Purpose of Interrupt

The Purpose of Interrupt Interrupts 3 Introduction In this chapter, the coverage of basic I/O and programmable peripheral interfaces is expanded by examining a technique called interrupt-processed I/O. An interrupt is a hardware-initiated

More information

I/O - input/output. system components: CPU, memory, and bus -- now add I/O controllers and peripheral devices. CPU Cache

I/O - input/output. system components: CPU, memory, and bus -- now add I/O controllers and peripheral devices. CPU Cache I/O - input/output system components: CPU, memory, and bus -- now add I/O controllers and peripheral devices CPU Cache CPU must perform all transfers to/from simple controller, e.g., CPU reads byte from

More information

Digital Design Laboratory Lecture 6 I/O

Digital Design Laboratory Lecture 6 I/O ECE 280 / CSE 280 Digital Design Laboratory Lecture 6 I/O Input/Output Module Interface to CPU and Memory Interface to one or more peripherals Generic Model of I/O Module External Devices Human readable

More information

PESIT Bangalore South Campus

PESIT Bangalore South Campus INTERNAL ASSESSMENT TEST I Date: 30/08/2017 Max Marks: 40 Subject & Code: Computer Organization 15CS34 Semester: III (A & B) Name of the faculty: Mrs.Sharmila Banu.A Time: 8.30 am 10.00 am Answer any FIVE

More information

Computer Organization (Input-output)

Computer Organization (Input-output) Computer Organization (Input-output) KR Chowdhary Professor & Head Email: kr.chowdhary@gmail.com webpage: krchowdhary.com Department of Computer Science and Engineering MBM Engineering College, Jodhpur

More information

3. Controtlto specify the mode of transfer such as read or write 4. A control to start the DMA transfer

3. Controtlto specify the mode of transfer such as read or write 4. A control to start the DMA transfer DMA Controller The DMA controller needs the usual circuits of an interface to communicate the CPU and 10 device. In addition, it needs an address register, a word count register, and a set of address lines.

More information

Top-Level View of Computer Organization

Top-Level View of Computer Organization Top-Level View of Computer Organization Bởi: Hoang Lan Nguyen Computer Component Contemporary computer designs are based on concepts developed by John von Neumann at the Institute for Advanced Studies

More information

AC58/AT58 COMPUTER ORGANIZATION DECEMBER Q2 (a) With the help of diagram explain the different functional units of a Computer?

AC58/AT58 COMPUTER ORGANIZATION DECEMBER Q2 (a) With the help of diagram explain the different functional units of a Computer? Q2 (a) With the help of diagram explain the different functional units of a Computer? Answer: A computer consists of five functionally independent units, namely: input, memory, arithmetic and logic (ALU)

More information

Introduction Electrical Considerations Data Transfer Synchronization Bus Arbitration VME Bus Local Buses PCI Bus PCI Bus Variants Serial Buses

Introduction Electrical Considerations Data Transfer Synchronization Bus Arbitration VME Bus Local Buses PCI Bus PCI Bus Variants Serial Buses Introduction Electrical Considerations Data Transfer Synchronization Bus Arbitration VME Bus Local Buses PCI Bus PCI Bus Variants Serial Buses 1 Most of the integrated I/O subsystems are connected to the

More information

STANDARD I/O INTERFACES

STANDARD I/O INTERFACES STANDARD I/O INTERFACES The processor bus is the bus defied by the signals on the processor chip itself. Devices that require a very high-speed connection to the processor, such as the main memory, may

More information

CSC227: Operating Systems Fall Chapter 1 INTERRUPTS. Dr. Soha S. Zaghloul

CSC227: Operating Systems Fall Chapter 1 INTERRUPTS. Dr. Soha S. Zaghloul CSC227: Operating Systems Fall 2016 Chapter 1 INTERRUPTS Dr. Soha S. Zaghloul LAYOUT 1.3 Devices Controlling Techniques 1.3.1 Polling 1.3.2 Interrupts H/W Interrupts Interrupt Controller Process State

More information

Chapter 7 : Input-Output Organization

Chapter 7 : Input-Output Organization Chapter 7 Input-Output organization 7.1 Peripheral devices In addition to the processor and a set of memory modules, the third key element of a computer system is a set of input-output subsystem referred

More information

Computer System Overview

Computer System Overview Computer System Overview Operating Systems 2005/S2 1 What are the objectives of an Operating System? 2 What are the objectives of an Operating System? convenience & abstraction the OS should facilitate

More information

The control of I/O devices is a major concern for OS designers

The control of I/O devices is a major concern for OS designers Lecture Overview I/O devices I/O hardware Interrupts Direct memory access Device dimensions Device drivers Kernel I/O subsystem Operating Systems - June 26, 2001 I/O Device Issues The control of I/O devices

More information

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2.

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2. BASIC ELEMENTS Simplified view: Processor Slide 1 Computer System Overview Operating Systems Slide 3 Main Memory referred to as real memory or primary memory volatile modules 2004/S2 secondary memory devices

More information

CS152 Computer Architecture and Engineering Lecture 20: Busses and OS s Responsibilities. Recap: IO Benchmarks and I/O Devices

CS152 Computer Architecture and Engineering Lecture 20: Busses and OS s Responsibilities. Recap: IO Benchmarks and I/O Devices CS152 Computer Architecture and Engineering Lecture 20: ses and OS s Responsibilities April 7, 1995 Dave Patterson (patterson@cs) and Shing Kong (shing.kong@eng.sun.com) Slides available on http://http.cs.berkeley.edu/~patterson

More information

Computer Architecture CS 355 Busses & I/O System

Computer Architecture CS 355 Busses & I/O System Computer Architecture CS 355 Busses & I/O System Text: Computer Organization & Design, Patterson & Hennessy Chapter 6.5-6.6 Objectives: During this class the student shall learn to: Describe the two basic

More information

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING QUESTION BANK Subject Code : EC307 Subject Name : Microprocessor and Interfacing Year & Sem : III Year, V Sem

More information

2 MARKS Q&A 1 KNREDDY UNIT-I

2 MARKS Q&A 1 KNREDDY UNIT-I 2 MARKS Q&A 1 KNREDDY UNIT-I 1. What is bus; list the different types of buses with its function. A group of lines that serves as a connecting path for several devices is called a bus; TYPES: ADDRESS BUS,

More information

Interfacing. Introduction. Introduction Addressing Interrupt DMA Arbitration Advanced communication architectures. Vahid, Givargis

Interfacing. Introduction. Introduction Addressing Interrupt DMA Arbitration Advanced communication architectures. Vahid, Givargis Interfacing Introduction Addressing Interrupt DMA Arbitration Advanced communication architectures Vahid, Givargis Introduction Embedded system functionality aspects Processing Transformation of data Implemented

More information

14 CS / IT 403 II/IV B.Tech (Regular)DEGREE EXAMINATION

14 CS / IT 403 II/IV B.Tech (Regular)DEGREE EXAMINATION 14 CS / IT 403 II/IV B.Tech (Regular)DEGREE EXAMINATION JUNE,2016 Fourth Semester Time:Three Hours Answer Question No 1 Compulsorily. Answer ONE Question from each unit. Computer Organization Maximum:

More information

Week 11 Programmable Interrupt Controller

Week 11 Programmable Interrupt Controller Week 11 Programmable Interrupt Controller 8259 Programmable Interrupt Controller The 8259 programmable interrupt controller (PIC) adds eight vectored priority encoded interrupts to the microprocessor.

More information

1. What is Microprocessor? Give the power supply & clock frequency of 8085?

1. What is Microprocessor? Give the power supply & clock frequency of 8085? 1. What is Microprocessor? Give the power supply & clock frequency of 8085? A microprocessor is a multipurpose, programmable logic device that reads binary instructions from a storage device called memory

More information

Chapter 3 - Top Level View of Computer Function

Chapter 3 - Top Level View of Computer Function Chapter 3 - Top Level View of Computer Function Luis Tarrataca luis.tarrataca@gmail.com CEFET-RJ L. Tarrataca Chapter 3 - Top Level View 1 / 127 Table of Contents I 1 Introduction 2 Computer Components

More information

Computer Architecture and Organization (CS-507)

Computer Architecture and Organization (CS-507) Computer Architecture and Organization (CS-507) Muhammad Zeeshan Haider Ali Lecturer ISP. Multan ali.zeeshan04@gmail.com https://zeeshanaliatisp.wordpress.com/ Lecture 4 Basic Computer Function, Instruction

More information

Introduction to Embedded System I/O Architectures

Introduction to Embedded System I/O Architectures Introduction to Embedded System I/O Architectures 1 I/O terminology Synchronous / Iso-synchronous / Asynchronous Serial vs. Parallel Input/Output/Input-Output devices Full-duplex/ Half-duplex 2 Synchronous

More information

Topics. Interfacing chips

Topics. Interfacing chips 8086 Interfacing ICs 2 Topics Interfacing chips Programmable Communication Interface PCI (8251) Programmable Interval Timer (8253) Programmable Peripheral Interfacing - PPI (8255) Programmable DMA controller

More information

Computer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM

Computer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM i SYLLABUS UNIT - 1 CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS Computer Types, Functional Units, Basic Operational Concepts, Bus Structures, Software, Performance, Multiprocessors and Multicomputers, Historical

More information

PC Interrupt Structure and 8259 DMA Controllers

PC Interrupt Structure and 8259 DMA Controllers ELEC 379 : DESIGN OF DIGITAL AND MICROCOMPUTER SYSTEMS 1998/99 WINTER SESSION, TERM 2 PC Interrupt Structure and 8259 DMA Controllers This lecture covers the use of interrupts and the vectored interrupt

More information

Input Output (IO) Management

Input Output (IO) Management Input Output (IO) Management Prof. P.C.P. Bhatt P.C.P Bhatt OS/M5/V1/2004 1 Introduction Humans interact with machines by providing information through IO devices. Manyon-line services are availed through

More information

b) Write basic performance equation.

b) Write basic performance equation. 1. a) What is use of buffers? Ans: The Buffer Register prevents the high speed processor from being locked to a slow I/O device during a sequence of data transfer or reduces speed mismatch between faster

More information

SRI VIDYA COLLEGE OF ENGINEERING AND TECHNOLOGY,VIRUDHUNAGAR

SRI VIDYA COLLEGE OF ENGINEERING AND TECHNOLOGY,VIRUDHUNAGAR Year/sem: 02/04 Academic Year: 2014-2015 (even) UNIT II THE 8086 SYSTEM BUS STRUCTURE PART A 1. What are the three groups of signals in 8086? The 8086 signals are categorized in three groups. They are:

More information

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085. (1) Draw and explain the internal architecture of 8085. The architecture of 8085 Microprocessor is shown in figure given below. The internal architecture of 8085 includes following section ALU-Arithmetic

More information

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers 1. Define microprocessors? UNIT-I A semiconductor device(integrated circuit) manufactured by using the LSI technique. It includes

More information

Chapter 6. I/O issues

Chapter 6. I/O issues Computer Architectures Chapter 6 I/O issues Tien-Fu Chen National Chung Cheng Univ Chap6 - Input / Output Issues I/O organization issue- CPU-memory bus, I/O bus width A/D multiplex Split transaction Synchronous

More information

SEMICON Solutions. Bus Structure. Created by: Duong Dang Date: 20 th Oct,2010

SEMICON Solutions. Bus Structure. Created by: Duong Dang Date: 20 th Oct,2010 SEMICON Solutions Bus Structure Created by: Duong Dang Date: 20 th Oct,2010 Introduction Buses are the simplest and most widely used interconnection networks A number of modules is connected via a single

More information

Chapter 8. A Typical collection of I/O devices. Interrupts. Processor. Cache. Memory I/O bus. I/O controller I/O I/O. Main memory.

Chapter 8. A Typical collection of I/O devices. Interrupts. Processor. Cache. Memory I/O bus. I/O controller I/O I/O. Main memory. Chapter 8 1 A Typical collection of I/O devices Interrupts Cache I/O bus Main memory I/O controller I/O controller I/O controller Disk Disk Graphics output Network 2 1 Interfacing s and Peripherals I/O

More information

Input/Output Introduction

Input/Output Introduction Input/Output 1 Introduction Motivation Performance metrics Processor interface issues Buses 2 Page 1 Motivation CPU Performance: 60% per year I/O system performance limited by mechanical delays (e.g.,

More information

Introduction. Motivation Performance metrics Processor interface issues Buses

Introduction. Motivation Performance metrics Processor interface issues Buses Input/Output 1 Introduction Motivation Performance metrics Processor interface issues Buses 2 Motivation CPU Performance: 60% per year I/O system performance limited by mechanical delays (e.g., disk I/O)

More information

Question Bank Microprocessor and Microcontroller

Question Bank Microprocessor and Microcontroller QUESTION BANK - 2 PART A 1. What is cycle stealing? (K1-CO3) During any given bus cycle, one of the system components connected to the system bus is given control of the bus. This component is said to

More information

Unit 1. Chapter 3 Top Level View of Computer Function and Interconnection

Unit 1. Chapter 3 Top Level View of Computer Function and Interconnection Unit 1 Chapter 3 Top Level View of Computer Function and Interconnection Program Concept Hardwired systems are inflexible General purpose hardware can do different tasks, given correct control signals

More information

8086 Interrupts and Interrupt Responses:

8086 Interrupts and Interrupt Responses: UNIT-III PART -A INTERRUPTS AND PROGRAMMABLE INTERRUPT CONTROLLERS Contents at a glance: 8086 Interrupts and Interrupt Responses Introduction to DOS and BIOS interrupts 8259A Priority Interrupt Controller

More information

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 09, SPRING 2013

CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 09, SPRING 2013 CMSC 313 COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE PROGRAMMING LECTURE 09, SPRING 2013 TOPICS TODAY I/O Architectures Interrupts Exceptions FETCH EXECUTE CYCLE 1.7 The von Neumann Model This is a general

More information

Input/Output Systems

Input/Output Systems Input/Output Systems CSCI 315 Operating Systems Design Department of Computer Science Notice: The slides for this lecture have been largely based on those from an earlier edition of the course text Operating

More information

Module 3. Embedded Systems I/O. Version 2 EE IIT, Kharagpur 1

Module 3. Embedded Systems I/O. Version 2 EE IIT, Kharagpur 1 Module 3 Embedded Systems I/O Version 2 EE IIT, Kharagpur 1 Lesson 15 Interrupts Version 2 EE IIT, Kharagpur 2 Instructional Objectives After going through this lesson the student would learn Interrupts

More information

Design with Microprocessors

Design with Microprocessors Design with Microprocessors Year III Computer Science 1-st Semester Lecture 11: I/O transfer with x86 I/O Transfer I/O Instructions We discussed IN, OUT, INS and OUTS as instructions for the transfer of

More information

(Advanced) Computer Organization & Architechture. Prof. Dr. Hasan Hüseyin BALIK (3 rd Week)

(Advanced) Computer Organization & Architechture. Prof. Dr. Hasan Hüseyin BALIK (3 rd Week) + (Advanced) Computer Organization & Architechture Prof. Dr. Hasan Hüseyin BALIK (3 rd Week) + Outline 2. The computer system 2.1 A Top-Level View of Computer Function and Interconnection 2.2 Cache Memory

More information

EE108B Lecture 17 I/O Buses and Interfacing to CPU. Christos Kozyrakis Stanford University

EE108B Lecture 17 I/O Buses and Interfacing to CPU. Christos Kozyrakis Stanford University EE108B Lecture 17 I/O Buses and Interfacing to CPU Christos Kozyrakis Stanford University http://eeclass.stanford.edu/ee108b 1 Announcements Remaining deliverables PA2.2. today HW4 on 3/13 Lab4 on 3/19

More information

Input / Output. School of Computer Science G51CSA

Input / Output. School of Computer Science G51CSA Input / Output 1 Overview J I/O module is the third key element of a computer system. (others are CPU and Memory) J All computer systems must have efficient means to receive input and deliver output J

More information

Module 6: INPUT - OUTPUT (I/O)

Module 6: INPUT - OUTPUT (I/O) Module 6: INPUT - OUTPUT (I/O) Introduction Computers communicate with the outside world via I/O devices Input devices supply computers with data to operate on E.g: Keyboard, Mouse, Voice recognition hardware,

More information

Buses. Disks PCI RDRAM RDRAM LAN. Some slides adapted from lecture by David Culler. Pentium 4 Processor. Memory Controller Hub.

Buses. Disks PCI RDRAM RDRAM LAN. Some slides adapted from lecture by David Culler. Pentium 4 Processor. Memory Controller Hub. es > 100 MB/sec Pentium 4 Processor L1 and L2 caches Some slides adapted from lecture by David Culler 3.2 GB/sec Display Memory Controller Hub RDRAM RDRAM Dual Ultra ATA/100 24 Mbit/sec Disks LAN I/O Controller

More information

Chapter 8. Input Output Organization

Chapter 8. Input Output Organization Chapter 8 Input Output Organization 8.1 Introduction: In the design of a simple computer, we assumed one input device and one output device transferring data in and out of the accumulator using a programmed

More information

Unit DMA CONTROLLER 8257

Unit DMA CONTROLLER 8257 DMA CONTROLLER 8257 In microprocessor based system, data transfer can be controlled by either software or hardware. To transfer data microprocessor has to do the following tasks: Fetch the instruction

More information

Chapter Operation Pinout Operation 35

Chapter Operation Pinout Operation 35 68000 Operation 35 Chapter 6 68000 Operation 6-1. 68000 Pinout We will do no construction in this chapter; instead, we will take a detailed look at the individual pins of the 68000 and what they do. Fig.

More information

操作系统概念 13. I/O Systems

操作系统概念 13. I/O Systems OPERATING SYSTEM CONCEPTS 操作系统概念 13. I/O Systems 东南大学计算机学院 Baili Zhang/ Southeast 1 Objectives 13. I/O Systems Explore the structure of an operating system s I/O subsystem Discuss the principles of I/O

More information

Interface Synthesis. Communication Synthesis

Interface Synthesis. Communication Synthesis 2002-05-02 1 erface Synthesis Kris Kuchcinski Krzysztof.Kuchcinski@cs.lth.se Communication Synthesis After system partitioning we got a set of tasks assigned to system components (processors executing

More information

William Stallings Computer Organization and Architecture 10 th Edition Pearson Education, Inc., Hoboken, NJ. All rights reserved.

William Stallings Computer Organization and Architecture 10 th Edition Pearson Education, Inc., Hoboken, NJ. All rights reserved. + William Stallings Computer Organization and Architecture 10 th Edition 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. 2 + Chapter 3 A Top-Level View of Computer Function and Interconnection

More information

1. Internal Architecture of 8085 Microprocessor

1. Internal Architecture of 8085 Microprocessor 1. Internal Architecture of 8085 Microprocessor Control Unit Generates signals within up to carry out the instruction, which has been decoded. In reality causes certain connections between blocks of the

More information

L12: I/O Systems. Name: ID:

L12: I/O Systems. Name: ID: L12: I/O Systems Name: ID: Synchronous and Asynchronous Buses Synchronous Bus (e.g., processor-memory buses) Includes a clock in the control lines and has a fixed protocol for communication that is relative

More information

CS 134. Operating Systems. April 8, 2013 Lecture 20. Input/Output. Instructor: Neil Rhodes. Monday, April 7, 14

CS 134. Operating Systems. April 8, 2013 Lecture 20. Input/Output. Instructor: Neil Rhodes. Monday, April 7, 14 CS 134 Operating Systems April 8, 2013 Lecture 20 Input/Output Instructor: Neil Rhodes Hardware How hardware works Operating system layer What the kernel does API What the programmer does Overview 2 kinds

More information

MICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output

MICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output 8085 SATISH CHANDRA What is a Microprocessor? The word comes from the combination micro and processor. Processor means a device that processes whatever. In this context, processor means a device that processes

More information

GUJARAT TECHNOLOGICAL UNIVERSITY MASTER OF COMPUTER APPLICATION SEMESTER: III

GUJARAT TECHNOLOGICAL UNIVERSITY MASTER OF COMPUTER APPLICATION SEMESTER: III GUJARAT TECHNOLOGICAL UNIVERSITY MASTER OF COMPUTER APPLICATION SEMESTER: III Subject Name: Operating System (OS) Subject Code: 630004 Unit-1: Computer System Overview, Operating System Overview, Processes

More information

Buses. Maurizio Palesi. Maurizio Palesi 1

Buses. Maurizio Palesi. Maurizio Palesi 1 Buses Maurizio Palesi Maurizio Palesi 1 Introduction Buses are the simplest and most widely used interconnection networks A number of modules is connected via a single shared channel Microcontroller Microcontroller

More information

Chapter 13: I/O Systems. Operating System Concepts 9 th Edition

Chapter 13: I/O Systems. Operating System Concepts 9 th Edition Chapter 13: I/O Systems Silberschatz, Galvin and Gagne 2013 Chapter 13: I/O Systems Overview I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware Operations

More information

EC 6504 Microprocessor and Microcontroller. Unit II System Bus Structure

EC 6504 Microprocessor and Microcontroller. Unit II System Bus Structure EC 6504 Microprocessor and Microcontroller Unit II 8086 System Bus Structure Syllabus: 8086 Signals Basic Configurations System bus timing System Design using 8086 IO Programming Introduction to multiprogramming

More information

Q.2 a. What are basic operational concepts? Explain. (6)

Q.2 a. What are basic operational concepts? Explain. (6) Q.2 a. What are basic operational concepts? Explain. (6) Basic operational concepts-to perform a given task an appropriate program consisting of a list of instructions is stored in the memory. Individual

More information

I/O Handling. ECE 650 Systems Programming & Engineering Duke University, Spring Based on Operating Systems Concepts, Silberschatz Chapter 13

I/O Handling. ECE 650 Systems Programming & Engineering Duke University, Spring Based on Operating Systems Concepts, Silberschatz Chapter 13 I/O Handling ECE 650 Systems Programming & Engineering Duke University, Spring 2018 Based on Operating Systems Concepts, Silberschatz Chapter 13 Input/Output (I/O) Typical application flow consists of

More information

The D igital Digital Logic Level Chapter 3 1

The D igital Digital Logic Level Chapter 3 1 The Digital Logic Level Chapter 3 1 Gates and Boolean Algebra (1) (a) A transistor inverter. (b) A NAND gate. (c) A NOR gate. 2 Gates and Boolean Algebra (2) The symbols and functional behavior for the

More information