CPE 200L LABORATORY 2: DIGITAL LOGIC CIRCUITS BREADBOARD IMPLEMENTATION UNIVERSITY OF NEVADA, LAS VEGAS GOALS:

Similar documents
CPSC 121: Models of Computation Lab #2: Building Circuits

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

ECE 274 Digital Logic. Digital Design. Datapath Components Registers. Datapath Components Register with Parallel Load

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE

Chapter 1: Introduction

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

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

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

Lab #6: Combinational Circuits Design

Applications to Transistors

Homework 1. Homework 1: Measure T CK-Q delay

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

Chapter 8 Functions of Combinational Logic

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

Lecture 3: Circuits & Layout

The Official IDENTITY SYSTEM. A Manual Concerning Graphic Standards and Proper Implementation. As developed and established by the

Chapter 4: Table of Contents. Decoders

ECE 274 Digital Logic. Digital Design. Sequential Logic Design Controller Design: Laser Timer Example

GRABLINKTM. FullTM. - DualBaseTM. - BaseTM. GRABLINK Full TM. GRABLINK DualBase TM. GRABLINK Base TM

Sequencer devices. Philips Semiconductors Programmable Logic Devices

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

FUNCTIONS OF COMBINATIONAL LOGIC

ECE 2274 Pre-Lab for Experiment Timer Chip

WE SERIES DIRECTIONAL CONTROL VALVES

LAERSKOOL RANDHART ENGLISH GRADE 5 DEMARCATION FOR EXAM PAPER 2

EXPERIMENT 8 Medium Scale Integration (MSI) Logic Circuits

SeSSION 9. This session is adapted from the work of Dr.Gary O Reilly, UCD. Session 9 Thinking Straight Page 1

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

EXPERIMENT #6 DIGITAL BASICS

Combinational Logic Design

IS1500 (not part of IS1200) Logic Design Lab (LD-Lab)

MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM

Corporate Logo Guidelines

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

Engineering College. Electrical Engineering Department. Digital Electronics Lab

Engineer To Engineer Note

LOGOMANUAL. guidelines how to use Singing Rock logotype. Version 1.5 English. Lukáš Matěja

Digital Circuits ECS 371

Outline. Circuits & Layout. CMOS VLSI Design

Contents Circuits... 1

DRAFT. Vocal Music AOS 2 WB 3. Purcell: Music for a While. Section A: Musical contexts. How is this mood achieved through the following?

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

LOGICAL FOUNDATION OF MUSIC

Laboratory Objectives and outcomes for Digital Design Lab

EE 210. LOGIC DESIGN LAB.

Your Summer Holiday Resource Pack: English

Lab #11: Register Files

Chapter 3: Sequential Logic Design -- Controllers

Outline. Annual Sales. A Brief History. Transistor Types. Invention of the Transistor. Lecture 1: Circuits & Layout. Introduction to CMOS VLSI Design

EXPERIMENT: 1. Graphic Symbol: OR: The output of OR gate is true when one of the inputs A and B or both the inputs are true.

Physics 323. Experiment # 10 - Digital Circuits

ELEC 204 Digital System Design LABORATORY MANUAL

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

ME 515 Mechatronics. Introduction to Digital Electronics

walking. Rhythm is one P-.bythm is as Rhythm is built into our pitch, possibly even more so. heartbeats, or as fundamental to mu-

Chapter 5. Synchronous Sequential Logic. Outlines

Laboratory 8. Digital Circuits - Counter and LED Display

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

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

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science

Mapping Arbitrary Logic Functions into Synchronous Embedded Memories For Area Reduction on FPGAs

Advanced Devices. Registers Counters Multiplexers Decoders Adders. CSC258 Lecture Slides Steve Engels, 2006 Slide 1 of 20

Application Support. Product Information. Omron STI. Support Engineers are available at our USA headquarters from

Soft Error Derating Computation in Sequential Circuits

Minnesota State College Southeast

A New Concept of Providing Telemetry Data in Real Time

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

Chapter 9 MSI Logic Circuits

Half-Adders. Ch.5 Summary. Chapter 5. Thomas L. Floyd

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

Day care centres (ages 3 to 5) Kindergarten (ages 4 to 5) taken part in a fire drill in her building and started to beep.

Jawaharlal Nehru Engineering College

PHYS 3322 Modern Laboratory Methods I Digital Devices

Sequential logic circuits

92.507/1. EYR 203, 207: novaflex universal controller. Sauter Systems

General: Catalog Description: Grading Policy: Course Code: COE 203 Title: Digital Logic Laboratory Co-requisite(s): COE 202 (Digital Logic Design)

DALHOUSIE UNIVERSITY Department of Electrical & Computer Engineering Digital Circuits - ECED 220. Experiment 4 - Latches and Flip-Flops

LCD Data Projector VPL-S500U/S500E/S500M

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

TAP 413-1: Deflecting electron beams in a magnetic field

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

CSE 352 Laboratory Assignment 3

LED BASED SNAKE GAME

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic

North Shore Community College

R13 SET - 1 '' ''' '' ' '''' Code No: RT21053

VISUAL IDENTITY GUIDE

CPE 310L EMBEDDED SYSTEM DESIGN (CPE)

DIGITAL CIRCUIT PROJECTS

LABORATORY # 1 LAB MANUAL. Digital Signals

Catch or Die! Julia A. and Andrew C. ECE 150 Cooper Union Spring 2010

Contents. English. English. Your remote control 2

Experiment # 4 Counters and Logic Analyzer

Answers to Exercise 3.3 (p. 76)

Encoders and Decoders: Details and Design Issues

Introduction. APPLICATION NOTE 712 DS80C400 Ethernet Drivers. Jun 06, 2003

DALHOUSIE UNIVERSITY Department of Electrical & Computer Engineering Digital Circuits - ECED 2200

style type="text/css".wpb_animate_when_almost_visible { opacity: 1; }/style

Chapter 2. Digital Circuits

REPEAT EXAMINATIONS 2004 SOLUTIONS

Transcription:

CPE 200L LABORATORY 2: DIGITAL LOGIC CIRCUITS BREADBOARD IMPLEMENTATION DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOALS: In this l, the sic logic circuits will e uilt on the redord. Wiring circuits from the schemtic, using pproprite ICs, using the redords nd trouleshooting in generl re the min gols of this l. BACKGROUND: IMPLEMENTING FUNCTIONS ON THE BREADBOARD Min rules / steps to get circuit working exmple for function F = + : 1. Split function into seprte modules. For function F there will e module nd module '' 2. Implement nd test modules seprtely 3. Connect modules nd test 4. It is possile, tht the chip is fulty. To mke sure the chip is working, connect +5V to VCC, 0V to GND, nd connect one gte nd test its opertion. Other test method is to use the IC tester. You ll find them in the ECE Ls: DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 1

Figure 1. Digitl IC Tester ville in ECE Ls Implementtion of F = + function. Implementing module: Implement AND gte, nd verify its opertion y connecting the LED in series with 100Ω resistor y y Plce chip, nd power it y connecting +5V to VCC, nd 0V to GND Connect inputs nd outputs: to pin 1, to pin 2, y to pin 3 Figure 2. Setup of AND gte with LED Connect LED to the output y: plce LED s shown ove longer led to y, shorter to the resistor. Resistor connects shorter LED led to the ground (0V). At this point, the module is tested nd working. Next step: implementing the '' module. You need to invert the nd signls first, using NOT gtes. ' ' ' ' '' Plce chip, nd power it y connecting +5V to VCC, nd 0V to GND Connect inputs nd outputs: to pin 1, ' to pin 2, to pin 3, ' to pin 4 Use ' nd ' s inputs to AND gte. Connect '' to LED nd test. Figure 3. Setup of NOT nd AND gte DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 2

Now, hving the nd '' modules tested, you connect them using OR gte. ' ' F '' Plce chip, nd power it y connecting +5V to VCC, nd 0V to GND. Connect '' nd, the output of OR gte is F Figure 4. Connecting modules Rememer to hve just single one wire for signl, nd just single one wire for signl. 7-SEGMENT DISPLAY To represent the digitl signls either LEDs or 7-segment displys cn e used. LEDs re suitle to represent single-it inry signls, while 7-segments re used to represent multi-it numers. Binry coded deciml (BCD) numers re often displyed on seven segment disply using BCD to seven segment decoder such s 7447, which we use in this l. Figure 7 illustrtes BCD to seven segment disply circuit. Figure 5. 7-segment disply DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 3

There re two configurtions of 7-segment displys: common node nd common cthode. In this l we use common node type, wht cn e illustrted s follows: Figure 6. Common node configurtion Figure 10 shows complete schemtics for 7-segment nd 7447 driver configurtion. 7447 tkes BCD numer s the input nd converts to 7-signl formt, s shown in truth tle further. Do not forget out the 2.4 kω resistor, to limit the current. Figure 7. Schemtics for 7-seg with 7447 configurtion DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 4

FULL ADDER Full dder hs three inputs nd two outputs. The first two inputs re A nd B (oth re 1-it numers) nd the third input is n input crry designted s Cin. Full dder cn dd two its together, tking crry from the next lower order of mgnitude, nd sending crry to the next higher order of mgnitude. Figure 8. Full Adder setup Tle 1. Truth tle for Full Adder A B CIN S COUT 0 0 0 0 0 0 0 1 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 1 0 1 0 1 1 1 0 0 1 1 1 1 1 1 MULTIPLEXERS AND DEMULTIPLEXERS A multiplexer (or mux) is device tht selects one of severl nlog or digitl input signls nd forwrds the selected input into single line. A multiplexer of 2n inputs hs n select lines, which re used to select which input line to send to the output. Multiplexers re minly used to increse the mount of dt tht cn e sent over the network within certin mount of time nd ndwidth. A multiplexer is lso clled dt selector. Demultiplexer works the opposite wy: it tkes one dt input nd hs multiple outputs. The ctive output is selected using selector inputs. An electronic multiplexer mkes it possile for severl signls to shre one device or resource, for exmple one A/D converter or one communiction line, insted of hving one device per input signl. An electronic multiplexer cn e considered s multiple- input, single-output switch. The schemtic symol for multiplexer is n isosceles trpezoid with the longer prllel DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 5

