SYSTEM BUSES. A computer consists of CPU (central processing unit) memory I/O components.

Size: px
Start display at page:

Download "SYSTEM BUSES. A computer consists of CPU (central processing unit) memory I/O components."

Transcription

1 Eastern Mediterranean University School of Computing and Technology CSIT 255 Computer Organization & Architecture SYSTEM BUSES 1 Introduction A computer consists of CPU (central processing unit) memory I/O components. These components are interconnected in some fashion to achieve basic function of computer. 2 Introduction At a top level, we can describe a computer system by 1. Describing external behavior of each component, that is, data and control signals that it exchanges with other components 2. Describing interconnection structure and controls required to manage use of interconnection structure. 3 Computer Components Von Neumann architecture is based on three key concepts: Data and instructions are stored in a single read-write memory. Contents of this memory are addressable by location, without regard to the type of data contained there. Execution occurs in a sequential fashion from one instruction to the next. 4

2 Computer Components We can think of process of connecting various components in desired configuration as a form of programming. Two approaches to programming: Hardwired programming. Constructing a configuration of hardware logical components to perform a particular set of arithmetic and logic operations on a set of data. 5 Computer Components Software. A sequence of codes or instructions, each of which supply necessary control signals to a general-purpose configuration of control and logical functions. Form CPU 6 Computer Components Several other components are needed to yield a functioning computer: I/O Components. A means to Accept data and instructions in some form and convert to an internal form of signals usable by system in form of an input module. Report results in form of an output module. 7 Computer Components Main memory Distinguished from external storage/peripherals. A place to temporarily store both: o Instructions. Data interpreted as codes for generating control signals. o Data. Data upon which components are performed. 8

3 Computer Components CPU exchanges data with memory. For this purpose, it typically makes use of: address register (MAR). Specifies address for next read or write. buffer register (MBR). Contains data to be written into or receives data read from memory. I/O address register (I/OAR). Specifies a particular I/O device. I/O buffer register (I/OBR). Used for exchange of data between an I/O module and CPU (or memory). module. A set of locations defined by sequentially numbered addresses. each location holds a binary number that can be either an instruction or data. 9 Computer Components 10 Basic function performed by a computer is execution of a program, which consists of a set of instructions stored in memory. Processor does actual work by executing instructions specified in program. Processing required for a single instruction is called an instruction cycle. 11 Instruction processing consists of two steps: Fetch. CPU reads an instruction from a location in memory. Program counter (PC) register keeps track of which instruction executes next. Normally, CPU increments PC after each fetch. Fetched instructions is loaded into instruction register (IR). 12

4 Execute. CPU executes instruction. Instruction execution may involve several operations. Instruction in instruction register (IR) specifies action, processor is to take. In general, these actions are: o CPU-. Data may be transferred from CPU to memory or vice-versa. o CPU-I/O. Data may be transferred between CPU and I/O module. o Data processing. CPU may perform some arithmetic or logical operation on data. o Control. An instruction may specify that sequence of execution be altered Consider a simple example using hypothetical machine where processor contains a single data register called an accumulator (AC). Both instruction and data are 16 bit long. 15 Next figure illustrates a partial program execution, showing relevant portions of memory and processor register where hexadecimal notation is used, in which each digit represents 4 bits. Program fragment shown adds contents of memory word at address 940 to content of memory word at address 941 and stores result at address

5 1. PC contains 300, address of first instruction. This instruction (value 1940 in hexadecimal) is loaded into instruction register IR and PC is incremented. 2. First 4 bits (first hexadecimal digit (1)) in IR indicates that AC is to be loaded. Remaining 12 bits (3 hexadecimal digits) specify the address (940) from which data are to be used. 3. Next instruction (5941) is fetched from location 301 and PC is incremented. 4. Old contents of AC and content of location 941 are added and result is stored in AC. 5. Next instruction (2941) is fetched from location 302 and PC is incremented. 6. Content of AC are stored in location In this example, three instruction cycles, each consisting of a fetch cycle and an execute cycle, are needed to add content of location 940 to content of 941. With a more complex set of instructions, fewer cycles would be needed since Instructions may combine these categories. Execution cycle may perform more than one reference to memory. An instruction may specify I/O operation instead of memory reference. An instruction may specify an operation to be performed on a vector of numbers or a string of characters. 19 Expanded execution cycle includes: Instruction address calculation (iac). Determine address of next instruction. Instruction fetch (if). Read instruction from its memory location into processor. Instruction operation decoding (iod). Analyze instruction to determine operation type and operands. Operand address calculation (oac). If operation involves reference to an operand in memory or available via I/O, then determine address of operand. Operand fetch (of). Fetch operand from memory or read it in from I/O. Data operation (do). Perform indicated operation. Operand store (os). Write result into memory or out to I/O. 20

6 Interrupts Virtually all computers provide mechanism by which other modules (I/O, memory) may interrupt normal processing of processor. Interrupts are provided primarily as a way to improve processing efficiency. The most common classes of interrupts: Program. As a result of program execution. Timer. Generated by hardware timer within processor. I/O. To signal completion of I/O or error. Hardware failure. Generated by a failure such as power failure or memory parity error. 21 Interrupts Most external devices are much slower than processor. Suppose that processor is transferring data to a printer using instruction cycle. After each write operation, processor must pause and remain idle until printer catches up. Length of this pause may be order of many hundreds or even thousands of instruction cycles that do not involve memory. This is a very wasteful use of processor. 22 Without Interrupts Figure illustrates this state of affairs. Code segments 1, 2 and 3 refer to sequence of instructions that do not involve I/O. WRITE calls are to an I/O program that is a system utility and that will perform actual I/O operation. I/O program consists of 3 sections: A sequence of instructions (4) to prepare for actual I/O operation. Actual I/O programming. A sequence of instructions (5) to complete operation. Because I/O operation may take a relatively long time to complete, I/O program is hung up waiting for operation to complete; hence user program is stopped at point of WRITE call for some considerable period of time. 23 Interrupts With interrupts, processor can be engaged in executing other instructions while an I/O operation is in operation. I/O program that is invoked in this case consists only of preparation code and actual I/O command. After these few instructions have been executed, control returns to user program. Meanwhile external device is busy accepting data from computer memory and printing it. This I/O operation is conducted concurrently with execution of instructions in user program. When external device is ready to accept more data from processor, I/O module sends an interrupt request signal to processor. Processor responds by suspending operation of current program, branching off to a program to service that particular I/O device, known as interrupt handler. 24

