Gerard J. Oxoby. Stanford Linear Accelerator Center Stanford University, Stanford, CA INTRODUCTION

Size: px
Start display at page:

Download "Gerard J. Oxoby. Stanford Linear Accelerator Center Stanford University, Stanford, CA INTRODUCTION"

Transcription

1 SLAC-TN-80-5 November 1980 IBM CHANNEL TO PDPll INTERFACE' Gerard J. Oxoby Stanford Linear Accelerator Center Stanford University, Stanford, CA INTRODUCTION An interface between a UNIBUS and a I/O Channel of the IBM 360/ 370 computer triplex at SLAC has been designed by experimental Group B (1 and 2). IBM calls such a device a "Control Unit" (CU) and it looks like a tape or a disk drive to the IBM computer. This means that any ordinary batch jobs can transfer data to or from a device connected to a UNIBUS. The programmer gets access to the system by a FORTRAN callable subroutine. This control unit permits bidirectional data transfers at up to lmb/sec. between an IBM 2860 Selector Channel and any DEC PDPll minicomputer peripheral conforming to IBM GA and DEC PDPll UNIBUS interfacing specifications. Appendix A is a description of the simulator developed to debug this control unit without using one of the IBM computers. SPECIFICATIONS This control unit permits bidirectional data transfers between an IBM 2860 selector channel and a PDPll minicomputer. The IBM machine controls the direction of the data transfers. The UNIBUS interface uses the direct memory access feature (DMA).,k Work supported by the Department of Energy under contract number DE-AC03-76SF00515.

2 -2- Selection by the channel and status generation are handled entirely by the hardware. A power control chassis is implemented for Emergency Power Off (EPO) in accordance with IBM specifications GA It also houses the relays for power switching and time-delay relays for the Select-Out Tag Line Bypass. To simplify manual intervention the PDPll console has been modified so that a single three position switch controls POWER OFF, OFF LINE and ON LINE. Actual change from OFF LINE to ON LINE, or vice versa occurs only when the control unit conditions permit it. With the system OFF LINE the PDPll can be controlled by the INIT/ BOOT and HALT/RUN switches. When ON LINE the INIT and BOOT are controlled respectively by an IBM system reset and a BOOT command from the channel, the switches are in this case disabled. The firmware of the M9301 bootstrap terminator was modified to jump in the console emulator in the OFF LINE mode or prepare the interface for a data transfer when ON LINE. IBM INTERFACE 1. Addresses This control unit can recognize any two consecutive IBM addresses. The lower order one is used for booting the PDPll and initial program loading (IPL) the other one for normal data transfers. 2. Commands The IBM commands accepted are as follows: PO TEST I/O 1xxxx0000 SENSE Pxxxxoloo WRITE Pxxxxoool READ Pxxxx0010 BOOT then WRITE Pxxxoooll BOOT then READ Pxxxlooll X = Don't care

3 -3-3. Status The status generated to the channel by the hardware may be any of the following: P 0 PARITY 2 3 BUSY 4 CHANNEL END 5 DEVICE END 6 UNIT CHECK 7 UNIT EXCEPTION a> Initial Status The initial status presented is normally zero if the DMA is ready and no error occurred during the selection sequence. If the DMA is not ready, the word counter not loaded, a BUSY status is presented. b) End Status After a normal data transfer CHANNEL END and DEVICE END are presented. If the PDPll signals that its buffer is full UNIT EXCEPTION is also sent to the channel. It is followed by a control unit initiated selection sequence and DEVICE END status presentation when the word count is reloaded. c> Special Status UNIT CHECK is presented when the control unit detects an unusual condition that is detailed by the information available to a sense command.

4 -4-4. Sense The available sense byte is as follows: 0 Command reject 1 2 Bus out check PDP Interrupt time out a> Command Reject indicates that a command the control unit is not designed to execute was received. b) Bus Out Check indicates that the control unit detected a parity error in a received data byte or the command byte. c> Equipment Check is generated when the internal sequencer stays idle for over a fixed time (25 us.). d) Time Out is caused when the PDPll does not service the interrupt by loading the word counter or setting the buffer full bit within 100 ms. PDPll INTERFACE The PDPll has four registers shown below. Their addresses are jumper selectable but must be consecutives. COMMAND REGISTER 76XxX

