Exercise 1: Static Control of a Data Bus

Size: px
Start display at page:

Download "Exercise 1: Static Control of a Data Bus"

Transcription

1 Exercise 1: Static Control of a Data Bus EXERCISE OBJECTIVE When you have completed this exercise, you will be able to demonstrate the function of the CS signal and R/W signal in controlling data transfer by using the DATA BUS CONTROL circuit block. You will verify your results by observing the logic states of control and data lines. EXERCISE DISCUSSION In the DATA BUS CONTROL circuit block, the data bus between a CPU and an I/O device is labeled CPU BUS. The inverter, the WRITE and READ AND gates, and the WRITE and READ tri-state buffers are part of the I/O device. The labels DATA OUT and DATA IN indicate the port of the I/O device. FACET by Lab-Volt 305

2 Digital Logic Fundamentals The CS and R/W control signals are initiated by the CPU. The circuit shows how the CS and R/W control signals generate a WRITE or READ enable signal. The WRITE and READ signals are outputs to tri-state buffers that permit bidirectional data transfer between an I/O device and a CPU via a data bus. When the CS signal is low, both AND gates, labeled WRITE and READ, are disabled. As a result, the logic state of the R/W control signal has no effect on the output of the WRITE and READ gates; the WRITE and READ gate outputs are always low. 306 FACET by Lab-Volt

3 When the outputs of the WRITE and READ gates are low, the a. R/W control signal is low. b. CS control signal is low. A high CS signal enables both AND gates, labeled WRITE and READ. When the gates are enabled, the logic state of the R/W signal affects the outputs of the WRITE and READ gates. The inverter between the R/W signal and the WRITE gate ensures that the complement of the R/W signal is input to the WRITE gate. Consequently, the outputs of the WRITE and READ gates are always complementary when the CS signal is high. FACET by Lab-Volt 307

4 Digital Logic Fundamentals Can the outputs of the WRITE and READ gates be high at the same time? The output of the WRITE gate is high when the CS signal is high and R/W is low. The output of the READ gate is high when the CS signal is high and the R/W is high. The truth table for the READ and WRITE circuit is shown. A low CS control signal and a high R/W control signal cause the outputs of the WRITE gate to be a. high and the READ gate to be low. b. low and the READ gate to be high. c. low and the READ gate to be low. The circuit shows how the WRITE and READ signals from the AND gates control the tri-state buffers, WRITE and READ, to permit bidirectional data transfer between an I/O device and a CPU. 308 FACET by Lab-Volt

5 Line DB3 represents one of the data bus lines (bit 3). When the WRITE enable signal is high, the WRITE tri-state is enabled. Data can then be transferred from the CPU to the I/O device via the data bus. To transfer data from the CPU to an I/O device, which tri-state buffer has to be enabled? a. READ tri-state buffer b. WRITE tri-state buffer When the READ enabled signal is high, the READ tri-state is enabled. FACET by Lab-Volt 309

6 Digital Logic Fundamentals Data can then be transferred from the I/O device to the CPU via the data bus. When the READ tri-state buffer is enabled with a high READ signal, the output of the WRITE tri-state buffer is a. low. b. high. c. in a high impedance state. READ and WRITE tri-state buffers do not interact because only one buffer at a time is enabled. The high impedance (high-z) state of the disabled tri-state buffer disconnects the buffer from the circuit. When the CS control signal is low, the WRITE and READ signals are low, and the tri-state buffers are in high impedance states; the data bus and I/O port are effectively disconnected from the tri-state buffers. 310 FACET by Lab-Volt

7 What prevents a CPU from writing and reading data to an I/O device at the same time? a. The tri-state buffer outputs are always complementary. b. One or both of the tri-state buffers are always in a high impedance state. The DATA BUS CONTROL circuit block is shown. The label CPU BUS represents the data bus between the CPU and an I/O device. When the CPU is writing data to the I/O device, switch S1 sets the logic state of the CPU data bit: position H for high and position L for low. FACET by Lab-Volt 311

8 Digital Logic Fundamentals The labels DATA OUT and DATA IN respectively represent the connections to and from the data port of the I/O device. When the CPU is reading data from the I/O device, switch S2 sets the logic state of the data bit: position H for high and position L for low. PROCEDURE Locate the DATA BUS CONTROL and INPUT SIGNALS circuit blocks, and connect the circuit shown. Install a two-post connector in the BLOCK SELECT terminals at the left of the circuit block to activate the WRITE and READ AND gate LEDs. 312 FACET by Lab-Volt

9 Place INPUT SIGNALS toggle switches A and B in the LOW position. NOTE: Toggle switch A controls the logic state of the CS (chip select) signal. Toggle switch B controls the logic state of the R/W signal. You can determine the logic state of a signal by the LED status. When an LED is on (glowing), the signal logic state is high; when an LED is off (not glowing), the signal logic state is low. Effect of the CS and R/W Signals on the READ and WRITE Gates When the input signal A is set to LOW, the CS signal LED indicates that the CS signal is a. high. b. low. The R/W signal LED indicates that the R/W signal is a. high. b. low. FACET by Lab-Volt 313

10 Digital Logic Fundamentals With the CS control signal set to LOW, can the WRITE or READ gates be selected? With toggle switch B, change the logic state of the R/W signal to HIGH and then back to LOW while observing the output LEDs of the WRITE and READ gates. Did changing the logic state of R/W affect the logic state of the outputs of the WRITE or READ gates? The output states of the WRITE or READ gates did not change because a. the WRITE and READ gates are AND gates, which require two logic high inputs for a logic high output. b. of the inverter (NOT gate) between the R/W signal and the WRITE gate. 314 FACET by Lab-Volt