7 Interrupts From point of view of user program, an interrupt is just that: an interruption of normal sequence of execution. When interrupt processing is completed, execution resumes at the same point. 25 Interrupts To accommodate interrupts, an interrupt cycle is added to instruction cycle. In interrupt cycle, processor checks to see if any interrupts have occurred, indicated by presence of an interrupt signal. 26 Interrupts When an interrupt signal is generated, processor: Suspends execution of current program and saves its context (such as PC and other registers). Sets PC to starting address on an interrupt handler routine. Processor now proceeds to fetch cycle and fetches first instruction in interrupt handler program. Processor can be employed much more efficiently with use of interrupts. 27 Interrupts Timing diagram based on flow of control without interrupts: 28

8 Interrupts Timing diagram based on flow of control with interrupts: 29 Interrupts Timing diagram based on flow of control with interrupts: 30 Multiple Interrupts Multiple interrupts can also occur. Two approaches can be taken to deal with multiple interrupts: Disable interrupts Processor will ignore further interrupts at same time as processing one interrupt. Interrupts remain pending and are checked after first interrupt has been processed. Interrupts handled in sequence as they occur. Define priorities Low priority interrupts can be interrupted by higher priority interrupts. When higher priority interrupt has been processed, processor returns to previous interrupt. 31 Multiple Interrupts (a) Sequential interrupt processing (Disabled interrupt). (b) Nested interrupt processing (Define priorities). 32

9 Example Time Sequence of Multiple Interrupts: Define Priorities Consider a system with 3 I/O devices: a printer (priority:2), a disk (priority:4), a communications line (priority:5). A user program begins at t=0. At t=10, a printer interrupt occurs. While printer interrupt at t=15, a communications line interrupt occurs. While communications line interrupt at t=20, a disk interrupt occurs. At t=40 after completing all of interrupts, control returns to user program. 33 Interconnection Structures Collection of paths connecting various modules of a computer (CPU, memory, I/O) is called the interconnection structure. Interconnection structure must support following types of transfers: to CPU. Processor reads an instruction or a unit of data from memory. CPU to memory. Processor writes a unit of data to memory. I/O to CPU. Processor reads data from an I/O device. CPU to I/O. Processor sends data to an I/O device. I/O to or from memory. An I/O module is allowed to exchange directly with memory, without going through processor, using Direct Access (DMA). 34 Bus Interconnection A bus is a shared transmission medium that connects two or more devices. A bus Must only be used by one device at a time. When used to connect major computer components (CPU, memory, I/O) is called a system bus. A system bus consists of from about 50 to hundreds of separate lines. Each line is assigned a particular meaning or function. 35 Bus Interconnection On any bus, lines can be classified into three functional groups: Data lines (data bus). Move data between system modules. Width (number of lines: 8, 16, 32, 64) is a key factor in determining overall system performance. Address lines. Designate source or destination of data on data bus. Width determines maximum possible memory capacity of system. Also used to address I/O ports. Typically: o High-order bits are used to select a particular module on bus. o Lower-order bits select a memory location or I/O port within module. 36

10 Bus Interconnection Control lines. Control access to and use of data and address lines. Typical control lines include: write. Causes data on bus to be written into addressed location. read. Causes data from addressed location to be placed on bus. I/O write. Causes data on bus to be output to addressed I/O port. I/O read. Causes data from addressed I/O port to be placed on bus. Transfer ACK. Indicates that data have been accepted from or placed on bus. 37 Bus Interconnection Bus request. Indicates that a module needs to gain control of bus. Bus grant. Indicates that a requesting module has been granted control of bus. Interrupt request. Indicates that an interrupt is pending. Interrupt ACK. Acknowledges that pending interrupt has been recognized. Clock. Used to synchronize operations. Reset. Initializes all modules. 38 Bus Interconnection Schemes 39 Bus Interconnection Operation of bus is as follows: If one module wishes to send data to another, it must: Obtain use of bus. Transfer data via bus. If one module wishes to request data from another, it must: Obtain use of bus. Transfer a request to other module over control and address lines. Wait for second module to send data. 40

11 Bus Interconnection Typical physical arrangement of a system bus: A system bus is a number of parallel electrical conductors. Each system component taps into some or all of bus lines (usually with a slotted conductor). A small system can be expanded by adding more boards. If a component on a board fails, that board can be removed and replaced. 41 Multiple-Bus Hierarchies If a great number of devices are connected to bus, performance will suffer. There are two main causes: Propagation delay. Time it takes for devices to coordinate use of bus. Bus may become a bottleneck as total data transfer demand approaches capacity of bus. Most computers systems use multiple buses, generally laid out in a hierarchy. 42 Multiple-Bus Hierarchies Traditional hierarchical bus architecture: There is a local bus that connects processor to a cache memory and that may support one or more local devices. Use of a cache structure insulates CPU from frequent accesses to main memory. Main memory can be moved off local bus onto a system bus. It is possible to connect I/O controllers directly onto system bus. A more efficient solution is to make use one or more expansion buses for this purpose. An expansion bus interface buffers data transfers between system bus and I/O controllers on expansion bus. An expansion bus interface insulates memory-toprocessor traffic from I/O traffic. 43 Traditional Hierarchical Bus Architecture Example 44

12 Multiple-Bus Hierarchies: High-performance Hierarchical Bus Architecture Traditional hierarchical bus breaks down as higher and higher performance is seen in I/O devices. Solution to this is to incorporate a high-speed bus Specifically designed to support high-capacity I/O devices. Brings high-demand devices into closer integration with processor and at the same time is independent of processor. Changes in processor architecture do not affect highspeed bus and vice-versa. This arrangement is sometimes known as a mezzanine architecture. 45 High-performance Hierarchical Bus Architecture Example 46 Elements of Bus Design There are a few basic parameters or design elements that serve to classify and differentiate buses: Bus type. Bus lines can be separated into two types: Dedicated. A line is permanently assigned either to one function or to a physical subset of computer components. Time multiplexing. Using same lines for multiple purposes (different purposes at different times). o Uses fewer lines, saving space and cost. o But more complex circuitry require in each module. o But potential reduction in performance since certain events that share lines cannot take place in parallel. 47 Elements of Bus Design Method of arbitration. Determining who can use bus at a particular time. Centralized. A single hardware device called bus controller or arbiter allocates time on bus. Distributed. Each module contains access control logic and modules act together to share bus. Both methods designate one device (either CPU or an I/O module) as master, which may initiate a data transfer with some other device which acts as a slave. 48