5 STATUS REGISTER 76XxX Memory Address 76XxX4 Register: 15 MSB Word Count Register: 76XXX6 16 Bits, 2's complement I. COMMAND REGISTER The bits are defined as follows: 15 - STOP: When set, this bit indicates that a data transfer has been terminated by the channel whose byte count exhausted. It is reset by the start of a new transfer. 14 HALT I/O: A Halt I/O instruction has been executed by the IBM machine causing termination of the past operation. A new selection by the channel resets this bit. 13 CHAINED: A chain command was issued by the channel to indi- cate that a new selection will follow imediately. 12 STACKED: The channel did not accept the status presented by the control unit. This bit is reset after acceptance due to either a poll or selection by the channel COMMANDS: Indicate the last command issued by the channel to the control unit. A null operation (all four bits reset)

6 -6- indicates either a boot PDP command or an invalid command (see command reject sense in status register). A write command indicates write to Unibus from channel. Vice versa a read command means a data transfer from Unibus to the channel. A test I/O or Sense command does not affect the PDPll bus, they are control unit only commands. 7 INTERRUPT PENDING: This bit is set by the termination of a transfer caused by either: the channel byte count exhausted, the DMA word count overflowing, a Halt I/O instruction or a selective reset by the channel. It is reset at the end of the interrupt sequence, INIT when OFF LINE oranibm system reset when ON LINE. 6 INTERRUPT ENABLE: Set by the PDPll program, causes an interrupt when bit seven is set. Reset by program, INIT when OFF LINE or an IBM system reset when ON LINE. 5 BUFFER FULL: Set by the program, this bit indicates that no data can be accepted until the DM! is made expressively ready by loading the word count, at which time the buffer full bit is reset. It is also reset by the program, INIT when OFF LINE or an IBM system reset when ON LINE. 4 NOT USED 3 PDP BOOTED: Set by the program, it indicates that the PDPll was successfully booted by a Boot Command from the channel when ON LINE. Reset by INIT when OFF LINE or an IBM system reset when ON LINE. 2 PDP IPLED: Set by the program it, in effect, enables one of the two ports from the channel to the control unit. The other port being always enabled. This bit is reset by INIT when OFF LINE, an IBM system reset or a Boot Command. 1-o NOT USED

7 STATUS REGISTER The bits are defined as follows: 15 - ERROR: This is an error summary. This bit is set by a Selective reset from the channel or a unit check status at the control unit NOT USED 11-7 STATUS BITS: Reflect the last status accepted by the channel. Unit Exception status is caused by the setting of bit five (Buffer full in the control register) and is reset when accepted by the channel. The next status to be presented contains the Busy status bit until the DMA is made ready. Device End and Channel End are generally presented together exce'pt when a Busy status followed a Unit Exception status and the DMA is made ready. In this case Device End is presented alone. Unit Check status is a summary of the error bits in the sense information. 6 OFF LINE: Indicates that the control unit is in the OFF LINE mode. 5 CMD MODIFIER: Corresponds to bit three of the command received from the channel. 5 NOT USED SELECTIVE RESET: Set when the channel issued a selective

8 -8- reset to the control unit as a result of a malfunction detected at the channel. This condition does not clear any status or handshaking bits but merely gates off all signals to the channel. It can only be cleared by an INIT in the OFF LINE mode or an IBM system reset when ON LINE. EQUIPMENT CHECK SENSE: This bit is set whenever the internal "Watch-dog-timer" detects that the hardware is hanging in a sequence not controlled by the software. TIME OUT SENSE: The setting of this bit is caused by an over delay in setting either the Buffer full bit in the control register or loading the word count register after a request for interrupt (bit seven of the control register being set). COMMAND REJECT SENSE: Indicates that the control unit detected an invalid command, from the channel, such as "Read backward." PARITY ERROR SENSE: The control unit detected a parity error while receiving a command or data from the channel. III. MEMORY ADDRESS REGISTER This register is loaded with the first memory location to or from where the data must be transferred from or to the channel. register. It is incremented by two after each transfer. Write only IV. WORD COUNT REGISTER Loaded with the two's complement of the number of words to be transferred via the control unit.

9 -9- It is incremented after each word transfer and returns to a zero value when reaching the overflow.