11 Set the CS signal to high by setting toggle switch A to HIGH. Toggle switch B should be set to LOW (R/W signal low). Is the WRITE gate or the READ gate selected (when high, the output LED glows)? a. WRITE b. READ Set the R/W signal high by setting toggle switch B to HIGH. Is the WRITE gate or READ gate selected? a. WRITE b. READ The purpose of the inverter between the R/W signal and the WRITE gate is to ensure that the a. outputs of the WRITE and READ gates are always complementary. b. output of the WRITE gate is low when the CS signal is high. FACET by Lab-Volt 315

12 Digital Logic Fundamentals For the WRITE gate output (CS WR signal) to be high, what must the logic states of the CS and R/W signals be? a. CS high and R/W low b. CS low and R/W low For the READ gate output (CS RD signal) to be high, what must the logic states of the CS and R/W signals be? a. CS high and R/W low b. CS high and R/W high Effect of the Read and Write Signals on Data Transfer Set the CS and R/W signals to low by setting toggle switches A and B to LOW. Install the twopost connector in the BLOCK SELECT terminals at the right of the circuit block to activate the LEDs at the WRITE and READ tri-state buffers. 316 FACET by Lab-Volt

13 Change the logic state of the data bit from the CPU to high, then low, high, and low by setting S1 to H, then L, H, and L. Does the WRITE tri-state buffer output LED indicate that the CPU is writing the data bit to the I/O device? Change the logic state of the data bit from the I/O device to high, then low, high, and low by setting S2 to H, then L, H, and L. Does the READ tri-state buffer LED indicate that the CPU is reading the data bit from the I/O device? The CPU cannot read or write data from or to the I/O device because the a. CS control signal is low. b. R/W control signal is low. c. data bits to and from the CPU cancel each other. FACET by Lab-Volt 317

14 Digital Logic Fundamentals Place the CPU in the write mode by setting the CS signal high (set toggle switch A to HIGH). The R/W signal is set low (toggle switch B at LOW). Change the logic state of the data bit from the CPU to high, then low, high, and low by setting S1 to H, then L, H, and L. Does the WRITE tri-state buffer LED indicate that the CPU is writing the data bit to the I/O device? Change the logic state of the data bit from the I/O device to high, then low, high, and low by setting S2 to H, then L, H, and L. Does the READ tri-state buffer LED indicate that the CPU is reading a data bit from the I/O device? 318 FACET by Lab-Volt

15 Place the CPU in the read mode by setting the R/W signal high (set toggle switch B to HIGH). Change the logic state of the data bit from the CPU to high, then low, high, and low by setting S1 to H, then L, H, and L. Does the WRITE tri-state buffer LED indicate that the CPU is writing the data bit to the I/O device? Change the logic state of the data bit from the I/O device to high, then low, high, and low by setting S2 to H, then L, H, and L. Does the READ tri-state buffer LED indicate that the CPU is reading a data bit from the I/O device when the CS is high and R/W is high? FACET by Lab-Volt 319

16 Digital Logic Fundamentals CONCLUSION A logic circuit within an I/O device controls bidirectional data transfer between the I/O device and the CPU via the data bus. The WRITE/READ data transfer logic circuit is composed of AND gates, tri-state buffers, and an inverter. Chip select (CS) and R/W control signals are inputs to the data transfer logic circuit of an I/O device. A high CS control signal selects a device for a write or read operation. A high R/W control signal causes the IC to read data from a memory or I/O device. A low R/W control signal causes the CPU to write data to a memory or I/O device. REVIEW QUESTIONS 1. Locate the DATA BUS CONTROL and INPUT SIGNALS circuit blocks and connect the circuit shown. Place CM switch 19 in the ON position to alter the circuit. Test the circuit with a voltmeter and by observing the LEDs while changing the logic states of the CS and R/W signals and the data switches, S1 and S2. A glowing LED indicates a high logic state. Which of the following statements is true? a. All circuit functions are normal. b. The WRITE tri-state buffer is always enabled. c. The WRITE tri-state is always disabled. d. The circuit cannot be selected. 2. When the data transfer is from the CPU to an I/O device, the CPU is a. simultaneously reading and writing data. b. transferring data bidirectionally. c. reading data. d. writing data. 320 FACET by Lab-Volt

17 3. When the data transfer is from an I/O device to the CPU, the CPU is a. simultaneously reading and writing data. b. transferring data bidirectionally. c. reading data. d. writing data. 4. The purpose of the chip select (CS) signal is to a. enable a CPU for a read or write operation. b. stop the CPU from reading or writing to the data bus. c. enable all memory devices in a computer. d. enable a memory or input/output device for a read or write operation. 5. If the R/W signal is high, a. data transfers from A to B. b. data transfers from B to A. c. both tri-states are enabled. d. both tri-states are disabled. NOTE: Make sure all CMs are cleared (turned off) before proceeding to the next section. FACET by Lab-Volt 321

Summer 2003 Lecture 21 07/15/03

Summer 2003 Lecture 21 07/15/03 Summer 2003 Lecture 21 07/15/03 Simple I/O Devices Simple i/o hardware generally refers to simple input or output ports. These devices generally accept external logic signals as input and allow the CPU

More information

Logic and Computer Design Fundamentals. Chapter 8 Memory Basics

