Lab #6: Combinational Circuits Design

Similar documents
Experiment (6) 2- to 4 Decoder. Figure 8.1 Block Diagram of 2-to-4 Decoder 0 X X

LAB #6 State Machine, Decoder, Buffer/Driver and Seven Segment Display

Physics 323. Experiment # 10 - Digital Circuits

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE

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

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

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

Lab #10 Hexadecimal-to-Seven-Segment Decoder, 4-bit Adder-Subtractor and Shift Register. Fall 2017

NAND/NOR Implementation of Logic Functions

PHYS 3322 Modern Laboratory Methods I Digital Devices

Lab 17: Building a 4-Digit 7-Segment LED Decoder

EECS 140 Laboratory Exercise 7 PLD Programming

MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM

Data Sheet. Electronic displays

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

University of Illinois at Urbana-Champaign

Chapter 8 Functions of Combinational Logic

16 Stage Bi-Directional LED Sequencer

Engineering College. Electrical Engineering Department. Digital Electronics Lab

Digital Electronic Circuits Design & Laboratory Guideline

Operating Manual Ver.1.1

ME 515 Mechatronics. Introduction to Digital Electronics

Experiment # 4 Counters and Logic Analyzer

ECE 372 Microcontroller Design

LABORATORY # 1 LAB MANUAL. Digital Signals

gate symbols will appear in schematic Dierent of a circuit. Standard gate symbols have been diagram Figures 5-3 and 5-4 show standard shapes introduce

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

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

VikiLABS. a g. c dp. Working with 7-segment displays. 1 Single digit displays. July 14, 2017

ELEC 204 Digital System Design LABORATORY MANUAL

TYPICAL QUESTIONS & ANSWERS

Department of Electrical Engineering University of Hail Ha il - Saudi Arabia

EE 210. LOGIC DESIGN LAB.

Analogue Versus Digital [5 M]

EEM Digital Systems II

Chapter 4: Table of Contents. Decoders

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

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

Digital Networks and Systems Laboratory 2 Basic Digital Building Blocks Time 4 hours

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

ระบบคอมพ วเตอร และการเช อมโยง Computer Systems and Interfacing บทท 1 พ นฐานด จ ตอล

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

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

ECE 2274 Pre-Lab for Experiment Timer Chip

Dev Bhoomi Institute Of Technology Department of Electronics and Communication Engineering PRACTICAL INSTRUCTION SHEET

ASNT_PRBS20B_1 18Gbps PRBS7/15 Generator Featuring Jitter Insertion, Selectable Sync, and Output Amplitude Control

Combinational Logic Design

DIGITAL ELECTRONICS LAB MANUAL FOR 2/4 B.Tech (ECE) COURSE CODE: EC-252

ELECTRICAL ENGINEERING DEPARTMENT California Polytechnic State University

Chapter 3: Sequential Logic Systems

TRAINING KITS ON DIGITAL ELECTRONIC EXPERIMENTS. Verify Truth table for TTL IC s AND, NOT, & NAND GATES

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

MODULE 3. Combinational & Sequential logic

7 SEGMENT LED DISPLAY KIT

University of Victoria. Department of Electrical and Computer Engineering. CENG 290 Digital Design I Lab Manual

DIGITAL LOGIC DESIGN. Press No: 42. Second Edition

COMPUTER ENGINEERING PROGRAM

Part (A) Controlling 7-Segment Displays with Pushbuttons. Part (B) Controlling 7-Segment Displays with the PIC

Digital Circuits ECS 371

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

Table of Contents Introduction

THE KENYA POLYTECHNIC

Laboratory 8. Digital Circuits - Counter and LED Display

Palestine Technical College. Engineering Professions Department. EEE Digital Logic Fundamentals. Experiment 2.

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

Chapter 9 MSI Logic Circuits

Encoders and Decoders: Details and Design Issues

AIM: To study and verify the truth table of logic gates

UNIVERSITI TEKNOLOGI MALAYSIA

Computer Systems Architecture

Review : 2 Release Date : 2019 Last Amendment : 2013 Course Code : SKEE 2742 Procedure Number : PK-UTM-FKE-(0)-10

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

1. True/False Questions (10 x 1p each = 10p) (a) I forgot to write down my name and student ID number.

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

