Physics 217A LAB 4 Spring 2016 Shift Registers Tri-State Bus. Part I

Similar documents
INC 253 Digital and electronics laboratory I

Chapter 2. Digital Circuits

CSE 352 Laboratory Assignment 3

Laboratory 11. Required Components: Objectives. Introduction. Digital Displays and Logic (modified from lab text by Alciatore)

Experiment 8 Introduction to Latches and Flip-Flops and registers

Logic Design II (17.342) Spring Lecture Outline

CPE 200L LABORATORY 3: SEQUENTIAL LOGIC CIRCUITS UNIVERSITY OF NEVADA, LAS VEGAS GOALS: BACKGROUND: SR FLIP-FLOP/LATCH

Registers and Counters

Universal Asynchronous Receiver- Transmitter (UART)

Contents Circuits... 1

BUSES IN COMPUTER ARCHITECTURE

Registers and Counters

A Combined Combinational-Sequential System

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Introduction. Serial In - Serial Out Shift Registers (SISO)

Logic Design. Flip Flops, Registers and Counters

The University of Texas at Dallas Department of Computer Science CS 4141: Digital Systems Lab

ASYNCHRONOUS COUNTER CIRCUITS

Asynchronous (Ripple) Counters

EE 367 Lab Part 1: Sequential Logic

2. Counter Stages or Bits output bits least significant bit (LSB) most significant bit (MSB) 3. Frequency Division 4. Asynchronous Counters

Digital Fundamentals: A Systems Approach

Name: Date: Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci

Chapter 9 MSI Logic Circuits

Sequential Digital Design. Laboratory Manual. Experiment #7. Counters

UNIVERSITI TEKNOLOGI MALAYSIA

Lecture 8: Sequential Logic

Digital Electronics Lab #4 February 12, 2008

Lecture 12. Amirali Baniasadi

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

Digital Circuits 4: Sequential Circuits

CHAPTER 6 COUNTERS & REGISTERS

Counter dan Register

Counters. ENT 263 Digital Electronics

LATCHES & FLIP-FLOP. Chapter 7

Discussion of New Equipment

Today 3/8/11 Lecture 8 Sequential Logic, Clocks, and Displays

Laboratory 8. Digital Circuits - Counter and LED Display

Registers & Counters. Logic and Digital System Design - CS 303 Erkay Savaş Sabanci University

CPSC 121: Models of Computation Lab #5: Flip-Flops and Frequency Division

EET2411 DIGITAL ELECTRONICS

Operating Manual Ver.1.1

IT T35 Digital system desigm y - ii /s - iii

Chapter 7 Counters and Registers

CPSC 121: Models of Computation Lab #5: Flip-Flops and Frequency Division

TSIU03, SYSTEM DESIGN. How to Describe a HW Circuit

CHAPTER1: Digital Logic Circuits

Chapter 4: Table of Contents. Decoders

Digital Systems Laboratory 3 Counters & Registers Time 4 hours

Chapter 3 Unit Combinational

MODULE 3. Combinational & Sequential logic

Experiment # 9. Clock generator circuits & Counters. Digital Design LAB

Review of digital electronics. Storage units Sequential circuits Counters Shifters

Rensselaer Polytechnic Institute Computer Hardware Design ECSE Report. Lab Three Xilinx Richards Controller and Logic Analyzer Laboratory

EE292: Fundamentals of ECE

Laboratory 9 Digital Circuits: Flip Flops, One-Shot, Shift Register, Ripple Counter

EKT 121/4 ELEKTRONIK DIGIT 1

Chapter 3: Sequential Logic Systems

Chapter 4. Logic Design

University of Pennsylvania Department of Electrical and Systems Engineering. Digital Design Laboratory. Lab8 Calculator

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

Counters

ECE Lab 5. MSI Circuits - Four-Bit Adder/Subtractor with Decimal Output

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

Sequential Logic and Clocked Circuits

Inside Digital Design Accompany Lab Manual

MC9211 Computer Organization

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

University of Illinois at Urbana-Champaign

Computer Organization & Architecture Lecture #5

1. Convert the decimal number to binary, octal, and hexadecimal.

Lab #6: Combinational Circuits Design

Objectives. Combinational logics Sequential logics Finite state machine Arithmetic circuits Datapath

Sequential Logic Counters and Registers

Switching Circuits & Logic Design, Fall Final Examination (1/13/2012, 3:30pm~5:20pm)

Digital Circuits I and II Nov. 17, 1999

Final Exam review: chapter 4 and 5. Supplement 3 and 4

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

Flip-Flops and Related Devices. Wen-Hung Liao, Ph.D. 4/11/2001

CHAPTER 4: Logic Circuits

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

Analysis of Sequential Circuits

COMP2611: Computer Organization. Introduction to Digital Logic