Logic and Computer Design Fundamentals. Chapter 8 Memory Basics Logic and Computer Design Fundamentals Memory Basics Overview Memory definitions Random Access Memory (RAM) Static RAM (SRAM) integrated circuits Arrays of SRAM integrated circuits Dynamic RAM (DRAM) Read

More information

8255 Programmable Peripheral Interface Architecture MCT/UNIT III/NARASIMHARAJ/LECTURE NOTES /IV MECH A

8255 Programmable Peripheral Interface Architecture MCT/UNIT III/NARASIMHARAJ/LECTURE NOTES /IV MECH A 8255 Programmable Peripheral Interface Architecture 8255 PPI Architecture The parallel input-output port chip 8255 is also called as programmable peripheral input- output port. The Intel s 8255 is designed

More information

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: 1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip that has computing and decision making capabilities similar to central processing unit

More information

1-2 Chapter 1: The Beboputer Microcomputer

1-2 Chapter 1: The Beboputer Microcomputer 1-2 Chapter 1: The Beboputer Microcomputer The Beboputer microcomputer In its broadest sense, a computer is a device that can accept information from the outside world, process that information using logical

More information

CMPE 413/ CMSC 711. Project Specification: 16 bit 2 s complement Adder and 8 bit 2 s complement multiplier. GND. Input bus. Latches I[8]-I[15]

CMPE 413/ CMSC 711. Project Specification: 16 bit 2 s complement Adder and 8 bit 2 s complement multiplier. GND. Input bus. Latches I[8]-I[15] Project Specification: 16 bit 2 s complement Adder and 8 bit 2 s complement multiplier. Assigned: Fri, Nov 3rd Due: Tue, Dec. 19th Description: con1 I[15] I[14] I[13] GND I[12] I[11] I[10] I[9] con2 O[15]

More information

Address connections Data connections Selection connections

Address connections Data connections Selection connections Interface (cont..) We have four common types of memory: Read only memory ( ROM ) Flash memory ( EEPROM ) Static Random access memory ( SARAM ) Dynamic Random access memory ( DRAM ). Pin connections common

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

Lab 16: Tri-State Busses and Memory U.C. Davis Physics 116B Note: We may use a more modern RAM chip. Pinouts, etc. will be provided.

Lab 16: Tri-State Busses and Memory U.C. Davis Physics 116B Note: We may use a more modern RAM chip. Pinouts, etc. will be provided. Lab 16: Tri-State Busses and Memory U.C. Davis Physics 116B Note: We may use a more modern RAM chip. Pinouts, etc. will be provided. INTRODUCTION In this lab, you will build a fairly large circuit that

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

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422)

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COURSE / CODE DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) Memory In computing, memory refers to the computer hardware devices used to store information for immediate use

More information

4 Multiplexer. Y Fig Keyboard Scan Matrix

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

More information

Exercise 2: FACET Base Unit Familiarization

Exercise 2: FACET Base Unit Familiarization Exercise 2: FACET Base Unit Familiarization EXERCISE OBJECTIVE When you have completed this exercise, you will discover the operating features of the base unit and DC FUNDAMENTALS circuit board. You will

More information

Exercise 1: Identify Types of Switches

Exercise 1: Identify Types of Switches Exercise 1: Identify Types of Switches EXERCISE OBJECTIVE When you have completed this exercise, you will be able to identify switch functions by using a multimeter. You will verify your results with information

More information

Memory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University

Memory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University Memory Overview Curtis Nelson Walla Walla University Overview - Memory Types n n n Magnetic tape (used primarily for long term archive) Magnetic disk n Hard disk (File, Directory, Folder) n Floppy disks

More information

Drexel University Electrical and Computer Engineering Department ECE 200 Intelligent Systems Spring Lab 1. Pencilbox Logic Designer

Drexel University Electrical and Computer Engineering Department ECE 200 Intelligent Systems Spring Lab 1. Pencilbox Logic Designer Lab 1. Pencilbox Logic Designer Introduction: In this lab, you will get acquainted with the Pencilbox Logic Designer. You will also use some of the basic hardware with which digital computers are constructed

More information

Chapter NINE 8088,80286 MICROPROCESSORS AND ISA BUS

Chapter NINE 8088,80286 MICROPROCESSORS AND ISA BUS Chapter NINE 8088,80286 MICROPROCESSORS AND ISA BUS OBJECTIVES this chapter enables the student to: State the function of the pins of the 8088. List the functions of the 8088 data, address, and control

More information

EET2411 DIGITAL ELECTRONICS. A device or electrical circuit used to store a single bit (0 or 1) Ex. FF.

EET2411 DIGITAL ELECTRONICS. A device or electrical circuit used to store a single bit (0 or 1) Ex. FF. Chapter 12 - Memory Devices Digital information is easily stored Commonly used memory devices and systems will be examined Flip flops Registers VLSI and LSI memory devices The difference between main memory

More information

I/O Design. Input / Output Instructions. Engineering 4862 Microprocessors. Lecture 23. Cheng Li

I/O Design. Input / Output Instructions. Engineering 4862 Microprocessors. Lecture 23. Cheng Li Engineering 4862 Microprocessors Lecture 23 Cheng Li EN-4012 licheng@engr.mun.ca I/O Design When designing an I/O port, ensure that the port is only active when selected by the microprocessor Use latches

More information

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES 1 Learning Objectives 1. Explain the function of a multiplexer. Implement a multiplexer using gates. 2. Explain the

More information