10 -lo- REFERENCES 1. Paul F. Kunz et al., Experience Using the 168/E Microprocessor for Offline Analysis, Proceeding of the 1979 IEEE Nuclear Science Symposium (Feb. 1980), also SIX-PUB-2418 (Oct. 1979). 2. Gerard J. Oxoby et al, The Bermuda Triangle, SLAC-PUB-79-7 (Dec. 1979).

11 APPENDIX A IBM CHANNEL SIMULATOR This unit has been designed to troubleshoot or debug control units normally attached to an IBM channel. Under a PDPll program control it generates the handshaking and data transfers. It has two addresses. A read and write register is used to generate the simulation of the Bus out and Tag out lines. A read only address corresponds to the Bus in and Tag in lines. READ/WRITE ADDRESS Parity is generated by hardware, however, bit seven provides a means to select even parity for error checking. When this bit is reset,odd parity is sent to the control unit. This register is reset by INIT. READ ONLY ADDRESS

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

General Purpose Programmable Peripheral Devices. Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar

General Purpose Programmable Peripheral Devices. Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar Chapter 15 General Purpose Programmable Peripheral Devices by Rahul Patel, Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar Microprocessor & Interfacing (140701) Rahul Patel 1

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

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

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

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

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

A subsystem of the 168/E interfasing scheme used by Group B at SLAC

A subsystem of the 168/E interfasing scheme used by Group B at SLAC SLAC-TN-79-7 December 1979 ----- THE BERMUDA TRANGLE A subsystem of the 168/E interfasing scheme used by Group B at SLAC Gerard J. Oxoby, Lorne J. Levinson and Quang H. Trang Stanford Linear Accelerator

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

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

These three counters can be programmed for either binary or BCD count.

These three counters can be programmed for either binary or BCD count. S5 KTU 1 PROGRAMMABLE TIMER 8254/8253 The Intel 8253 and 8254 are Programmable Interval Timers (PTIs) designed for microprocessors to perform timing and counting functions using three 16-bit registers.

More information

Introduction to Embedded Systems

Introduction to Embedded Systems Stefan Kowalewski, 4. November 25 Introduction to Embedded Systems Part 2: Microcontrollers. Basics 2. Structure/elements 3. Digital I/O 4. Interrupts 5. Timers/Counters Introduction to Embedded Systems

More information

A PDP-11 FRONT-END FOR A VAX-11/780*

A PDP-11 FRONT-END FOR A VAX-11/780* SLAG-PUB-2494 April 1980 0-f) A PDP-11 FRONT-END FOR A VAX-11/780* M J Browne, Charles Cranieri, D J Sherden, Leon J Weaver Stanford Linear Accelerator Center Stanford, California ABSTRACT An unpublicized

More information

Blog - https://anilkumarprathipati.wordpress.com/

Blog - https://anilkumarprathipati.wordpress.com/ Input-Output organization 1. Peripheral Devices The input-output subsystem of a computer, referred to as I/O, provides an efficient mode of communication between the central system and the outside environment.

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

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

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

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

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

Internal architecture of 8086