OFC & VLSI SIMULATION LAB MANUAL

DepartmentofElectronicEngineering NEDUniversity ofengineering &Technology LABORATORY WORKBOOK DIGITAL LOGIC DESIGN (TC-201)

Lab #12: 4-Bit Arithmetic Logic Unit (ALU)

Contents Circuits... 1

EEE130 Digital Electronics I Lecture #1_2. Dr. Shahrel A. Suandi

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

WINTER 15 EXAMINATION Model Answer

Design of a Binary Number Lock (using schematic entry method) 1. Synopsis: 2. Description of the Circuit:

successive approximation register (SAR) Q digital estimate

LAB 3 Verilog for Combinational Circuits

Light Emitting Diodes and Digital Circuits I

Programmable Logic Design Techniques II

Lab #11: Register Files

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

Light Emitting Diodes and Digital Circuits I

Exercise 2: D-Type Flip-Flop

Exercise 1-2. Digital Trunk Interface EXERCISE OBJECTIVE

FUNCTIONS OF COMBINATIONAL LOGIC

How smart dimming technologies can help to optimise visual impact and power consumption of new HDR TVs

Digital Circuits I and II Nov. 17, 1999

Chapter Contents. Appendix A: Digital Logic. Some Definitions

Digital Fundamentals. Lab 5 Latches & Flip-Flops CETT Name: Date:

LAB 3 Verilog for Combinatorial Circuits

Tribhuvan University Institute of Science and Technology Bachelor of Science in Computer Science and Information Technology

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

Discussion of New Equipment

Transcription:

Lab #6: Combinational Circuits Design PURPOSE: The purpose of this laboratory assignment is to investigate the design of combinational circuits using SSI circuits. The combinational circuits being implemented in this lab are a BCD-to-7 segment decoder, a Binary-to-BCD converter, and a -bit Binary Adder. Upon completion of this lab you should be able to: Understand the use of Boolean laws in implementing real circuits. Understand the behavior of a display decoder. Understand the behavior of a combinational code converter Understand the behavior of a binary adder. Understand the concept of time multiplexing. Appreciate the concept of design decomposition and integration. MATERIALS: ICs: 70 (-input NOT), 783 (-bit Adder with fast Carry), 757 (quad -to- Multiplexer ), and 77(BCD-to-7 Segment Decoder). DC Power Supply DVM (Digital Volt Meter or Multimeter) Function Generator Oscilloscope

PRELAB P. BCD-to-7 Segment Decoder A BCD to seven-segment decoder is to be designed to create the numeric digit display patterns shown in Figure. Figure. Pin diagram of the 7-segment display. The display element is of the common anode variety. The decoder receives its BCD input on lines D 3 D D D 0, D 3 being the MSB. 0 3 5 6 7 8 9

a) Complete the following truth table of the decoder. D3 D D D0 Seg_a Seg_b Seg_c Seg_d Seg_e Seg_f Seg_g 0 0 0 0 0 0 0 0 0 0 0 0 Binary code of any number > 9 (Display OFF) b) Use Boolean laws to find the minimum expressions of all the outputs. P. Binary-to-BCD Decoder A Binary-to-BCD code converter is a combinational circuit that takes a binary code of n bits and convert it into a BCD code of m digits. We want to design a -bit Binary-to-BCD code converter. The block diagram of the circuit is given as follows (Figure ): 3

BCD_3 A (MSB) BCD_ BCD_ B BCD_0 C -bit Binary-to BCD Code Converter BCD0_3 D (LSB) BCD0- BCD0_ BCD0_ (Always 0, not to be considered for a -bit input code converter) Figure. Logic block diagram of a Binary-to-BCD Code Converter.