CSCE 312 Lab manual. Lab 4 - Computer Organization and Data Path Design. Instructor: Dr. Yum. Fall 2016

CSCE 312 Lab manual. Lab 4 - Computer Organization and Data Path Design. Instructor: Dr. Yum. Fall 2016 CSCE 312 Lab manual Lab 4 - Computer Organization and Data Path Design Instructor: Dr. Yum Fall 2016 Department of Computer Science & Engineering Texas A&M University Chapter 5: Computer Organization and

More information

Allmost all systems contain two main types of memory :

Allmost all systems contain two main types of memory : Memory Interface Allmost all systems contain two main types of memory : read-only memory (ROM) system software and permanent system data random access memory (RAM) or read/write memory application software

More information

Lab #2: Building the System

Lab #2: Building the System Lab #: Building the System Goal: In this second lab exercise, you will design and build a minimal microprocessor system, consisting of the processor, an EPROM chip for the program, necessary logic chips

More information

EXPERIMENT #8: BINARY ARITHMETIC OPERATIONS

EXPERIMENT #8: BINARY ARITHMETIC OPERATIONS EE 2 Lab Manual, EE Department, KFUPM EXPERIMENT #8: BINARY ARITHMETIC OPERATIONS OBJECTIVES: Design and implement a circuit that performs basic binary arithmetic operations such as addition, subtraction,

More information

Digital Circuits. Page 1 of 5. I. Before coming to lab. II. Learning Objectives. III. Materials

Digital Circuits. Page 1 of 5. I. Before coming to lab. II. Learning Objectives. III. Materials I. Before coming to lab Read this handout and the supplemental. Also read the handout on Digital Electronics found on the course website. II. Learning Objectives Using transistors and resistors, you'll

More information

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

CREATED BY M BILAL & Arslan Ahmad Shaad Visit: CREATED BY M BILAL & Arslan Ahmad Shaad Visit: www.techo786.wordpress.com Q1: Define microprocessor? Short Questions Chapter No 01 Fundamental Concepts Microprocessor is a program-controlled and semiconductor

More information

Chapter ELEVEN 8255 I/O PROGRAMMING

Chapter ELEVEN 8255 I/O PROGRAMMING Chapter ELEVEN 8255 I/O PROGRAMMING OBJECTIVES this chapter enables the student to: Code Assembly language instructions to read and write data to and from I/O ports. Diagram the design of peripheral I/O

More information

Computer Architecture: Part V. First Semester 2013 Department of Computer Science Faculty of Science Chiang Mai University

Computer Architecture: Part V. First Semester 2013 Department of Computer Science Faculty of Science Chiang Mai University Computer Architecture: Part V First Semester 2013 Department of Computer Science Faculty of Science Chiang Mai University Outline Addition and Subtraction Multiplication Algorithm Array Multiplier Peripheral

More information

CSCE 312 Lab manual. Instructor: Dr. Ki HwanYum. Prepared by. Dr. Rabi Mahapatra. Suneil Mohan & Amitava Biswas. Fall 2016

CSCE 312 Lab manual. Instructor: Dr. Ki HwanYum. Prepared by. Dr. Rabi Mahapatra. Suneil Mohan & Amitava Biswas. Fall 2016 CSCE 312 Lab manual Lab-3 - Sequential logic design Instructor: Dr. Ki HwanYum Prepared by Dr. Rabi Mahapatra. Suneil Mohan & Amitava Biswas Fall 2016 Department of Computer Science & Engineering Texas

More information

Page 1 of 18 Hardware Training Tools Data Acquisition I/O Cards Development Tools Pic Tutor 8255 CHIPS Software CAD Education Consulting Downloads PRICE LIST Corporate About AMS Chronology Contact Sales

More information

ECSE-2610 Computer Components & Operations (COCO)

ECSE-2610 Computer Components & Operations (COCO) ECSE-2610 Computer Components & Operations (COCO) Part 18: Random Access Memory 1 Read-Only Memories 2 Why ROM? Program storage Boot ROM for personal computers Complete application storage for embedded

More information

ECE 354 Computer Systems Lab II. Memory and Indirect Addressing

ECE 354 Computer Systems Lab II. Memory and Indirect Addressing ECE 354 Computer Systems Lab II Memory and Indirect Addressing Lab report for lab 1 Schematics Lab 2 Comments Label pins used on all chips Use standard chip names/numbers (DB25,SP-233) from the datasheet

More information

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5. DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE6502- MICROPROCESSORS AND MICROCONTROLLERS UNIT I: 8085 PROCESSOR PART A 1. What is the need for ALE signal in

More information

Introduction read-only memory random access memory

Introduction read-only memory random access memory Memory Interface Introduction Simple or complex, every microprocessorbased system has a memory system. Almost all systems contain two main types of memory: read-only memory (ROM) and random access memory

More information

Lab 16: Data Busses, Tri-State Outputs and Memory

Lab 16: Data Busses, Tri-State Outputs and Memory Lab 16: Data Busses, Tri-State Outputs and Memory UC Davis Physics 116B Rev. 0.9, Feb. 2006 1 Introduction 1.1 Data busses Data busses are ubiquitous in systems which must communicate digital data. Examples

More information

Lab 4: Digital Electronics BMEn 2151 Introductory Medical Device Prototyping Prof. Steven S. Saliterman