13 Elements of Bus Design Timing. Refers to way in which events are coordinated on bus. Synchronous timing. Occurrence of events on bus is determined by a clock. o Bus includes a clock line upon which a clock transmits a regular sequence of alternating 1s and 0s of equal duration. o A single 1-0 transmission is referred to as a clock cycle or bus cycle and defines a time slot. o All other devices on bus can read clock line and all events start at beginning of a clock cycle. 49 Timing Diagram for Synchronous Read and Write Operations Processor places a memory address on address lines during first cycle and may declare various status lines. Once address line have stabilized, processor issues an address enable signal. For a read operation, processor issues a read command at start of second cycle. A memory module recognizes address and after a delay of a one cycle, places data on data lines. For a write operation, processor puts data on data lines at start of second cycle and issues a write command after data lines have stabilized. module copies information from data lines during third clock cycle. 50 Timing Diagrams There are two different signal levels representing binary 0 and binary 1. A signal transition on one line may trigger an attached device to make signal changes on other lines. Arrows are used on timing diagrams to show these dependencies. Overbar over signal name indicates that signal is active low. Signals are sometimes represented in groups. For example, if data are transmitted a byte at a time then eight lines are required. It is not important to know exactly value being transferred on such a group, but rather whether signals are present or not. A clock line is often part of a system bus. An electronic clock is connected to clock line and provides a repetitive, regular sequence of transitions. 51 Elements of Bus Design Asynchronous timing. Occurrence of one event on a bus follows and depends on occurrence of a previous event. o Allows system to take advantage of advance in device performance by having a mixture of slow and fast devices, using older and newer technology, sharing same bus. o But harder to implement and test than synchronous timing. 52

14 Timing Diagram for Asynchronous Read Operations Processor places address and status signals on the bus. After pausing for these signals to stabilize, it issues a read command, indicating presence of valid address and control signals. Appropriate memory decodes address and responds by placing data on data line. Once data lines have stabilized, memory module asserts acknowledged line to signal processor that data are available. 53 Timing Diagram for Asynchronous Write Operations Master places data on data line at same time that is puts signals on status and address lines. module responds to write command by copying data from data lines and then asserting acknowledge line. 54 Elements of Bus Design Bus width. Width of data bus has an impact on system performance. Wider data bus, the greater the number of bits transferred at one time. Wider address bus, the greater the range of locations that can be referenced. 55 Elements of Bus Design Data transfer type. All buses support both write (master to slave) and read (slave to master) transfers. Data (2nd cycle) 56

15 Elements of Bus Design Combination operations o Read-modify-write A read followed immediately by a write to same address. Address is only broadcast once, at beginning of operation. Indivisible, to prevent access to data element by other potential bus masters. Principle purpose is to protect shared memory in a multiprogramming system. o Read-after-write. Indivisible operation consisting of a write followed immediately by a read from same address (for error checking purposes). 57 Elements of Bus Design o Block data transfer. Some bus systems also support a block data transfer. In this case, One address cycle followed by n data cycles. First data item is transferred to or from specified address. Remaining data items are transferred to or from subsequent addresses. 58 Peripheral component interconnect (PCI) Peripheral component interconnection (PCI) Is a high-bandwidth Is processor independent Can function as a mezzanine or peripheral bus PCI delivers better system performance for high-speed I/O subsystems. Current standard Allows use of up 64 data lines at 66 MHZ. Requires very few chips to implement. Supports other buses attached to PCI bus. Public domain, initially developed by Intel to support Pentiumbased systems. Supports a variety of microprocessor-based configurations, including multiple-processors. Uses synchronous timing and centralized arbitration. 59 Peripheral component interconnect (PCI) Typical desktop system (a single processor system) Note: Bridge acts as a data buffer so that speed of PCI bus may differ from that of processor s I/O capability. 60

16 Peripheral component interconnect (PCI) Typical server system (a multiprocessor system) Note: In a multiprocessor system, one or more PCI configurations may be connected by bridges to processor s system bus. 61 Peripheral component interconnect (PCI) There are 51 optional signal lines for PCI, divided into following groups: Interrupt pins. Not shared, each PCI device has its own interrupt line or lines to an interrupt controller. Cache support pins. Support a memory on PCI that can be cached in processor or another device. 64-bit bus extension pins. 32 additional time-multiplexed lines for addresses and data, plus lines to interpret and validate these and to provide agreement between two PCI devices on use of these. JTAG/boundary scan pins. Support testing produces from IEEE Standard Peripheral component interconnect (PCI) Every data transfer on PCI bus is a single transaction of one address phase and one or more data phases. 63 System Bus The old Architecture In original PC design CPU, RAM and I/O devices were connected on one and the same bus, and everything ran synchronously (at a common speed). In original PC architecture, there was only one bus with one speed. 64

17 First Division of System Bus System bus is seperated from I/O bus, so that two buses could work at different clock frequencies. By letting CPU and RAM work on their own bus, independent of I/O devices, their speeds could be increased. With this architecture, I/O bus is separate from system bus (80386). 65 System Bus Clock Doubling With introduction of 80486, CPU clock frequency could be increased so much that RAM could no longer keep up. Intel therefore began to use clock doubling in processor. RAM available at time couldn t keep up with 66 MHz speed at which an could work. Solution was to give CPU two working speeds. An external clock frequency An internal clock frequency 66 System Bus Clock Doubling Inside processor, clock frequency of system bus is multiplied by a factor of 2, doubling working speed. Since RAM only works half as fast as CPU, 486 was given a built-in cache, to reduce imbalance between slow RAM and fast processor. Cache ensures greater efficiency in transfer of data to CPU. Bus system for an processor. 67 System Bus Clock Doubling Clock doubling made it possible to develop processors with higher clock frequencies. At time Pentium was introduced, new RAM modules became available, and system bus was increased to 66 MHz. 68