CHAPTER 4: Logic Circuits

CPS311 Lecture: Sequential Circuits

LAB 3 Verilog for Combinational Circuits

Cambridge International Examinations Cambridge International General Certificate of Secondary Education

Registers and Counters

Register Transfer Level in Verilog: Part II

SAULT COLLEGE OF APPLIED ARTS & TECHNOLOGY SAULT STE. MARIE, ONTARIO LOGIC & SWITCHING CIRCUITS NON-SEMESTERED TECHNICIAN PROGRAM

Registers and Counters

Lab #11: Register Files

successive approximation register (SAR) Q digital estimate

Module -5 Sequential Logic Design

Scans and encodes up to a 64-key keyboard. DB 1 DB 2 DB 3 DB 4 DB 5 DB 6 DB 7 V SS. display information.

LAB 3 Verilog for Combinatorial Circuits

Logic Devices for Interfacing, The 8085 MPU Lecture 4

ELEC 204 Digital System Design LABORATORY MANUAL

Digital Logic. ECE 206, Fall 2001: Lab 1. Learning Objectives. The Logic Simulator

Transcription:

Physics 217A LAB 4 Spring 2016 Shift Registers Tri-State Bus Part I 0. In this part of the lab you investigate the 164 a serial-in, 8-bit-parallel-out, shift register. 1. Press in (near the LEDs) a 164. Power the chip at the corners. Take CLOCK and CLEAR to separate NO push buttons. Take A and B to data switches. Take the outputs Q H to LEDs. 2. Read the spec sheet, paying particular attention to the Function Table and the output traces. Test out your chip by switching A and B to high, and clocking. You should see your LEDs sequentially light. What sort of edge-triggered clock does the 164 use? (Report the observations that led to your conclusion!) Is the CLEAR synchronous? (Provide evidence!) How do the serial inputs A and B interact? Part II 0. In this part you will construct the MonoBus (MB). The MB is a useless device that demonstrates several interesting techniques. First the MB is a Tri-State bus. This means that the disastrous consequences of wiring together the outputs of different gates are avoided by designing the circuit so that only one 125 gate is out of its Hi-Z state at a time. That one talking gate determines the logic level of the bus as the other outputs connected to the bus are in a Hi-Z (essentially disconnected) state; the receiver will hear only the one talking gate. Second, the MB is a serial bus. The 4-bit nibble transmitted over the bus is sent bit-by-bit, LSB first, on a single DATA wire. Note closely how parallel data in the 143 is serialized and how serial-to-parallel conversion is done by the receiver. If the LSB is sent first, where on the 164 is it when it is grabbed by the 175? Third, the MB like all buses uses control lines to organize the transfer of data over the bus. One MB control line (Bit Valid, BV) indicates with a positive-going edge that the bit on the bus should be valid now. Another MB control line (End of Transmission, EOT) indicates with a positive-going edge that the MSB has just been transmitted. (The LSB of the next nibble will follow immediately.) Note that four wires (DATA, BV, EOT, and ground) constitute the MB. The 143 counter/latch/decoder/driver is used here with a push-button clock simply to quickly create BCD nibbles to be transmitted. The 163 binary counter is used to cycle through the 4 devices (bits really), allowing each to sequentially control the bus. The 138 is used to decode the address of the device named by the 163 and enable only that gate on the 125 (new chip: tri-state buffer). On the receiving end, the MB DATA is parallelized by a 164, grabbed by a 175 (new chip: edge-triggered D FF), and finally decoded for display by a 48.

clock 163 1. Examine the block diagram on the following page. Understand how the MB works. Cut and tape the below timing diagram into your notebook. Fill in the empty graphs for the case of the to-be-transmitted nibble 2 = 0010 2. Label your graph precisely showing the instant when (a) each bit of data first appears on the MB (e.g., when is the LSB on MB), (b) when each bit of data is grabbed by the shift register, and (c) when the D FF grabs the nibble from the shift register. Also report which output of the 164 has the MSB and which has the LSB when the D FF grabs the nibble. Explain the purpose of the inverter on BV (i.e., what problem would you forsee if it is removed?) 2. Build the MB transmitter on one side of the board, and the MB receiver on the other. Think about how to build the project so it can be checked-out sequentially: it s hard to debug a multi-chip circuit unless you re sure each part is working correctly. 3. Connect the transmitter and receiver and show the working example to your instructor. 4. Remove the inverter on BV. What happens? Can you explain it? t BV EOT DATA

common anode common cathode Push Button Clock 163 counter A B C 138 decoder 0 1 2 3 enables: C 125 Tri State Buffer inputs: A outputs: Y Q C Q D outputs: a g 143 counter display driver +5 V DATA BV EOT +5 V A B Q C Q D inputs: D outputs: Q A B C D outputs: a g 164 shift register 175 DFF 48 display driver