side contining the input pins nd the short prllel side contining the output pin. The schemtic in Figure 9 shows 2-to-1 multiplexer with the s wire controlling the desired input to the output. It cn e expressed s truth tle s shown in Tle 1: ) input ctive (s=0) ) input ctive (s=1) Figure 9. Input selection for 2-to-1 multiplexer Tle 2. Truth tle of 2-to-1 multiplexer S A B Z 1 1 1 0 1 0 1 0 1 0 0 0 0 1 1 1 1 1 0 0 0 1 1 0 0 0 4-to-1 multiplexer hs 4 dt inputs nd two selector inputs. According to the vlues of selector inputs, one of four dt inputs is ctive nd signls from this input re pssed to the output of multiplexer. Figure 10 shows the exmple configurtion of 4-to-1 multiplexer. DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 6

Figure 10. 4-to-1 multiplexer ARITHMETIC-LOGIC UNIT (ALU) Arithmetic logic unit is the most importnt element of microprocessor which performs oth mth nd logic functions. An ALU lods dt from input registers, n externl Control Unit then tells the ALU wht opertion to perform on tht dt, nd then the ALU stores its result into n output register. ALU tkes mny opernds s input dt, then depending on the opertion which is currently progrmmed in opertion selector, it performs this opertion on input opernd nd produces the result. The result is presented on the ALU s output. Figure 11. Block schemtic of ALU ) logic opertion ) rithmetic opertion Figure 12. Logic nd rithmetic opertion in ALU In this l, we will e working on ALU which performs three functions: logicl AND: y = logicl OR: y = + logicl XOR: y = rithmetic ddition: y = + DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 7

Figure 13. Smple implementtion of 1-it ALU with AND, OR, ADD functions. LAB DELIVERIES: PRELAB: 1. Bredords: 1. Red the tutoril on how to use redord. The written tutoril cn e found on our wesite t: http://fculty.unlv.edu/eels/docs/equipment/redords.pdf 2. 1-it ALU: 1. Design 1-it ALU with AND, OR, XOR, ADD functions. Simulte gte level schemtic in Qurtus. 3. Prel deliveries Include in the prel document: 1. Your design of 1-it ALU 2. Simultion wveforms of 1-it ALU DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 8

LAB EXPERIMENTS To find the chip implementing the desired function, or to look for the dtsheet regrding the specific chip, go to https://fculty.unlv.edu/eels/index.html?nvi=min_icdtsheets 1. Experiment 1: Simple circuit 1. Implement the following circuit on the redord, using the 74xx chips. Function: y = + c Figure 14. Schemtic for experiment 1 Use the tutoril from the introduction section of this document s guide for the implementtion. 2. Experiment 2: Full Adder 1. Crete full dder schemtic s shown of Figure 8 2. Crete mcro of Full dder to use for hierrchicl design. 3. Perform simultion nd verify tht it mtches FA truth tle shown on Tle 1. 3. Experiment 3: Implementing dder using IC 1. Use the 7483 IC (4-it full inry dder) to implement the 2-it ddition Figure 15. 7483 chip DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 9

2. Test the opertion for 6 smple comintions of your choice: 3 of them not including crry, 3 of them including crry. 4. Experiment 4: 1-it ALU 1. Build 1-it ALU with AND, OR, XOR, FA functions. 2. For the Full Adder, you cn use the sme circuit s in experiment 1, or the IC chip 3. Design the 1-it ALU sed on the Figure 13. POSTLAB REPORT: Include the following elements in the report document: Section Element 1 Theory of opertion Include rief description of every element nd phenomenon tht ppers during the experiments. 2 Prel report Results of the experiments Experiment Experiment Results 1. Truth tle. Picture of the circuit on the redord 3 2. Truth tle. Picture of the circuit on the redord 3. Truth tle. Picture of the circuit on the redord 4. Truth tle. Picture of the circuit on the redord Answer the questions Question no. Question 4 1 Wht is the difference etween Hlf Adder nd Full Adder? Descrie oth. 2 Briefly chrcterize the IC7483 chip. 3 Wht re sic cpilities of Digitl IC Testers? 5 Conclusions Write down your conclusions, things lerned, prolems encountered during the l nd how they were solved, etc. References: 1. Introduction to redords: http://fculty.unlv.edu/eels/docs/equipment/redords.pdf 2. Dtsheets of 7400 series chips: http://fculty.unlv.edu/eels/index.html?nvi=min_icdtsheets 3. Dtsheet of 7483 4-it inry dder: https://fculty.unlv.edu/eels/docs/dtsheets/7483.pdf DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 10