18 System Bus Clock Doubling In case of Pentium II and III, system bus was increased to 100 and 133 MHz, with internal clock frequency set to a multiple of these. Bus system for a Pentium III processor. 69 Review Questions 70 Exercise Review Question 1 1 Suppose the hypothetical machine of Figure 1.1. Show the program execution using Figure 1.2 for the following program: 1. Load AC from memory location Subtract content of memory location 551 from AC. 3. Store AC to memory location. Assume that the values retrieved from memory location 550 is 9 and the values retrieved from memory location 551 is Opcode Address (a) Instruction format Program counter (PC) = Address of instruction Instruction register (IR) = Instruction being executed Accumulator (AC) = Temporary storage (c) Internal S Magnitude (b) Integer format Figure 1.1 Characteristics of a hypothetical machine 0001 = Load AC from memory 0010 = Store AC to memory 0101 = Add to AC from memory 0110 = Subtract memory from AC (d) Partial list of opcodes 71 Review Question 1 Figure 1.2 Program execution PC AC IR Step 1 PC AC IR Step 3 PC AC IR Step PC AC IR Step 2 PC AC IR Step 4 PC AC IR Step 6 72

19 Solution Review Question 1 Figure 1.2 Program execution PC AC 1550 IR Step PC 0009 AC 6551 IR Step PC 0003 AC 2 IR Step PC 0009 AC 1550 IR Step PC 0003 AC 6551 IR Step PC 0003 AC 2 IR Step 6 73 Review Question 2 Consider a system with three I/O devices as A printer: Priority = 2 A disk: Priority = 4 A communication line: Priority = 5 Suppose that a user program begins and a disk interrupt occurs. While disk interrupt carries on, a communication line interrupt occurs. Then while communication interrupt carries on, a printer interrupt occurs. After completing all of interrupts, control returns to user program. i. Assume a sequential interrupt processing and draw the sequence diagrams showing transfer of control. ii. Assume a nested interrupt processing and draw the sequence diagrams showing transfer of control. 74 A printer: Priority = 2 A disk: Priority = 4 A communication line: Priority = 5 Suppose that a user program begins and a disk interrupt occurs. While disk interrupt carries on, a communication line interrupt occurs. Then while communication interrupt carries on, a printer interrupt occurs. After completing all of interrupts, control returns to user program. i. Assume a sequential interrupt processing and draw the sequence diagrams showing transfer of control. Solution Review Question 2 User Program Disk Interrupt Communication Interrupt Printer Interrupt 75 A printer: Priority = 2 A disk: Priority = 4 A communication line: Priority = 5 Suppose that a user program begins and a disk interrupt occurs. While disk interrupt carries on, a communication line interrupt occurs. Then while communication interrupt carries on, a printer interrupt occurs. After completing all of interrupts, control returns to user program. ii. Assume a nested interrupt processing and draw the sequence diagrams showing transfer of control. Solution Review Question 2 User Program Disk Interrupt Communication Interrupt Printer Interrupt 76

Chapter 1 Computer System Overview

Chapter 1 Computer System Overview Operating Systems: Internals and Design Principles Chapter 1 Computer System Overview Eighth Edition By William Stallings Operating System Exploits the hardware resources of one or more processors Provides

More information

150127-Microprocessor & Assembly Language

150127-Microprocessor & Assembly Language Chapter 3 Z80 Microprocessor Architecture The Z 80 is one of the most talented 8 bit microprocessors, and many microprocessor-based systems are designed around the Z80. The Z80 microprocessor needs an

More information

MICROPROCESSOR AND MICROCOMPUTER BASICS

MICROPROCESSOR AND MICROCOMPUTER BASICS Introduction MICROPROCESSOR AND MICROCOMPUTER BASICS At present there are many types and sizes of computers available. These computers are designed and constructed based on digital and Integrated Circuit

More information

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to: 55 Topic 3 Computer Performance Contents 3.1 Introduction...................................... 56 3.2 Measuring performance............................... 56 3.2.1 Clock Speed.................................

More information

CHAPTER 4 MARIE: An Introduction to a Simple Computer

CHAPTER 4 MARIE: An Introduction to a Simple Computer CHAPTER 4 MARIE: An Introduction to a Simple Computer 4.1 Introduction 195 4.2 CPU Basics and Organization 195 4.2.1 The Registers 196 4.2.2 The ALU 197 4.2.3 The Control Unit 197 4.3 The Bus 197 4.4 Clocks

More information

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Chapter 2 Basic Structure of Computers Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Outline Functional Units Basic Operational Concepts Bus Structures Software

More information

Central Processing Unit

Central Processing Unit Chapter 4 Central Processing Unit 1. CPU organization and operation flowchart 1.1. General concepts The primary function of the Central Processing Unit is to execute sequences of instructions representing

More information

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2

Advanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2 Lecture Handout Computer Architecture Lecture No. 2 Reading Material Vincent P. Heuring&Harry F. Jordan Chapter 2,Chapter3 Computer Systems Design and Architecture 2.1, 2.2, 3.2 Summary 1) A taxonomy of

More information

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? Inside the CPU how does the CPU work? what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? some short, boring programs to illustrate the

More information

Computer Systems Structure Input/Output

Computer Systems Structure Input/Output Computer Systems Structure Input/Output Peripherals Computer Central Processing Unit Main Memory Computer Systems Interconnection Communication lines Input Output Ward 1 Ward 2 Examples of I/O Devices

More information

Computer Organization. and Instruction Execution. August 22