Lab 4: Digital Electronics BMEn 2151 Introductory Medical Device Prototyping Prof. Steven S. Saliterman Lab 4: Digital Electronics BMEn 2151 Introductory Medical Device Prototyping Prof. Steven S. Saliterman Exercise 4-1: Familiarization with Lab Box Contents & Reference Books 4-1-1 CMOS Cookbook (In the

More information

Lecture-50 Intel 8255A: Programming and Operating Modes

Lecture-50 Intel 8255A: Programming and Operating Modes Lecture-50 Intel 8255A: Programming and Operating Modes Operation Description: There are three basic modes of operation that can be selected by the system software. Mode 0: Basic Input/output Mode 1: Strobes

More information

Microprocessor Architecture. mywbut.com 1

Microprocessor Architecture. mywbut.com 1 Microprocessor Architecture mywbut.com 1 Microprocessor Architecture The microprocessor can be programmed to perform functions on given data by writing specific instructions into its memory. The microprocessor

More information

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 09 MULTIPLEXERS

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 09 MULTIPLEXERS Name: Instructor: Engr. Date Performed: Marks Obtained: /10 Group Members (ID):. Checked By: Date: Experiment # 09 MULTIPLEXERS OBJECTIVES: To experimentally verify the proper operation of a multiplexer.

More information

EE 3170 Microcontroller Applications

EE 3170 Microcontroller Applications EE 3170 Microcontroller Applications Lecture 4 : Processors, Computers, and Controllers - 1.2 (reading assignment), 1.3-1.5 Based on slides for ECE3170 by Profs. Kieckhafer, Davis, Tan, and Cischke Outline

More information

Fundamentals of Computer Organization and Design Errata. Sivarama P. Dandamudi School of Computer Science Carleton University

Fundamentals of Computer Organization and Design Errata. Sivarama P. Dandamudi School of Computer Science Carleton University Fundamentals of Computer Organization and Design Errata Sivarama P. Dandamudi School of Computer Science Carleton University September 8, 2003 Chapter 2 Digital Logic Basics 1. Page 81, Exercise 2-22 Replace

More information

One and a half hours. Section A is COMPULSORY UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE

One and a half hours. Section A is COMPULSORY UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE COMP 12111 One and a half hours Section A is COMPULSORY UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE Fundamentals of Computer Engineering Date: Monday 23rd January 2017 Time: 09:45-11:15 Answer

More information

BUILDING BLOCKS OF A BASIC MICROPROCESSOR. Part 1 PowerPoint Format of Lecture 3 of Book

BUILDING BLOCKS OF A BASIC MICROPROCESSOR. Part 1 PowerPoint Format of Lecture 3 of Book BUILDING BLOCKS OF A BASIC MICROPROCESSOR Part PowerPoint Format of Lecture 3 of Book Decoder Tri-state device Full adder, full subtractor Arithmetic Logic Unit (ALU) Memories Example showing how to write

More information

What s a Tri-state Buffer?

What s a Tri-state Buffer? What s a Tri-state Buffer? 2003 by Charles C. Lin. All rights reserved. Introduction Before we talk about tri-state buffers, let s talk about an inverter. You can read about inverters in the notes about

More information

Announcements. Chapter 2 - Part 1 1

Announcements. Chapter 2 - Part 1 1 Announcements If you haven t shown the grader your proof of prerequisite, please do so by 11:59 pm on 09/05/2018 (Wednesday). I will drop students that do not show us the prerequisite proof after this

More information

Topics. Interfacing chips

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

More information

Picture of memory. Word FFFFFFFD FFFFFFFE FFFFFFFF

Picture of memory. Word FFFFFFFD FFFFFFFE FFFFFFFF Memory Sequential circuits all depend upon the presence of memory A flip-flop can store one bit of information A register can store a single word, typically 32-64 bits Memory allows us to store even larger

More information

EB-51 Low-Cost Emulator

EB-51 Low-Cost Emulator EB-51 Low-Cost Emulator Development Tool for 80C51 Microcontrollers FEATURES Emulates 80C51 Microcontrollers and Derivatives Real-Time Operation up to 40 MHz 3.3V or 5V Voltage Operation Source-Level Debugger

More information

CSCE 312 Lab 3: Sequential Logic Design ([Vahid] Ch. 3) Instructor: Dr. Hyunyoung Lee Spring 2013

CSCE 312 Lab 3: Sequential Logic Design ([Vahid] Ch. 3) Instructor: Dr. Hyunyoung Lee Spring 2013 CSCE 312 Lab 3: Sequential Logic Design ([Vahid] Ch. 3) Instructor: Dr. Hyunyoung Lee Spring 2013 In this chapter, we focus on the design of sequential digital circuits for real-life applications. Sequential

More information

COS 116 The Computational Universe Laboratory 7: Digital Logic I

COS 116 The Computational Universe Laboratory 7: Digital Logic I COS 116 The Computational Universe Laboratory 7: Digital Logic I In this lab you ll construct simple combinational circuits in software, using a simulator, and also in hardware, with a breadboard and silicon

More information

Unit 5 DOS INTERRPUTS

Unit 5 DOS INTERRPUTS Unit 5 DOS INTERRPUTS 5.1 Introduction The DOS (Disk Operating System) provides a large number of procedures to access devices, files and memory. These procedures can be called in any user program using

More information

CHAPTER: 3 PROGRAMMABLE PERIPHERAL INTERFACE & ELECTROMECHANICAL DEVICES INTERFACING

CHAPTER: 3 PROGRAMMABLE PERIPHERAL INTERFACE & ELECTROMECHANICAL DEVICES INTERFACING CHAPTER: 3 1 PROGRAMMABLE PERIPHERAL INTERFACE & ELECTROMECHANICAL DEVICES INTERFACING Introduction to 8255 PPI 2 The Intel 8255A is a high-performance, general purpose programmable I/O device is designed

More information

EECS 3201: Digital Logic Design Lecture 7. Ihab Amer, PhD, SMIEEE, P.Eng.

EECS 3201: Digital Logic Design Lecture 7. Ihab Amer, PhD, SMIEEE, P.Eng. EECS 3201: Digital Logic Design Lecture 7 Ihab Amer, PhD, SMIEEE, P.Eng. 2x2 binary multiplier 2 4x4 Array Multiplier 3 Multiplexer (MUX) 4 MUX Implementations 5 Wider MUXes 6 Logic with MUXes 7 Reducing

More information

Unit 6 1.Random Access Memory (RAM) Chapter 3 Combinational Logic Design 2.Programmable Logic

Unit 6 1.Random Access Memory (RAM) Chapter 3 Combinational Logic Design 2.Programmable Logic EE 200: Digital Logic Circuit Design Dr Radwan E Abdel-Aal, COE Unit 6.Random Access Memory (RAM) Chapter 3 Combinational Logic Design 2. Logic Logic and Computer Design Fundamentals Part Implementation

More information

Chapter 9. Input/Output (I/O) Ports and Interfacing. Updated: 3/13/12

Chapter 9. Input/Output (I/O) Ports and Interfacing. Updated: 3/13/12 Chapter 9 Input/Output (I/O) Ports and Interfacing Updated: 3/13/12 Basic Concepts in I/O Interfacing and PIC18 I/O Ports (1 of 2) I/O devices (or peripherals) such as LEDs and keyboards are essential

More information

Programmable Logic Devices

Programmable Logic Devices Programmable Logic Devices Programmable Logic Devices Fig. (1) General structure of PLDs Programmable Logic Device (PLD): is an integrated circuit with internal logic gates and/or connections that can

More information

Logic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 3 Additional Gates and Circuits

Logic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 3 Additional Gates and Circuits Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 3 Additional Gates and Circuits Charles Kime & Thomas Kaminski 28 Pearson Education, Inc. (Hyperlinks are active in View

More information

Introduction to Programmable Logic Devices (Class 7.2 2/28/2013)

Introduction to Programmable Logic Devices (Class 7.2 2/28/2013) Introduction to Programmable Logic Devices (Class 7.2 2/28/2013) CSE 2441 Introduction to Digital Logic Spring 2013 Instructor Bill Carroll, Professor of CSE Today s Topics Complexity issues Implementation

More information

Pi-Tek OLED Module PG12864KW Revision: 1.0 May Pi Tek. OLED Module SPECIFICATIONS MODEL NO. : PG12864KW PRODUCT TYPE: STANDARD

Pi-Tek OLED Module PG12864KW Revision: 1.0 May Pi Tek. OLED Module SPECIFICATIONS MODEL NO. : PG12864KW PRODUCT TYPE: STANDARD Pi Tek OLED Module SPECIFICATIONS MODEL NO. : PG12864KW PRODUCT TYPE: STANDARD This specification may be changed without any notices in order improve performance or quality etc. 1 Content History of versions

More information

Semiconductor Memories: RAMs and ROMs

Semiconductor Memories: RAMs and ROMs Semiconductor Memories: RAMs and ROMs Lesson Objectives: In this lesson you will be introduced to: Different memory devices like, RAM, ROM, PROM, EPROM, EEPROM, etc. Different terms like: read, write,

More information

The 9S12 in Expanded Mode - Using MSI logic to build ports Huang Chapter 14

The 9S12 in Expanded Mode - Using MSI logic to build ports Huang Chapter 14 The 9S12 in Expanded Mode - Using MSI logic to build ports Huang Chapter 14 Using MSI Logic To Build An Output Port Many designs use standard MSI logic for microprocessor expansion This provides an inexpensive

More information

GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module

GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module GEORGIA INSTITUTE OF TECHNOLOGY School of Electrical and Computer Engineering ECE 2020 Fall 2017 Lab #1: Digital Logic Module GOAL To introduce the physical implementation of digital logic circuits including

More information

EE292: Fundamentals of ECE

EE292: Fundamentals of ECE EE292: Fundamentals of ECE Fall 2012 TTh 10:00-11:15 SEB 1242 Lecture 22 121115 http://www.ee.unlv.edu/~b1morris/ee292/ 2 Outline Review Binary Number Representation Binary Arithmetic Combinatorial Logic

More information

Intel 8255 PPI. Presented By: Diwakar Yagyasen Asst. Prof. CSE BBDNITM, Lucknow.

Intel 8255 PPI. Presented By: Diwakar Yagyasen Asst. Prof. CSE BBDNITM, Lucknow. Intel 8255 PPI Presented By: Diwakar Yagyasen Asst. Prof. CSE BBDNITM, Lucknow. 8255 PPI PPI: Programmable Peripheral Interface 2 Intel 8255 PPI PPI Programmable Peripheral Interface It is an I/O port

More information

Presentation 4: Programmable Combinational Devices

Presentation 4: Programmable Combinational Devices Presentation 4: Programmable Combinational Devices Asst. Prof Dr. Ahmet ÖZKURT DEUEEE Based on the Presentation by Prof. Kim, Young Ho Dept. of Information Computer Engineering E-mail : yhkim@hyowon.cs.pusan.ac.kr

More information

Building a two-bit processor

Building a two-bit processor JFUM/2000/002 Building a two-bit processor Wan Ahmad Tajuddin Wan Abdullah Department of Physics, Universiti Malaya, 50603 Kuala Lumpur, Malaysia Abstract: University electronics curricula teach digital

More information

DEM F SBH-PW-N

DEM F SBH-PW-N DISPLAY Elektronik GmbH LCD MODULE DEM 128064F SBH-PW-N 02/Dec/2008 GENERAL SPECIFICATION MODULE NO. : DEM 128064F SBH-PW-N VERSION NO. CHANGE DESCRIPTION DATE 0 ORIGINAL VERSION 28.10.2008 1 CHANGE VLCD

More information

UNIT - II PERIPHERAL INTERFACING WITH 8085

UNIT - II PERIPHERAL INTERFACING WITH 8085 UNIT - II PERIPHERAL INTERFACING WITH 8085 Peripheral Interfacing is considered to be a main part of Microprocessor, as it is the only way to interact with the external world. The interfacing happens with

More information

UNIT-III REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT

UNIT-III REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT UNIT-III 1 KNREDDY UNIT-III REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT Register Transfer: Register Transfer Language Register Transfer Bus and Memory Transfers Arithmetic Micro operations Logic

More information

Microcomputers. Outline. Number Systems and Digital Logic Review

Microcomputers. Outline. Number Systems and Digital Logic Review Microcomputers Number Systems and Digital Logic Review Lecture 1-1 Outline Number systems and formats Common number systems Base Conversion Integer representation Signed integer representation Binary coded

More information

1 Digital tools. 1.1 Introduction

1 Digital tools. 1.1 Introduction 1 Digital tools 1.1 Introduction In the past few years, enormous advances have been made in the cost, power, and ease of use of microcomputers and associated analog and digital circuits. It is now possible,

More information

Computer Organization

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

More information

Microprocessor Architecture

Microprocessor Architecture Microprocessor - 8085 Architecture 8085 is pronounced as "eighty-eighty-five" microprocessor. It is an 8-bit microprocessor designed by Intel in 1977 using NMOS technology. It has the following configuration

More information

Logic Gates and Boolean Algebra ENT263

Logic Gates and Boolean Algebra ENT263 Logic Gates and Boolean Algebra ENT263 Logic Gates and Boolean Algebra Now that we understand the concept of binary numbers, we will study ways of describing how systems using binary logic levels make

More information

MICROPROCESSOR B.Tech. th ECE

MICROPROCESSOR B.Tech. th ECE MICROPROCESSOR B.Tech. th ECE Submitted by: Er. Amita Sharma Dept. of ECE 11/24/2014 2 Microprocessor Architecture The microprocessor can be programmed to perform functions on given data by writing specific

More information

32-Bit Microprocessor

32-Bit Microprocessor Student Workbook 91577-00 Edition 4 3091577000000^~ FOURTH EDITION Fourth Printing, June 2009 Copyright June, 2003 Lab-Volt Systems, Inc. All rights reserved. No part of this publication may be reproduced,

More information

CN310 Microprocessor Systems Design

CN310 Microprocessor Systems Design CN310 Microprocessor Systems Design Simple Computer Nawin Somyat Department of Electrical and Computer Engineering Thammasat University Outline Course Contents 1 Introduction 2 Simple Computer 3 Microprocessor

More information

1.Overview of X7083/X7043/X7023

1.Overview of X7083/X7043/X7023 1.Overview of X7083/X7043/X7023 11 Introduction X7083/X7043/X7023 is an LSI that generates a pulse for controlling the speed and positioning of pulse train inputtype servo motors and stepping motors. X7083

More information

PIO 8255 (cont..) M Krishna kumar MAM/M3/LU9e/V1/2004 1

PIO 8255 (cont..) M Krishna kumar MAM/M3/LU9e/V1/2004 1 PIO 8255 (cont..) The parallel input-output port chip 8255 is also called as programmable peripheral input-output port. The Intel s 8255 is designed for use with Intel s 8-bit, 16-bit and higher capability

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

Overview: Functional Description:

Overview: Functional Description: CPCI-ADADIO 12-Channel 16-Bit Analog I/O CPCI Card With 8 Simultaneous Input Channels at 200K Samples per Second per Channel, 4 Output Channels, and Byte-Wide Digital I/O Port Features Include: 8 Analog

More information

Experiment 3: Logic Simplification

Experiment 3: Logic Simplification Module: Logic Design Name:... University no:.. Group no:. Lab Partner Name: Mr. Mohamed El-Saied Experiment : Logic Simplification Objective: How to implement and verify the operation of the logical functions

More information

APPLICATION NOTE VACUUM FLUORESCENT DISPLAY MODULE

APPLICATION NOTE VACUUM FLUORESCENT DISPLAY MODULE AN-E-321 APPLICATION NOTE VACUUM FLUORESCENT DISPLAY MODULE GRAPIC DISPLAY MODULE GP1118A1A GENERAL DESCRIPTION FUTABA GP1118A1A is a graphic display module using a FUTABA 128 64 VFD. It consists of a

More information

The MC9S12 in Expanded Mode Using MSI logic to build ports Using MSI logic to build an output port Using MSI logic to build an input port

The MC9S12 in Expanded Mode Using MSI logic to build ports Using MSI logic to build an output port Using MSI logic to build an input port The MC9S12 in Expanded Mode Using MSI logic to build ports Using MSI logic to build an output port Using MSI logic to build an input port A Simple Parallel Output Port We want a port which will write 8

More information

NATIONAL CERTIFICATE (VOCATIONAL) ELECTRONIC CONTROL AND DIGITAL ELECTRONICS NQF LEVEL 3 NOVEMBER 2010

NATIONAL CERTIFICATE (VOCATIONAL) ELECTRONIC CONTROL AND DIGITAL ELECTRONICS NQF LEVEL 3 NOVEMBER 2010 NATIONAL CERTIFICATE (VOCATIONAL) ELECTRONIC CONTROL AND DIGITAL ELECTRONICS NQF LEVEL 3 NOVEMBER 2010 (12041023) 22 October (Y-Paper) 13:00 16:00 This question paper consists of 6 pages. (12041023) -2-

More information

Lecture Note On Microprocessor and Microcontroller Theory and Applications

Lecture Note On Microprocessor and Microcontroller Theory and Applications Lecture Note On Microprocessor and Microcontroller Theory and Applications MODULE: 1 1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip

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

Memory. Hakim Weatherspoon CS 3410, Spring 2013 Computer Science Cornell University

Memory. Hakim Weatherspoon CS 3410, Spring 2013 Computer Science Cornell University Memory Hakim Weatherspoon CS 3410, Spring 2013 Computer Science Cornell University Big Picture: Building a Processor memory inst register file alu PC +4 +4 new pc offset target imm control extend =? cmp

More information

commodore semiconductor group NMOS 950 Rittenhouse Rd., Norristown, PA Tel.: 215/ TWX: 510/ (MEMORY, I/O, TIMER ARRAY)

commodore semiconductor group NMOS 950 Rittenhouse Rd., Norristown, PA Tel.: 215/ TWX: 510/ (MEMORY, I/O, TIMER ARRAY) commodore semiconductor group NMOS 950 Rittenhouse Rd., Norristown, PA 19403 Tel.: 215/666-7950 TWX: 510/660-4168 6532 (MEMORY, I/O, TIMER ARRAY) THE 6532 CONCEPT- The 6532 is designed to operate in conjunction

More information

10/24/2016. Let s Name Some Groups of Bits. ECE 120: Introduction to Computing. We Just Need a Few More. You Want to Use What as Names?!

10/24/2016. Let s Name Some Groups of Bits. ECE 120: Introduction to Computing. We Just Need a Few More. You Want to Use What as Names?! University of Illinois at Urbana-Champaign Dept. of Electrical and Computer Engineering ECE 120: Introduction to Computing Memory Let s Name Some Groups of Bits I need your help. The computer we re going

More information

CS4141 IDL Notes. I. Quick Overview of IDL Prototyping Unit

CS4141 IDL Notes. I. Quick Overview of IDL Prototyping Unit CS4141 IDL Notes IDL-800 Prototyping System The IDL-800 logic panels are powerful tools for any logic designer. They enable a wide range of IC s to be used in a breadboard experiment. I. Quick Overview

More information

MEMORY-MAPPED I /O. Universiti Teknikal Malaysia Melaka. Input/Output System Design

MEMORY-MAPPED I /O. Universiti Teknikal Malaysia Melaka. Input/Output System Design Universiti Teknikal Malaysia Melaka Faculty of Electronics and Computer Engineering Department of Computer Engineering BENM 2123 MICROPROCESSOR TECHNOLOGY Instead of connecting to auxiliary memory, address

More information

Lecture XIV 8086 Memory Interface. Wisam I Hasan

Lecture XIV 8086 Memory Interface. Wisam I Hasan Lecture XIV 886 Memory Interface Wisam I Hasan Objectives: Upon completion you will be able to:. How to interface a memory device with µp 2. How to access memory in READ or WRITE 3. Describe memory structure

More information

Chapter 8 Memory Basics

Chapter 8 Memory Basics Logic and Computer Design Fundamentals Chapter 8 Memory Basics Charles Kime & Thomas Kaminski 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Overview Memory definitions Random Access

More information

Memory and Programmable Logic

Memory and Programmable Logic Memory and Programmable Logic Memory units allow us to store and/or retrieve information Essentially look-up tables Good for storing data, not for function implementation Programmable logic device (PLD),

More information

Hierarchy of I/O Control Devices

Hierarchy of I/O Control Devices Hierarchy of I/O Control Devices 8155 I/O + Timer 2 Port (A,B), No Bidirectional HS mode (C) 4 mode timer 8253/54 Timer 6 mode timer 8255 I/O 2 Port (A,B) A is Bidirectional HS mode (C) Extra controls

More information

A B A+B

A B A+B ECE 25 Lab 2 One-bit adder Design Introduction The goal of this lab is to design a one-bit adder using programmable logic on the BASYS board. Due to the limitations of the chips we have in stock, we need

More information

8086 Hardware Specification

8086 Hardware Specification Content: Segment 5 8086 Hardware Specification 8086 Modes of operation. Pin diagram and pin function of 8086. 8284A Clock generator operation and pin functions. Prepared By: Mohammed Abdul Kader Lecturer,

More information

< W3150A+ / W5100 Application Note for SPI >

< W3150A+ / W5100 Application Note for SPI > < W3150A+ / W5100 Application Note for SPI > Introduction This application note describes how to set up the SPI in W3150A+ or W5100. Both the W3150A+ and W5100 have same architecture. W5100 is operated

More information

Chapter 7. Storage Components

Chapter 7. Storage Components 7. Storage Components 7- Chapter 7. Storage Components ntroduction Storage components store data and perform simple data transformations, such as counting and shifting. Registers, counters, register files,

More information