Internal architecture of 8086 Case Study: Intel Processors Internal architecture of 8086 Slide 1 Case Study: Intel Processors FEATURES OF 8086 It is a 16-bit μp. 8086 has a 20 bit address bus can access up to 220 memory locations (1

More information

icroprocessor istory of Microprocessor ntel 8086:

icroprocessor istory of Microprocessor ntel 8086: Microprocessor A microprocessor is an electronic device which computes on the given input similar to CPU of a computer. It is made by fabricating millions (or billions) of transistors on a single chip.

More information

INTERFACING INTERFACING. Richa Upadhyay Prabhu. NMIMS s MPSTME February 25, 2016

INTERFACING INTERFACING. Richa Upadhyay Prabhu. NMIMS s MPSTME February 25, 2016 INTERFACING Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu February 25, 2016 8255: Programmable Peripheral Interface or Programmable Input output Device Introduction METHODS OF DATA TRANSFER

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

INTRODUCTION TO FLEXIO

INTRODUCTION TO FLEXIO INTRODUCTION TO FLEXIO Osvaldo Romero Applications Engineer EXTERNAL USE Agenda Introduction to FlexIO FlexIO Main Features FlexIO Applications Freescale Products with FlexIO Collaterals\Tools for FlexIO

More information

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller. UNIT V -8051 MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS 1. What is micro controller? Micro controller is a microprocessor with limited number of RAM, ROM, I/O ports and timer on a single chip

More information

Chapter 1 Computer System Overview

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

More information

This note is an informal working paper of the M.I.T. Laboratory for Computer

This note is an informal working paper of the M.I.T. Laboratory for Computer M.I.T. Laboratory for Computer Science Network Implementation Note No. 23 November 10, 1980 Version II LNI UNIBUS Interface Programming Specification from J.H. Saltzer The attached programming specification

More information

The task of writing device drivers to facilitate booting of the DSP via these interfaces is with the user.

The task of writing device drivers to facilitate booting of the DSP via these interfaces is with the user. a Engineer To Engineer Note EE-124 Phone: (800) ANALOG-D, FAX: (781) 461-3010, EMAIL: dsp.support@analog.com, FTP: ftp.analog.com, WEB: www.analog.com/dsp Booting on the ADSP-2192 The ADSP-2192 currently

More information

Operating Systems Course 2 nd semester 2016/2017 Chapter 1: Introduction

Operating Systems Course 2 nd semester 2016/2017 Chapter 1: Introduction Operating Systems Course 2 nd semester 2016/2017 Chapter 1: Introduction Lecturer: Eng. Mohamed B. Abubaker Note: Adapted from the resources of textbox Operating System Concepts, 9 th edition What is an

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

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

Digital IP Cell 8-bit Microcontroller PE80

Digital IP Cell 8-bit Microcontroller PE80 1. Description The is a Z80 compliant processor soft-macro - IP block that can be implemented in digital or mixed signal ASIC designs. The Z80 and its derivatives and clones make up one of the most commonly

More information

Since ESE GATE PSUs ELECTRICAL ENGINEERING COMPUTER FUNDAMENTALS. Volume - 1 : Study Material with Classroom Practice Questions

Since ESE GATE PSUs ELECTRICAL ENGINEERING COMPUTER FUNDAMENTALS. Volume - 1 : Study Material with Classroom Practice Questions Since 20 ESE GATE PSUs ELECTRICAL ENGINEERING COMPUTER FUNDAMENTALS Volume - : Study Material with Classroom Practice Questions Computer Fundamentals (Solutions for Classroom Practice Questions). Number

More information

ME 4447/6405. Microprocessor Control of Manufacturing Systems and Introduction to Mechatronics. Instructor: Professor Charles Ume LECTURE 6

ME 4447/6405. Microprocessor Control of Manufacturing Systems and Introduction to Mechatronics. Instructor: Professor Charles Ume LECTURE 6 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction to Mechatronics Instructor: Professor Charles Ume LECTURE 6 MC9S12C Microcontroller Covered in Lecture 5: Quick Introduction

More information

Module 2: Computer-System Structures. Computer-System Architecture

Module 2: Computer-System Structures. Computer-System Architecture Module 2: Computer-System Structures Computer-System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture Operating System Concepts 2.1 Silberschatz

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

TM ~.0 00 COMPUTER INTERFACE Z80 S-100. Philip J. Lucas. February 27, 1978

TM ~.0 00 COMPUTER INTERFACE Z80 S-100. Philip J. Lucas. February 27, 1978 081~.0 00 A COMPUTER INTERFACE Z80 S-100 BUS to PDP-11 UNIBUS BY Philip J. Lucas February 27, 1978 -l- TABLE OF CONTENTS SECTION PAGE NUMBER Abstract Introduction Hardware Software Appendix MDB-1710 Figure

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

PART A (22 Marks) 2. a) Briefly write about r's complement and (r-1)'s complement. [8] b) Explain any two ways of adding decimal numbers.

