Dept. of Electrical and Computer Eng., NCTU 1 Lab 4. BCD Adder Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.

Slides:



Advertisements
Similar presentations
ADDER, HALF ADDER & FULL ADDER
Advertisements

Conversion and Coding (12)10.
5.4 Decoders A decoder is a multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs, where the input and output codes.
Seven Segment Display. What's A 7-Segment Display? A 7-segment display is a package with 7 bar-shaped LEDs arranged to allow the display of many useful.
LOGIC DESIGN AND CIRCUITS SEVEN SEGMENT LED DISPLAY Res. Assist. Hale İnan 1.
CHAPTER 6 Functions of Combinational Logic
1 Homework Reading –Tokheim, Section 5-10, 7-4 Machine Projects –Continue on MP4 Labs –Continue labs with your assigned section.
CSE-221 Digital Logic Design (DLD)
Decoder.
Digital Circuits. Analog and Digital Signals Noise margins in Logic Circuits VMVM.
COMBINATIONAL CIRCUITS USING TTL 74XX ICS
OTHER COMBINATIONAL LOGIC CIRCUITS
Chapter 3 Combinational Logic Design
Combinational circuits
Electronics Technology Seven-Segment Displays
BCD to 7-Segment Display
Rise and rise again until lambs become lions 授課老師:伍紹勳 課程助教:邱麟凱、江長庭.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Lecture No. 14 Combinational Functional Devices svbitec.wordpress.com.
UNIVERSAL COLLEGE OF ENGINEERING &TECHNOLOGY DIGITAL ELECTRONICS SUBJECT - DIGITAL ELECTRONICS.
Logic Function Optimization. Combinational Logic Circuit Regular SOP and POS designs Do not care expressions Digital logic circuit applications Karnaugh.
Logic Experiment 4 老師:伍紹勳 助教:江長庭 鄭仲傑.
A little bit of exercise.. ;). Exercise Given to you are some binary to decimal examples : Given to you are some binary to decimal examples : Tens Units.
Functions of Combinational Logic
Dept. of Mechatronics Engg. Intro to SSD and BCD to SSD( conversion ) Decoder. Lab 09 1.
Digital Electronics and Computer Interfacing
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
Computer Science 101 Circuit Design - Examples. Sum of Products Algorithm Identify each row of the output that has a 1. Identify each row of the output.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Universal college of engineering & technology. .By Harsh Patel)
1 Ethics of Computing MONT 113G, Spring 2012 Session 5 Binary Addition.
CS221: Digital Logic Design Combinational Circuits
ECEN 248 Lab 2: Logic Minimization and Karnaugh Maps
ECE 320 Homework #3 1. Simplify the Boolean function F using the don’t care conditions d, in both S.O.P. and P.O.S. form: a) F=A’B’D’+A’CD+A’BC d=A’BC’D+ACD+AB’D’
Computing Machinery Chapter 3: Combinational Circuits.
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
Dept. of Electrical and Computer Eng., NCTU 1 Lab 9. Up Counter Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
Dept. of Electrical and Computer Eng., NCTU
CEC 220 Digital Circuit Design
ECE 320 Homework #4 1. Using 8 data input selector logic (MUX), implement the following two functions: a) F(A,B,C)=S 0 S 2 S 3 S 5 b) F(A,B,C,D)=P 0 +P.
BCD S EVEN SEGMENT D ECODER. I NTRODUCTION  A Decoder IC, is a device which converts one digital format into another and the most commonly used device.
Dept. of Electrical and Computer Eng., NCTU 1 Lab 8. D-type Flip-Flop Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
Dept. of Electrical and Computer Eng., NCTU
Dept. of Electrical and Computer Eng., NCTU 1 Lab 2. NAND and XOR Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
How does a Computer Add ? Logic Gates within chips: AND Gate A B Output OR Gate A B Output A B A B
Dept. of Electrical and Computer Eng., NCTU 1 Lab 1. Full Adder Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
Dept. of Electrical and Computer Eng., NCTU 1 Lab 7. 8-to-1 Multiplexer Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
Dept. of Electrical and Computer Eng., NCTU 1 Lab 5. 3-to-8 Decoder Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
ACOE161Digital Circuit Design1 Design Of Combinational Logic Circuits.
DIGITAL ELECTRONICS THEME 2: Combinational Logic Circuits. Decoders, Multiplexers, De-multiplexers, Code converters. For combinational logic the values.
Decoders A decoder is a logic circuit that detects the presence of a specific combination of bits at its input. Two simple decoders that detect the presence.
Decoder Chapter 12 Subject: Digital System Year: 2009.
Lecture No. 14 Combinational Functional Devices. Digital Logic &Design Dr. Waseem Ikram Lecture 14.
Dept. of Electrical and Computer Eng., NCTU 1 Lab 10. Up/Down Counter Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
Dept. of Electrical and Computer Eng., NCTU
Dept. of Electrical and Computer Eng., NCTU
Multiplexer.
Display Devices 7 segment led display.
LAB #1 Introduction Combinational Logic Design
Dept. of Electrical and Computer Eng., NCTU
Summary Half-Adder Basic rules of binary addition are performed by a half adder, which has two binary inputs (A and B) and two binary outputs (Carry out.
ELL100: INTRODUCTION TO ELECTRICAL ENGG.
Homework Reading Tokheim, Section 5-10, 7-4.
Number Systems and Circuits for Addition
3-bit calculator using 7-segment LEDs
Digital Logic.
XOR Function Logic Symbol  Description  Truth Table 
Adder, Subtructer, Encoder, Decoder, Multiplexer, Demultiplexer
Dept. of Electrical and Computer Eng., NCTU
Dept. of Electrical and Computer Eng., NCTU
Presentation transcript:

Dept. of Electrical and Computer Eng., NCTU 1 Lab 4. BCD Adder Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu

Logic DesignLab 4. BCD AdderChun-Hsien Ko Dept. of Electrical and Computer Eng., NCTU 2 Outlines Binary and Decimal BCD Adder and Decoder 4-bit Binary Full Adder (7483) BCD Adder Combinational Logic of BCD Decoder 7-segment Decoder BCD-to-7-Segment Decoders (7447) 7-Segment LED LAB 4: BCD Adder

Logic DesignLab 4. BCD AdderChun-Hsien Ko Binary 4-bit binary digits can represent 16 different numbers (0~15) Easy to compute in digital circuit 0x00, 0x01, …, 0x09, 0x0A, 0x0B, …,0x0F Binary-Coded Decimal (BCD) A decimal digit can represent 10 different numbers (0~9) Using 4-bit binary digits to represent a decimal digit Familiar to most people Only use 0x00 ~ 0x09 in 4-bit digits Dept. of Electrical and Computer Eng., NCTU 3

Logic DesignLab 4. BCD AdderChun-Hsien Ko Two 4-bit binary inputs: A (A4;A3;A2;A1) and B (B4;B3;B2;B1) Input 0 ≦ A, B ≦ 9 → Output 0 ≦ A+B ≦ 18 If A+B = 0~9 Output Carry = 0,Sum = A+B If A+B = 10~18 Output Carry = 1, Sum = A+B+6 Why? 0x0A = (1010) 2 = (10) 10 (10000) 2 – (01010) 2 = (00110) 2 Dept. of Electrical and Computer Eng., NCTU 4

Logic DesignLab 4. BCD AdderChun-Hsien Ko Dept. of Electrical and Computer Eng., NCTU 5

Logic DesignLab 4. BCD AdderChun-Hsien Ko Dept. of Electrical and Computer Eng., NCTU 6 4-bit Binary Full Adder BCD Adder Combinational logic BCD-to-7- Segment Decoders

Logic DesignLab 4. BCD AdderChun-Hsien Ko 4-bit Adder: 74LS83 Dept. of Electrical and Computer Eng., NCTU 7 No C0 in this Lab Pin 13 connect to GND

Logic DesignLab 4. BCD AdderChun-Hsien Ko Combinational Logic of BCD Decoder Dept. of Electrical and Computer Eng., NCTU 8 T 8 T 4 + T 8 T 2 + K Add 6 or not (0110)

Logic DesignLab 4. BCD AdderChun-Hsien Ko 7-segment LED Display Common anode pin ‘A’ and ‘k’ connect to VCC LED illuminate when its input pin is low Therefore, we need to decode the number for display with the 7-segment display For example, if we want to show ‘1’, we need to input [ ] in term of [a b c d e f g dp] Reference Dept. of Electrical and Computer Eng., NCTU 9

Logic DesignLab 4. BCD AdderChun-Hsien Ko BCD-to-7-Segment Decoders (7447) Dept. of Electrical and Computer Eng., NCTU 10 Don’t care N = 8*A+4*B+2*C+D = (A;B;C;D) 2

Logic DesignLab 4. BCD AdderChun-Hsien Ko 7-segment LED Display Dept. of Electrical and Computer Eng., NCTU Ω( 橘橘棕 )

Logic DesignLab 4. BCD AdderChun-Hsien Ko Dept. of Electrical and Computer Eng., NCTU 12 tronic_color_code

Logic DesignLab 4. BCD AdderChun-Hsien Ko Dept. of Electrical and Computer Eng., NCTU 13 Lab 4: BCD Adder