Computer Organization. and Instruction Execution. August 22 Computer Organization and Instruction Execution August 22 CSC201 Section 002 Fall, 2000 The Main Parts of a Computer CSC201 Section Copyright 2000, Douglas Reeves 2 I/O and Storage Devices (lots of devices,

More information

MICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1

MICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1 MICROPROCESSOR A microprocessor incorporates the functions of a computer s central processing unit (CPU) on a single Integrated (IC), or at most a few integrated circuit. It is a multipurpose, programmable

More information

Read this before starting!

Read this before starting! Points missed: Student's Name: Total score: /100 points East Tennessee State University Department of Computer and Information Sciences CSCI 4717 Computer Architecture TEST 2 for Fall Semester, 2006 Section

More information

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV UNIT I THE 8086 MICROPROCESSOR 1. What is the purpose of segment registers

More information

Central Processing Unit (CPU)

Central Processing Unit (CPU) Central Processing Unit (CPU) CPU is the heart and brain It interprets and executes machine level instructions Controls data transfer from/to Main Memory (MM) and CPU Detects any errors In the following

More information

(Refer Slide Time: 00:01:16 min)

(Refer Slide Time: 00:01:16 min) Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control

More information

Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin

Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin BUS ARCHITECTURES Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin Keywords: Bus standards, PCI bus, ISA bus, Bus protocols, Serial Buses, USB, IEEE 1394

More information

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

COMPUTER HARDWARE. Input- Output and Communication Memory Systems COMPUTER HARDWARE Input- Output and Communication Memory Systems Computer I/O I/O devices commonly found in Computer systems Keyboards Displays Printers Magnetic Drives Compact disk read only memory (CD-ROM)

More information

Computer Organization & Architecture Lecture #19

Computer Organization & Architecture Lecture #19 Computer Organization & Architecture Lecture #19 Input/Output The computer system s I/O architecture is its interface to the outside world. This architecture is designed to provide a systematic means of

More information

Learning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design

Learning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design Learning Outcomes Simple CPU Operation and Buses Dr Eddie Edwards eddie.edwards@imperial.ac.uk At the end of this lecture you will Understand how a CPU might be put together Be able to name the basic components

More information

The Central Processing Unit:

The Central Processing Unit: The Central Processing Unit: What Goes on Inside the Computer Chapter 4 Objectives Identify the components of the central processing unit and how they work together and interact with memory Describe how

More information

CHAPTER 7: The CPU and Memory

CHAPTER 7: The CPU and Memory CHAPTER 7: The CPU and Memory The Architecture of Computer Hardware, Systems Software & Networking: An Information Technology Approach 4th Edition, Irv Englander John Wiley and Sons 2010 PowerPoint slides

More information

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance

Chapter 6. Inside the System Unit. What You Will Learn... Computers Are Your Future. What You Will Learn... Describing Hardware Performance What You Will Learn... Computers Are Your Future Chapter 6 Understand how computers represent data Understand the measurements used to describe data transfer rates and data storage capacity List the components

More information

1. Computer System Structure and Components

1. Computer System Structure and Components 1 Computer System Structure and Components Computer System Layers Various Computer Programs OS System Calls (eg, fork, execv, write, etc) KERNEL/Behavior or CPU Device Drivers Device Controllers Devices

More information

MACHINE ARCHITECTURE & LANGUAGE

MACHINE ARCHITECTURE & LANGUAGE in the name of God the compassionate, the merciful notes on MACHINE ARCHITECTURE & LANGUAGE compiled by Jumong Chap. 9 Microprocessor Fundamentals A system designer should consider a microprocessor-based

More information

PART B QUESTIONS AND ANSWERS UNIT I

PART B QUESTIONS AND ANSWERS UNIT I PART B QUESTIONS AND ANSWERS UNIT I 1. Explain the architecture of 8085 microprocessor? Logic pin out of 8085 microprocessor Address bus: unidirectional bus, used as high order bus Data bus: bi-directional

More information

LSN 2 Computer Processors

LSN 2 Computer Processors LSN 2 Computer Processors Department of Engineering Technology LSN 2 Computer Processors Microprocessors Design Instruction set Processor organization Processor performance Bandwidth Clock speed LSN 2

More information

COMPUTER ARCHITECTURE. Input/Output

COMPUTER ARCHITECTURE. Input/Output HUMBOLDT-UNIVERSITÄT ZU BERLIN INSTITUT FÜR INFORMATIK COMPUTER ARCHITECTURE Lecture 17 Input/Output Sommersemester 2002 Leitung: Prof. Dr. Miroslaw Malek www.informatik.hu-berlin.de/rok/ca CA - XVII -

More information

Chapter 2 Logic Gates and Introduction to Computer Architecture

Chapter 2 Logic Gates and Introduction to Computer Architecture Chapter 2 Logic Gates and Introduction to Computer Architecture 2.1 Introduction The basic components of an Integrated Circuit (IC) is logic gates which made of transistors, in digital system there are

More information

What is a bus? A Bus is: Advantages of Buses. Disadvantage of Buses. Master versus Slave. The General Organization of a Bus

What is a bus? A Bus is: Advantages of Buses. Disadvantage of Buses. Master versus Slave. The General Organization of a Bus Datorteknik F1 bild 1 What is a bus? Slow vehicle that many people ride together well, true... A bunch of wires... A is: a shared communication link a single set of wires used to connect multiple subsystems

More information

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures

Chapter 02: Computer Organization. Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures Chapter 02: Computer Organization Lesson 04: Functional units and components in a computer organization Part 3 Bus Structures Objective: Understand the IO Subsystem and Understand Bus Structures Understand

More information

Lesson Objectives. To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization

Lesson Objectives. To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization Lesson Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization AE3B33OSD Lesson 1 / Page 2 What is an Operating System? A

More information

Operating system Dr. Shroouq J.

Operating system Dr. Shroouq J. 3 OPERATING SYSTEM STRUCTURES An operating system provides the environment within which programs are executed. The design of a new operating system is a major task. The goals of the system must be well

More information

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit. Objectives The Central Processing Unit: What Goes on Inside the Computer Chapter 4 Identify the components of the central processing unit and how they work together and interact with memory Describe how

More information

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX Multiple Choice: 1. Processing information involves: A. accepting information from the outside world. B. communication with another computer. C. performing arithmetic

More information

CPU Organisation and Operation

CPU Organisation and Operation CPU Organisation and Operation The Fetch-Execute Cycle The operation of the CPU 1 is usually described in terms of the Fetch-Execute cycle. 2 Fetch-Execute Cycle Fetch the Instruction Increment the Program

More information

CSCI 4717 Computer Architecture. Function. Data Storage. Data Processing. Data movement to a peripheral. Data Movement

CSCI 4717 Computer Architecture. Function. Data Storage. Data Processing. Data movement to a peripheral. Data Movement CSCI 4717/5717 Computer Architecture Topic: Functional View & History Reading: Sections 1.2, 2.1, & 2.3 Function All computer functions are comprised of four basic operations: Data processing Data storage

More information

Chapter 11 I/O Management and Disk Scheduling

Chapter 11 I/O Management and Disk Scheduling Operating Systems: Internals and Design Principles, 6/E William Stallings Chapter 11 I/O Management and Disk Scheduling Dave Bremer Otago Polytechnic, NZ 2008, Prentice Hall I/O Devices Roadmap Organization

More information

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware A+ Guide to Managing and Maintaining Your PC, 7e Chapter 1 Introducing Hardware Objectives Learn that a computer requires both hardware and software to work Learn about the many different hardware components

More information

COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 5 INPUT/OUTPUT UNIT JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ

COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 5 INPUT/OUTPUT UNIT JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ COMPUTERS ORGANIZATION 2ND YEAR COMPUTE SCIENCE MANAGEMENT ENGINEERING UNIT 5 INPUT/OUTPUT UNIT JOSÉ GARCÍA RODRÍGUEZ JOSÉ ANTONIO SERRA PÉREZ Tema 5. Unidad de E/S 1 I/O Unit Index Introduction. I/O Problem

More information

Let s put together a Manual Processor

Let s put together a Manual Processor Lecture 14 Let s put together a Manual Processor Hardware Lecture 14 Slide 1 The processor Inside every computer there is at least one processor which can take an instruction, some operands and produce

More information

TIMING DIAGRAM O 8085

TIMING DIAGRAM O 8085 5 TIMING DIAGRAM O 8085 5.1 INTRODUCTION Timing diagram is the display of initiation of read/write and transfer of data operations under the control of 3-status signals IO / M, S 1, and S 0. As the heartbeat

More information

Traditional IBM Mainframe Operating Principles

Traditional IBM Mainframe Operating Principles C H A P T E R 1 7 Traditional IBM Mainframe Operating Principles WHEN YOU FINISH READING THIS CHAPTER YOU SHOULD BE ABLE TO: Distinguish between an absolute address and a relative address. Briefly explain

More information

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory. 1 Topics Machine Architecture and Number Systems Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number System Converting from Decimal to Binary Major Computer Components

More information

Chapter 6, The Operating System Machine Level

Chapter 6, The Operating System Machine Level Chapter 6, The Operating System Machine Level 6.1 Virtual Memory 6.2 Virtual I/O Instructions 6.3 Virtual Instructions For Parallel Processing 6.4 Example Operating Systems 6.5 Summary Virtual Memory General

More information

Serial Communications

Serial Communications Serial Communications 1 Serial Communication Introduction Serial communication buses Asynchronous and synchronous communication UART block diagram UART clock requirements Programming the UARTs Operation

More information

Switch Fabric Implementation Using Shared Memory

Switch Fabric Implementation Using Shared Memory Order this document by /D Switch Fabric Implementation Using Shared Memory Prepared by: Lakshmi Mandyam and B. Kinney INTRODUCTION Whether it be for the World Wide Web or for an intra office network, today

More information

Computer organization

Computer organization Computer organization Computer design an application of digital logic design procedures Computer = processing unit + memory system Processing unit = control + datapath Control = finite state machine inputs

More information

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System? Management Challenge Managing Hardware Assets What computer processing and storage capability does our organization need to handle its information and business transactions? What arrangement of computers

More information

COMPUTER SCIENCE AND ENGINEERING - Microprocessor Systems - Mitchell Aaron Thornton

COMPUTER SCIENCE AND ENGINEERING - Microprocessor Systems - Mitchell Aaron Thornton MICROPROCESSOR SYSTEMS Mitchell Aaron Thornton, Department of Electrical and Computer Engineering, Mississippi State University, PO Box 9571, Mississippi State, MS, 39762-9571, United States. Keywords:

More information

UNIT 2 CLASSIFICATION OF PARALLEL COMPUTERS

UNIT 2 CLASSIFICATION OF PARALLEL COMPUTERS UNIT 2 CLASSIFICATION OF PARALLEL COMPUTERS Structure Page Nos. 2.0 Introduction 27 2.1 Objectives 27 2.2 Types of Classification 28 2.3 Flynn s Classification 28 2.3.1 Instruction Cycle 2.3.2 Instruction

More information

Hello, and welcome to this presentation of the STM32 SDMMC controller module. It covers the main features of the controller which is used to connect

Hello, and welcome to this presentation of the STM32 SDMMC controller module. It covers the main features of the controller which is used to connect Hello, and welcome to this presentation of the STM32 SDMMC controller module. It covers the main features of the controller which is used to connect the CPU to an SD card, MMC card, or an SDIO device.

More information

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language Chapter 4 Register Transfer and Microoperations Section 4.1 Register Transfer Language Digital systems are composed of modules that are constructed from digital components, such as registers, decoders,

More information

Chapter 4 System Unit Components. Discovering Computers 2012. Your Interactive Guide to the Digital World

Chapter 4 System Unit Components. Discovering Computers 2012. Your Interactive Guide to the Digital World Chapter 4 System Unit Components Discovering Computers 2012 Your Interactive Guide to the Digital World Objectives Overview Differentiate among various styles of system units on desktop computers, notebook

More information

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS

MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS MICROPROCESSOR BCA IV Sem MULTIPLE CHOICE QUESTIONS 1) Which is the microprocessor comprises: a. Register section b. One or more ALU c. Control unit 2) What is the store by register? a. data b. operands