PART A (22 Marks) 2. a) Briefly write about r's complement and (r-1)'s complement. [8] b) Explain any two ways of adding decimal numbers. Set No. 1 IV B.Tech I Semester Supplementary Examinations, March - 2017 COMPUTER ARCHITECTURE & ORGANIZATION (Common to Electronics & Communication Engineering and Electronics & Time: 3 hours Max. Marks:

More information

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal)

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) OR A Software-generated CALL (internally derived from the execution of an instruction or by some other internal

More information

PCI-HPDI32A-COS User Manual

PCI-HPDI32A-COS User Manual PCI-HPDI32A-COS User Manual Preliminary 8302A Whitesburg Drive Huntsville, AL 35802 Phone: (256) 880-8787 Fax: (256) 880-8788 URL: www.generalstandards.com E-mail: support@generalstandards.com User Manual

More information

HIGH PERFORMANCE ECP/EPP PRINTER INTERFACE USING THE PPC34C60 PPIC

HIGH PERFORMANCE ECP/EPP PRINTER INTERFACE USING THE PPC34C60 PPIC APPLICATION NOTE 4.17 PRELIMINARY Rev. 1/13/94 HIGH PERFORMANCE ECP/EPP INTERFACE USING THE PPIC NOTE: This application note describes a paper design which has not been confirmed by a hardware implementation.

More information

MB68k-100 Motherboard Test Procedure, C

MB68k-100 Motherboard Test Procedure, C MB68k-100 Motherboard Test Procedure, C Set Up Instructions:! DC power supply! Obtain 2 solid core jumper wires for testing o 1 length for pull-up wire, installing one end in A1CON161, pos 61 o 2 length

More information

Basic Execution Environment

Basic Execution Environment Basic Execution Environment 3 CHAPTER 3 BASIC EXECUTION ENVIRONMENT This chapter describes the basic execution environment of an Intel Architecture processor as seen by assembly-language programmers.

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

Unit 2 : Computer and Operating System Structure

Unit 2 : Computer and Operating System Structure Unit 2 : Computer and Operating System Structure Lesson 1 : Interrupts and I/O Structure 1.1. Learning Objectives On completion of this lesson you will know : what interrupt is the causes of occurring

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 177 4.2 CPU Basics and Organization 177 4.2.1 The Registers 178 4.2.2 The ALU 179 4.2.3 The Control Unit 179 4.3 The Bus 179 4.4 Clocks

More information

Chapter 1 Microprocessor architecture ECE 3120 Dr. Mohamed Mahmoud http://iweb.tntech.edu/mmahmoud/ mmahmoud@tntech.edu Outline 1.1 Computer hardware organization 1.1.1 Number System 1.1.2 Computer hardware

More information

Lecture-55 System Interface:

Lecture-55 System Interface: Lecture-55 System Interface: To interface 8253 with 8085A processor, CS signal is to be generated. Whenever CS =0, chip is selected and depending upon A 1 and A 0 one of the internal registers is selected

More information

8. Power Management and Sleep Modes

8. Power Management and Sleep Modes 8. Power Management and Sleep Modes 8.1 Features Power management for adjusting power consumption and functions Five sleep modes Idle Power down Power save Standby Extended standby Power reduction register

More information

7/20/2008. What Operating Systems Do Computer-System Organization

7/20/2008. What Operating Systems Do Computer-System Organization Introduction to Operating Systems Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System Operations Process Management

More information

Western Digital Generated Proposal for a Working Draft. Overlap Features WESTERN DIGITAL. Overlap Proposal

Western Digital Generated Proposal for a Working Draft. Overlap Features WESTERN DIGITAL. Overlap Proposal Western Digital Generated Proposal for a Working Draft Revision 0 Overlap Features Overlap Proposal Working Document & General Proposal April 18, 1998 Technical Editor:Devon Worrell Western Digital Corporation

More information

Troubleshooting. Resetting the System. Problems Following Initial System Installation. First Steps Checklist CHAPTER

Troubleshooting. Resetting the System. Problems Following Initial System Installation. First Steps Checklist CHAPTER CHAPTER 6 This chapter helps you identify and solve problems that might occur while you are using the Cisco CDE110. If you are unable to resolve your server problems on your own, contact Cisco Technical

More information

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1 CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ARCHITECURE- III YEAR EEE-6 TH SEMESTER 16 MARKS QUESTION BANK UNIT-1 Data representation: (CHAPTER-3) 1. Discuss in brief about Data types, (8marks)

More information

The Instruction Set. Chapter 5

The Instruction Set. Chapter 5 The Instruction Set Architecture Level(ISA) Chapter 5 1 ISA Level The ISA level l is the interface between the compilers and the hardware. (ISA level code is what a compiler outputs) 2 Memory Models An

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

MVI46-MCM SLC Platform Modbus Interface Module USER MANUAL. February 5, 2004

MVI46-MCM SLC Platform Modbus Interface Module USER MANUAL. February 5, 2004 MVI46-MCM SLC Platform Modbus Interface Module USER MANUAL ProSoft Technology, Inc. 1675 Chester Avenue Fourth Floor Bakersfield, CA 93301 (661) 716-5100 (661) 716-5101 Fax prosoft@prosoft-technology.com

More information

MICROPROCESSOR BASED SYSTEM DESIGN

MICROPROCESSOR BASED SYSTEM DESIGN MICROPROCESSOR BASED SYSTEM DESIGN Lecture 5 Xmega 128 B1: Architecture MUHAMMAD AMIR YOUSAF VON NEUMAN ARCHITECTURE CPU Memory Execution unit ALU Registers Both data and instructions at the same system

More information

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION Introduction :- An exploits the hardware resources of one or more processors to provide a set of services to system users. The OS also manages secondary memory and I/O devices on behalf of its users. So

More information

THE LASS HARDWARE PROCESSOR* Paul F. Kunz - Stanford Linear Accelerator Center Stanford University, Stanford, California ABSTRACT

THE LASS HARDWARE PROCESSOR* Paul F. Kunz - Stanford Linear Accelerator Center Stanford University, Stanford, California ABSTRACT SLAC-PUB-1723 March 1976 (E/I) THE LASS HARDWARE PROCESSOR* Paul F. Kunz - Stanford Linear Accelerator Center Stanford University, Stanford, California 94305 ABSTRACT The problems of data analysis with

More information

Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted from Hennessy & Patterson / 2003 Elsevier

Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted from Hennessy & Patterson / 2003 Elsevier Some material adapted from Mohamed Younis, UMBC CMSC 6 Spr 23 course slides Some material adapted from Hennessy & Patterson / 23 Elsevier Science Characteristics IBM 39 IBM UltraStar Integral 82 Disk diameter

More information

Computer Architecture 5.1. Computer Architecture. 5.2 Vector Address: Interrupt sources (IS) such as I/O, Timer 5.3. Computer Architecture

Computer Architecture 5.1. Computer Architecture. 5.2 Vector Address: Interrupt sources (IS) such as I/O, Timer 5.3. Computer Architecture License: http://creativecommons.org/licenses/by-nc-nd/3./ Hardware interrupt: 5. If in an eternal device (for eample I/O interface) a predefined event occurs this device issues an interrupt request to

More information

Chapter 1 Computer System Overview

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

More information

CHAPTER ASSEMBLY LANGUAGE PROGRAMMING

CHAPTER ASSEMBLY LANGUAGE PROGRAMMING CHAPTER 2 8051 ASSEMBLY LANGUAGE PROGRAMMING Registers Register are used to store information temporarily: A byte of data to be processed An address pointing to the data to be fetched The vast majority

More information

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web:     Ph: Serial : 01. ND_EE_NW_Microprocessors_150718 Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: E-mail: info@madeeasy.in Ph: 011-45124612 CLASS TEST 2018-19 ELECTRICAL

More information

Code No: RR Set No. 1

Code No: RR Set No. 1 Code No: RR310501 Set No. 1 1. (a) If an absolute address of the type 6A3D9H is given, express it in the form of CS : IP and explain what are the advantages of the memory segmentation. Discuss about the

More information

StrongARM** SA-110/21285 Evaluation Board

StrongARM** SA-110/21285 Evaluation Board StrongARM** SA-110/21285 Evaluation Board Brief Datasheet Product Features Intel offers a StrongARM** SA-110/21285 Evaluation Board (EBSA-285) that provides a flexible hardware environment to help manufacturers

More information

System Monitoring and Troubleshooting

System Monitoring and Troubleshooting Troubleshooting Suggestions The Handheld is very useful in troubleshooting your machine. As with any problem, you have to find it before you can fix it. There are several operations and features that help

More information

Hello and welcome to this Renesas Interactive module that provides an overview of the RX DMA Controller

Hello and welcome to this Renesas Interactive module that provides an overview of the RX DMA Controller Hello and welcome to this Renesas Interactive module that provides an overview of the RX DMA Controller 1 The purpose of this Renesas Interactive module is to give you a basic understanding of the RX Direct

More information

Documentation for SCSI controller project PIA (Parallel Interface Agent) module Hardware V2.0 / Firmware V1.0

Documentation for SCSI controller project PIA (Parallel Interface Agent) module Hardware V2.0 / Firmware V1.0 Documentation for SCSI controller project PIA (Parallel Interface Agent) module Hardware V2.0 / Firmware V1.0 2006 06 18 / Michael Bäuerle Preamble The goal of this project

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

Common Computer-System and OS Structures

Common Computer-System and OS Structures Common Computer-System and OS Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture Oct-03 1 Computer-System Architecture

More information

Registers Format. 4.1 I/O Port Address

Registers Format. 4.1 I/O Port Address 4 Registers Format The detailed descriptions of the register format and structure of the ACL- 8112 are specified in this chapter. This information is quite useful for the programmer who wish to handle

More information

Trident Robotics and Research, Inc. User Documentation Department 2516 Matterhorn Drive Wexford, PA (412)

Trident Robotics and Research, Inc. User Documentation Department 2516 Matterhorn Drive Wexford, PA (412) The information in this document is subject to change without notice. Trident Robotics and Research, Inc. does not guarantee the accuracy of the information contained in this document and makes no commitment

More information

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY CHAPTER 5 : Introduction to Intel 8085 Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY The 8085A(commonly known as the 8085) : Was first introduced in March 1976 is an 8-bit microprocessor with 16-bit address

More information

Chapter 1. Microprocessor architecture ECE Dr. Mohamed Mahmoud.

Chapter 1. Microprocessor architecture ECE Dr. Mohamed Mahmoud. Chapter 1 Microprocessor architecture ECE 3130 Dr. Mohamed Mahmoud The slides are copyright protected. It is not permissible to use them without a permission from Dr Mahmoud http://www.cae.tntech.edu/~mmahmoud/

More information

Interrupt/Timer/DMA 1

Interrupt/Timer/DMA 1 Interrupt/Timer/DMA 1 Exception An exception is any condition that needs to halt normal execution of the instructions Examples - Reset - HWI - SWI 2 Interrupt Hardware interrupt Software interrupt Trap

More information

Introduction to Microprocessor

Introduction to Microprocessor Introduction to Microprocessor The microprocessor is a general purpose programmable logic device. It is the brain of the computer and it performs all the computational tasks, calculations data processing

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

Universal Serial Bus Host Interface on an FPGA

Universal Serial Bus Host Interface on an FPGA Universal Serial Bus Host Interface on an FPGA Application Note For many years, designers have yearned for a general-purpose, high-performance serial communication protocol. The RS-232 and its derivatives

More information

Lecture-41 Interrupt I/O Transfer

Lecture-41 Interrupt I/O Transfer Lecture-41 Interrupt I/O Transfer Whenever any interrupt is recognized, it executes an interrupt machine cycle. If the VALID INT is true due to either TRAP or RST 7.5, or RST 6.5 or RST 5.5 then the interrupt

More information

PCI-1751U. 48-bit Digital Input/Output Card with Universal PCI Bus. User Manual

PCI-1751U. 48-bit Digital Input/Output Card with Universal PCI Bus. User Manual PCI-1751U 48-bit Digital Input/Output Card with Universal PCI Bus User Manual Copyright This documentation and the software included with this product are copyrighted 2006 by Advantech Co., Ltd. All rights

More information

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER OBJECT: EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER To understand the structure and operating instruction of the microprocessor trainer. INTRODUCTION: The MKT 8085 is a single-board microcomputer,

More information

_ Personal Computer. Hardware Reference Library. mm Cluster Adapter

_ Personal Computer. Hardware Reference Library. mm Cluster Adapter - - --- ---- Personal Computer - ----- - - --_. --- Hardware Reference Library mm Cluster Adapter 6361495 ii Contents Description.... 1 8031 Microcomputer... 5 Cluster Adapter I/O Register Definitions...

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

I/O Organization John D. Carpinelli, All Rights Reserved 1

I/O Organization John D. Carpinelli, All Rights Reserved 1 I/O Organization 1997 John D. Carpinelli, All Rights Reserved 1 Outline I/O interfacing Asynchronous data transfer Interrupt driven I/O DMA transfers I/O processors Serial communications 1997 John D. Carpinelli,

More information

INTERFACING INTERFACING. Richa Upadhyay Prabhu. February 29, 2016

INTERFACING INTERFACING. Richa Upadhyay Prabhu. February 29, 2016 INTERFACING Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu February 29, 2016 DMA ; Direct Memory Access Controller (8257) Introduction Can I/O have direct access to memory? Introduction

More information

This set of Microprocessor Multiple Choice Questions & Answers (MCQs) focuses on PIO 8255 (Programmable Input Output Port).

This set of Microprocessor Multiple Choice Questions & Answers (MCQs) focuses on PIO 8255 (Programmable Input Output Port). This set of Microprocessor Multiple Choice Questions & Answers (MCQs) focuses on PIO 8255 (Programmable Input Output Port). 1. Programmable peripheral input-output port is other name for a) serial input-output