a) Complete the following truth table of the code converter INPUTS OUTPUTS # Binary Code BCD BCD0 Numb. A B C D BCD_3 BCD_ BCD_ BCD_0 BCD0_3 BCD0_ BCD0_ BCD0_0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 6 0 0 0 0 0 0 7 0 0 0 0 0 8 0 0 0 0 0 0 0 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 5 0 0 0 b) Because BCD_3 = BCD_ = BCD_ = 0, we consider them as non existing (for the time being), therefore the number of outputs is reduced to 5. Use Boolean laws to find the minimum expressions of BCD0_3, BCD0_, BCD0_, and BCD0_ (show all the workings). c) Draw the logic circuit implementation of BCD_0 using available logic 73 and 7 gates. EXPERIMENTS The 7LS7 is an IC that does the BCD-to-7 segment conversion. The connection diagram for the 7LS7 is shown in Figure, and the connection diagram for the 7-segment display is shown in Figure. Because of the way the 7-segment display is designed, a current-limiting resistor must be inserted between each output from the 7LS7 and the corresponding input of the display. Since handling so many individual resistors is unwieldy, you will use a 6R resistor network device. This device consists simply of eight resistors in a single package, as shown in Figure 5. 5

Figure. Pin diagram of the 7LS7 BCD to 7-segment decoder integrated circuit. Figure 5. Pin diagram of the 6R resistor network (the value of each resistor is 70 Ohms). The decoder an display module is shown in figure 6. 7 6 9 0 8, 3 Figure 6. Decoder and display circuit. 6

Experiment Seven-segment displays are now widely used in almost all microprocessor-based instruments. A single seven-segment display can display the digits from 0 to 9 and the hex digits A to F. Each display is composed of seven LEDs that are arranged in a way to allow the display of different digits using different combinations of LEDs (figure ). Since the display is composed of LEDs, which need high current to drive them, power consumption is very critical. Consider a panel with displays and the number to be displayed is 88. Each LED needs 0 ma. So we need a current of 0x7x = 80 ma. That s a lot of current compared to the current consumed by the microprocessor. Another problem is the number of components and output bits that are needed to connect the displays to the processor. We need at least x7 = 8 resistors and output bits for the displays. Is there a solution for these problems? Yes, there is, it s called MULTIPLEXING! This connection scheme creates a multiplexed display, where driving the anode signals and corresponding cathode patterns of each digit in a repeating, continuous succession can create the appearance of a fourdigit display. Each of the four digits will appear bright and continuously illuminated if the digit enable signals are driven low once every to 6ms (for a refresh frequency of khz to 60Hz). For example, in a 60Hz refresh scheme, each digit would be illuminated for one quarter of the refresh cycle, or ms. The controller must assure that the correct cathode pattern is present when the corresponding anode signal is driven (figure 7). Refresh Period = ms to 6 ms Cathodes BCD0 BCD Fig. 7. Time Multiplexing of the display. 7

a 8, 3 7 6 9 0 5 8 7 9 Multiplexer 757 6 5V 7 6 8, 3 a 5 3 6 0 3 9 B CD0_3 B CD0_ B CD0_ B CD0_0 B CD_0 0 From the Binary-to-BCD Code Converter (Fig. ) 70 o a Square-Wave Signal Generator a Figure 8. Time-multiplexing circuit of the -bit Binary-to-BCD a) Completely build, test, and demonstrate the operation of this circuit to the lab instructor. The frequency of the square must be set to 800 Hz. b) What happens on the display when the frequency of the square wave signal is in the range of 0 to 0 Hz or.5 khz to 00 khz? c) What happens to display module when the maximum amplitude of the square wave is set to V peak to Peak without any DC component? Explain your observation. Experiment We want evaluate the behavior of a -bit Adder IC (783). The circuit to be implemented combines the circuit of figures 8 and 9. 8

A, B, C,and D are the inputs of the Binary -to-bcd Code converter Carry Out A B C D 5V 0 Ohms LED 5 6 9 5 C Sum Sum3 Sum Sum Vcc GND 3 C0 A A3 A A B B3 B B 3 8 0 6 7 -bit input A -bit input B Figure 9. -bit Adder to be connected to the circuit diagram of figure 9. a) Implement the circuit on your proto board. Complete the following table by changing the values of A and B. Value of A Value of B Display Display Led status 5 0 5 3 0 9 9 5 b) What are the status of the display and the LED when the numbers present at A and B have their sum greater than 5 (for instance A = 0 and B = 0)? c) In order to have a correct representation of the addition of -bit numbers we have to consider C as an output (MSB of the Adder) with the other outputs A, B, C, and D (LSB). Show how the circuit of figure 7 can be modified to accommodate this new configuration. LAB REPORT Use the template lab report available on the course web site. 9