More information

Pentium vs. Power PC Computer Architecture and PCI Bus Interface

Pentium vs. Power PC Computer Architecture and PCI Bus Interface Pentium vs. Power PC Computer Architecture and PCI Bus Interface CSE 3322 1 Pentium vs. Power PC Computer Architecture and PCI Bus Interface Nowadays, there are two major types of microprocessors in the

More information

UMBC. ISA is the oldest of all these and today s computers still have a ISA bus interface. in form of an ISA slot (connection) on the main board.

UMBC. ISA is the oldest of all these and today s computers still have a ISA bus interface. in form of an ISA slot (connection) on the main board. Bus Interfaces Different types of buses: ISA (Industry Standard Architecture) EISA (Extended ISA) VESA (Video Electronics Standards Association, VL Bus) PCI (Periheral Component Interconnect) USB (Universal

More information

Programming Logic controllers

Programming Logic controllers Programming Logic controllers Programmable Logic Controller (PLC) is a microprocessor based system that uses programmable memory to store instructions and implement functions such as logic, sequencing,

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

CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions

CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions All computers, from the first room-sized mainframes, to today's powerful desktop, laptop and even hand-held PCs, perform

More information

Discovering Computers 2011. Living in a Digital World

Discovering Computers 2011. Living in a Digital World Discovering Computers 2011 Living in a Digital World Objectives Overview Differentiate among various styles of system units on desktop computers, notebook computers, and mobile devices Identify chips,

More information

Chapter 13. PIC Family Microcontroller

Chapter 13. PIC Family Microcontroller Chapter 13 PIC Family Microcontroller Lesson 01 PIC Characteristics and Examples PIC microcontroller characteristics Power-on reset Brown out reset Simplified instruction set High speed execution Up to

More information

Chapter 2: OS Overview

Chapter 2: OS Overview Chapter 2: OS Overview CmSc 335 Operating Systems 1. Operating system objectives and functions Operating systems control and support the usage of computer systems. a. usage users of a computer system:

More information

Computer System: User s View. Computer System Components: High Level View. Input. Output. Computer. Computer System: Motherboard Level

Computer System: User s View. Computer System Components: High Level View. Input. Output. Computer. Computer System: Motherboard Level System: User s View System Components: High Level View Input Output 1 System: Motherboard Level 2 Components: Interconnection I/O MEMORY 3 4 Organization Registers ALU CU 5 6 1 Input/Output I/O MEMORY

More information

Record Storage and Primary File Organization

Record Storage and Primary File Organization Record Storage and Primary File Organization 1 C H A P T E R 4 Contents Introduction Secondary Storage Devices Buffering of Blocks Placing File Records on Disk Operations on Files Files of Unordered Records

More information

Communicating with devices

Communicating with devices Introduction to I/O Where does the data for our CPU and memory come from or go to? Computers communicate with the outside world via I/O devices. Input devices supply computers with data to operate on.

More information

Computer-System Architecture

Computer-System Architecture Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture 2.1 Computer-System Architecture 2.2 Computer-System

More information

A s we saw in Chapter 4, a CPU contains three main sections: the register section,

A s we saw in Chapter 4, a CPU contains three main sections: the register section, 6 CPU Design A s we saw in Chapter 4, a CPU contains three main sections: the register section, the arithmetic/logic unit (ALU), and the control unit. These sections work together to perform the sequences

More information

21152 PCI-to-PCI Bridge

21152 PCI-to-PCI Bridge Product Features Brief Datasheet Intel s second-generation 21152 PCI-to-PCI Bridge is fully compliant with PCI Local Bus Specification, Revision 2.1. The 21152 is pin-to-pin compatible with Intel s 21052,

More information

CSE2102 Digital Design II - Topics CSE2102 - Digital Design II

CSE2102 Digital Design II - Topics CSE2102 - Digital Design II CSE2102 Digital Design II - Topics CSE2102 - Digital Design II 6 - Microprocessor Interfacing - Memory and Peripheral Dr. Tim Ferguson, Monash University. AUSTRALIA. Tel: +61-3-99053227 FAX: +61-3-99053574

More information

Exception and Interrupt Handling in ARM

Exception and Interrupt Handling in ARM Exception and Interrupt Handling in ARM Architectures and Design Methods for Embedded Systems Summer Semester 2006 Author: Ahmed Fathy Mohammed Abdelrazek Advisor: Dominik Lücke Abstract We discuss exceptions

More information

Operating Systems 4 th Class

Operating Systems 4 th Class Operating Systems 4 th Class Lecture 1 Operating Systems Operating systems are essential part of any computer system. Therefore, a course in operating systems is an essential part of any computer science

More information

Quiz for Chapter 6 Storage and Other I/O Topics 3.10

Quiz for Chapter 6 Storage and Other I/O Topics 3.10 Date: 3.10 Not all questions are of equal difficulty. Please review the entire quiz first and then budget your time carefully. Name: Course: Solutions in Red 1. [6 points] Give a concise answer to each

More information

İSTANBUL AYDIN UNIVERSITY

İSTANBUL AYDIN UNIVERSITY İSTANBUL AYDIN UNIVERSITY FACULTY OF ENGİNEERİNG SOFTWARE ENGINEERING THE PROJECT OF THE INSTRUCTION SET COMPUTER ORGANIZATION GÖZDE ARAS B1205.090015 Instructor: Prof. Dr. HASAN HÜSEYİN BALIK DECEMBER

More information

OpenSPARC T1 Processor

OpenSPARC T1 Processor OpenSPARC T1 Processor The OpenSPARC T1 processor is the first chip multiprocessor that fully implements the Sun Throughput Computing Initiative. Each of the eight SPARC processor cores has full hardware

More information

The Bus (PCI and PCI-Express)

The Bus (PCI and PCI-Express) 4 Jan, 2008 The Bus (PCI and PCI-Express) The CPU, memory, disks, and all the other devices in a computer have to be able to communicate and exchange data. The technology that connects them is called the

More information

CSC 2405: Computer Systems II

CSC 2405: Computer Systems II CSC 2405: Computer Systems II Spring 2013 (TR 8:30-9:45 in G86) Mirela Damian http://www.csc.villanova.edu/~mdamian/csc2405/ Introductions Mirela Damian Room 167A in the Mendel Science Building mirela.damian@villanova.edu

More information

Basic Computer Organization

Basic Computer Organization Chapter 2 Basic Computer Organization Objectives To provide a high-level view of computer organization To describe processor organization details To discuss memory organization and structure To introduce

More information

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

Design of a High Speed Communications Link Using Field Programmable Gate Arrays Customer-Authored Application Note AC103 Design of a High Speed Communications Link Using Field Programmable Gate Arrays Amy Lovelace, Technical Staff Engineer Alcatel Network Systems Introduction A communication

More information

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer Computers CMPT 125: Lecture 1: Understanding the Computer Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University January 3, 2009 A computer performs 2 basic functions: 1.

More information

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory 1 1. Memory Organisation 2 Random access model A memory-, a data byte, or a word, or a double

More information

Instruction Set Architecture. Datapath & Control. Instruction. LC-3 Overview: Memory and Registers. CIT 595 Spring 2010

Instruction Set Architecture. Datapath & Control. Instruction. LC-3 Overview: Memory and Registers. CIT 595 Spring 2010 Instruction Set Architecture Micro-architecture Datapath & Control CIT 595 Spring 2010 ISA =Programmer-visible components & operations Memory organization Address space -- how may locations can be addressed?

More information

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS TEST CHAPTERS 1 & 2 OPERATING SYSTEMS True/False Indicate whether the statement is true or false. 1. Changes that you make in virtual machines do not affect your physical computer. 2. The size of a bus

More information

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies ETEC 2301 Programmable Logic Devices Chapter 10 Counters Shawnee State University Department of Industrial and Engineering Technologies Copyright 2007 by Janna B. Gallaher Asynchronous Counter Operation

More information

8051 hardware summary

8051 hardware summary 8051 hardware summary 8051 block diagram 8051 pinouts + 5V ports port 0 port 1 port 2 port 3 : dual-purpose (general-purpose, external memory address and data) : dedicated (interfacing to external devices)

More information

PROBLEMS. which was discussed in Section 1.6.3.

PROBLEMS. which was discussed in Section 1.6.3. 22 CHAPTER 1 BASIC STRUCTURE OF COMPUTERS (Corrisponde al cap. 1 - Introduzione al calcolatore) PROBLEMS 1.1 List the steps needed to execute the machine instruction LOCA,R0 in terms of transfers between

More information

Chapter 5 Busses, Ports and Connecting Peripherals

Chapter 5 Busses, Ports and Connecting Peripherals Chapter 5 Busses, Ports and Connecting Peripherals 1 The Bus bus - groups of wires on a circuit board that carry information (bits - on s and off s) between computer components on a circuit board or within

More information

Chapter 11 I/O Management and Disk Scheduling

Chapter 11 I/O Management and Disk Scheduling Operatin g Systems: Internals and Design Principle s Chapter 11 I/O Management and Disk Scheduling Seventh Edition By William Stallings Operating Systems: Internals and Design Principles An artifact can

More information

The Motherboard Chapter #5

The Motherboard Chapter #5 The Motherboard Chapter #5 Amy Hissom Key Terms Advanced Transfer Cache (ATC) A type of L2 cache contained within the Pentium processor housing that is embedded on the same core processor die as the CPU

More information

CS101 Lecture 26: Low Level Programming. John Magee 30 July 2013 Some material copyright Jones and Bartlett. Overview/Questions

CS101 Lecture 26: Low Level Programming. John Magee 30 July 2013 Some material copyright Jones and Bartlett. Overview/Questions CS101 Lecture 26: Low Level Programming John Magee 30 July 2013 Some material copyright Jones and Bartlett 1 Overview/Questions What did we do last time? How can we control the computer s circuits? How

More information

Instruction Set Architecture (ISA)

Instruction Set Architecture (ISA) Instruction Set Architecture (ISA) * Instruction set architecture of a machine fills the semantic gap between the user and the machine. * ISA serves as the starting point for the design of a new machine

More information

Chapter 3: Operating-System Structures. System Components Operating System Services System Calls System Programs System Structure Virtual Machines

Chapter 3: Operating-System Structures. System Components Operating System Services System Calls System Programs System Structure Virtual Machines Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines Operating System Concepts 3.1 Common System Components

More information

CS 3530 Operating Systems. L02 OS Intro Part 1 Dr. Ken Hoganson

CS 3530 Operating Systems. L02 OS Intro Part 1 Dr. Ken Hoganson CS 3530 Operating Systems L02 OS Intro Part 1 Dr. Ken Hoganson Chapter 1 Basic Concepts of Operating Systems Computer Systems A computer system consists of two basic types of components: Hardware components,

More information

CONTROL MICROSYSTEMS DNP3. User and Reference Manual

CONTROL MICROSYSTEMS DNP3. User and Reference Manual DNP3 User and Reference Manual CONTROL MICROSYSTEMS SCADA products... for the distance 48 Steacie Drive Telephone: 613-591-1943 Kanata, Ontario Facsimile: 613-591-1022 K2K 2A9 Technical Support: 888-226-6876

More information

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai 2007. Jens Onno Krah

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai 2007. Jens Onno Krah (DSF) Soft Core Prozessor NIOS II Stand Mai 2007 Jens Onno Krah Cologne University of Applied Sciences www.fh-koeln.de jens_onno.krah@fh-koeln.de NIOS II 1 1 What is Nios II? Altera s Second Generation

More information

CPS104 Computer Organization and Programming Lecture 18: Input-Output. Robert Wagner

CPS104 Computer Organization and Programming Lecture 18: Input-Output. Robert Wagner CPS104 Computer Organization and Programming Lecture 18: Input-Output Robert Wagner cps 104 I/O.1 RW Fall 2000 Outline of Today s Lecture The I/O system Magnetic Disk Tape Buses DMA cps 104 I/O.2 RW Fall

More information

CPU Organization and Assembly Language

CPU Organization and Assembly Language COS 140 Foundations of Computer Science School of Computing and Information Science University of Maine October 2, 2015 Outline 1 2 3 4 5 6 7 8 Homework and announcements Reading: Chapter 12 Homework:

More information

(Refer Slide Time: 02:39)

(Refer Slide Time: 02:39) Computer Architecture Prof. Anshul Kumar Department of Computer Science and Engineering, Indian Institute of Technology, Delhi Lecture - 1 Introduction Welcome to this course on computer architecture.

More information

2.0 Command and Data Handling Subsystem

2.0 Command and Data Handling Subsystem 2.0 Command and Data Handling Subsystem The Command and Data Handling Subsystem is the brain of the whole autonomous CubeSat. The C&DH system consists of an Onboard Computer, OBC, which controls the operation

More information

A New Paradigm for Synchronous State Machine Design in Verilog

A New Paradigm for Synchronous State Machine Design in Verilog A New Paradigm for Synchronous State Machine Design in Verilog Randy Nuss Copyright 1999 Idea Consulting Introduction Synchronous State Machines are one of the most common building blocks in modern digital

More information