More information

SAE5C Computer Organization and Architecture. Unit : I - V

SAE5C Computer Organization and Architecture. Unit : I - V SAE5C Computer Organization and Architecture Unit : I - V UNIT-I Evolution of Pentium and Power PC Evolution of Computer Components functions Interconnection Bus Basics of PCI Memory:Characteristics,Hierarchy

More information

SOEN228, Winter Revision 1.2 Date: October 25,

SOEN228, Winter Revision 1.2 Date: October 25, SOEN228, Winter 2003 Revision 1.2 Date: October 25, 2003 1 Contents Flags Mnemonics Basic I/O Exercises Overview of sample programs 2 Flag Register The flag register stores the condition flags that retain

More information

TMS320VC5503/5507/5509/5510 DSP Direct Memory Access (DMA) Controller Reference Guide

TMS320VC5503/5507/5509/5510 DSP Direct Memory Access (DMA) Controller Reference Guide TMS320VC5503/5507/5509/5510 DSP Direct Memory Access (DMA) Controller Reference Guide Literature Number: January 2007 This page is intentionally left blank. Preface About This Manual Notational Conventions

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

Design UART Loopback with Interrupts

Design UART Loopback with Interrupts Once the E is displayed, will the 0 reappear if you return the DIP switch to its OFF position and re-establish the loopback path? Usually not. When you break the loopback path, it will most likely truncate

More information

WF-700B User Manual. RS232 Interface for Coin Validators

WF-700B User Manual. RS232 Interface for Coin Validators RS232 Interface for Coin Validators WF-700B User Manual Version 1.4-2010-01-15 1.0 Introduction The WF-700B is an RS232 interface module for most models of coin acceptor products. The WF-700B has a built-in

More information

Development Tools. 8-Bit Development Tools. Development Tools. AVR Development Tools

Development Tools. 8-Bit Development Tools. Development Tools. AVR Development Tools Development Tools AVR Development Tools This section describes some of the development tools that are available for the 8-bit AVR family. Atmel AVR Assembler Atmel AVR Simulator IAR ANSI C-Compiler, Assembler,

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

BIOS Setup Information

BIOS Setup Information CHAPTER 4 BIOS Setup Information The ROBO-308 is equipped with the AMI BIOS stored in Flash ROM. This BIOS has a built-in Setup program that allows users to modify the basic system configuration easily.

More information

7/19/2013. Introduction. Chapter Objectives Upon completion of this chapter, you will be able to: Chapter Objectives 12 1 BASIC INTERRUPT PROCESSING

7/19/2013. Introduction. Chapter Objectives Upon completion of this chapter, you will be able to: Chapter Objectives 12 1 BASIC INTERRUPT PROCESSING Chapter 12: Interrupts 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

More information

UNIT 2. OPERATING SYSTEM STRUCTURES

UNIT 2. OPERATING SYSTEM STRUCTURES This document can be downloaded from www.chetanahegde.in with most recent updates. 1 UNIT 2. OPERATING SYSTEM STRUCTURES 2.1 INTRODUCTION An OS provides the environment within which the programs are executed.

More information

8032 MCU + Soft Modules. c = rcvdata; // get the keyboard scan code

8032 MCU + Soft Modules. c = rcvdata; // get the keyboard scan code 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 { 0x25, 0x66 }, // "4" { 0x2E, 0x6D }, // "5" { 0x36, 0x7D }, // "6" { 0x3D, 0x07 }, // "7" { 0x3E, 0x7F }, // "8" { 0x46,

More information