Logic Experiment 4 老師:伍紹勳 助教:江長庭 鄭仲傑.

Slides:



Advertisements
Similar presentations
ADDER, HALF ADDER & FULL ADDER
Advertisements

Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
Conversion and Coding (12)10.
Logic Design Lab3 老師 : 伍紹勳 助教 : 江長庭 鄭仲傑. Equipment IC : –7408(AND) x 1 –7432(OR) x 1 –7486(XOR) x 1 –LED x 3.
System Digital Encoder, Decoder, and Contoh Penerapanya.
Rise and rise again until lambs become lions 授課老師:伍紹勳 課程助教:邱麟凱、江長庭.
CSE-221 Digital Logic Design (DLD)
CK Cheng Tuesday 10/2/02 CS 140 Lecture 2. Part I. Combinational Logic I) Specification –a. Language –b. Truth Table –c. Boolean Algebra –d. Incompletely.
Digital Circuits. Analog and Digital Signals Noise margins in Logic Circuits VMVM.
OTHER COMBINATIONAL LOGIC CIRCUITS
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.
CS 105 Digital Logic Design
Lecture No. 14 Combinational Functional Devices svbitec.wordpress.com.
Rise and rise again until lambs become lions 授課老師:伍紹勳 課程助教:邱麟凱、江長庭.
Rise and rise again until lambs become lions 授課老師:伍紹勳 課程助教:江長庭、柯俊先.
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.
MSI Devices M. Mano & C. Kime: Logic and Computer Design Fundamentals (Chapter 5) Dr. Costas Kyriacou and Dr. Konstantinos Tatas ACOE161 - Digital Logic.
Conversion and Coding (12) 10. Conversion and Coding (12) Conversion.
Functions of Combinational Logic
1 Adders & Subtractors Adders –An adder is a combinational logic circuit that performs the addition of 2 binary numbers (A & B) to generate the sum (S)
Rise and rise again until lambs become lions 授課老師:伍紹勳 課程助教:邱麟凱、江長庭 有情助教:蔡東倫.
Digital Electronics and Computer Interfacing
Lecture 9 Topics: –Combinational circuits Basic concepts Examples of typical combinational circuits –Half-adder –Full-adder –Ripple-Carry adder –Decoder.
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.
Rise and rise again until lambs become lions 授課老師:伍紹勳 課程助教:邱麟凱、江長庭.
Printer Port * 0= * 1= * 6= 60 1 * 4 = 4 = 164 Decimal Binary We use Ten Symbols
Arithmetic Circuits. Half Adder ABSumCarry
Number Systems and Circuits for Addition Lecture 5 Section 1.5 Thu, Jan 26, 2006.
Universal college of engineering & technology. .By Harsh Patel)
1 Ethics of Computing MONT 113G, Spring 2012 Session 5 Binary Addition.
Logic and computers 2/6/12. Binary Arithmetic /6/ Only two digits: the bits 0 and 1 (Think: 0 = F, 1.
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
Dept. of Electrical and Computer Eng., NCTU 1 Lab 4. BCD Adder Presenter: Chun-Hsien Ko Contributors: Chung-Ting Jiang and Lin-Kai Chiu.
Number Systems and Circuits for Addition – Binary Adders Lecture 6 Section 1.5 Fri, Jan 26, 2007.
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.
Rise and rise again until lambs become lions 授課老師:伍紹勳 課程助教:江長庭、柯俊先.
How does a Computer Add ? Logic Gates within chips: AND Gate A B Output OR Gate A B Output A B A B
Logic Design Lab1 老師 : 伍紹勳 助教 : 江長庭 鄭仲傑. 清點器材 邏輯分析儀 *1 1pin 線 *4 8pin 線 *2 紅鱷魚夾 *1 黑鱷魚夾 *1 USB 線 *1.
Electrical Engineering Engineering the Future Digital Circuits Fundamentals Hands-on Full-Adder Simulation (afternoon)
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.
ACOE161 (Spring2007)MSI Devices1 Revision on MSI Devices M. Mano & C. Kime: Logic and Computer Design Fundamentals (Chapter 5)
Decoder Chapter 12 Subject: Digital System Year: 2009.
Lecture No. 14 Combinational Functional Devices. Digital Logic &Design Dr. Waseem Ikram Lecture 14.
Rise and rise again until lambs become lions 授課老師:伍紹勳 課程助教:邱麟凱、江長庭.
Multiplication
Multiplexer.
Combinational Logic Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists of input variables, logic gates,
Multiplication
Dept. of Electrical and Computer Eng., NCTU
Combinational Circuits
Reference: Moris Mano 4th Edition Chapter 4
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.
Chapter 6 Functions of Combinational Logic
Combinational Circuits
Digital Electronics Ms. Deepa Mehta.
Homework Reading Tokheim, Section 5-10, 7-4.
Number Systems and Circuits for Addition
Chapter 1 Number System RGGP, Narwana.
Chapter 5 -Part 3.
Digital Logic.
Objective - To add and subtract decimals.
DIGITAL ELECTRONICS B.SC FY
XOR Function Logic Symbol  Description  Truth Table 
Digital Circuits.
Half & Full Subtractor Half Subtractor Full Subtractor.
Carryout bit? Carryout bit is ‘1’ also on four cases. When a, b and carryin are 110, 101, 011, 111. Does it mean that we need a similar circuit as sum?
Half & Full Subtractor Half Subtractor Full Subtractor.
Presentation transcript:

Logic Experiment 4 老師:伍紹勳 助教:江長庭 鄭仲傑

BCD Adder Equipment: IC:7408 x 1、7432 x 1、7483 x 2、7447(DCBA) x 1、LED x 1、7-Segment LED x 1

Review BCD number addition Two units digit decimal number ex: 7+8=15 BCD : 0 1 1 1 +1 0 0 0 1 1 1 1 +0 1 1 0 0 0 0 1 0 1 0 1 Determine whether to add 6 or not !!!! >9 => add 6 Tens digit Units digit

F = T8T4 + T8T2 + K When to add 6? T8T4 + T8T2 Binary Sum BCD Sum K T8 T4 T2 T1 C S8 S4 S2 S1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 2 0 0 0 1 0 0 0 0 1 0 2 3 0 0 0 1 1 0 0 0 1 1 3 4 0 0 1 0 0 0 0 1 0 0 4 5 0 0 1 0 1 0 0 1 0 1 5 6 0 0 1 1 0 0 0 1 1 0 6 7 0 0 1 1 1 0 0 1 1 1 7 8 0 1 0 0 0 0 1 0 0 0 8 9 0 1 0 0 1 0 1 0 0 1 9 A 0 1 0 1 0 1 0 0 0 0 10 B 0 1 0 1 1 1 0 0 0 1 11 C 0 1 1 0 0 1 0 0 1 0 12 D 0 1 1 0 1 1 0 0 1 1 13 E 0 1 1 1 0 1 0 1 0 0 14 F 0 1 1 1 1 1 0 1 0 1 15 10 1 0 0 0 0 1 0 1 1 0 16 11 1 0 0 0 1 1 0 1 1 1 17 12 1 0 0 1 0 1 1 0 0 0 18 13 1 0 0 1 1 1 1 0 0 1 19 When to add 6? 1. T8 T4 T2 T1 > 9 00 01 11 10 00 01 11 1 1 1 1 10 1 1 T8T4 T2T1 T8T4 + T8T2 2. Carry is 1 F = T8T4 + T8T2 + K

IC 7483 ( 4-bits full adder )

7-Segment LED Vcc a b c d e f g dp Vcc

IC 7447

務必加上電阻 A,K connect to +5V dp not connect

22 ohm

Requirement Two units digit decimal number addition in BCD Input : two BCD number Output : units digit – 7-Segment LED tens digit – LED Input不能大於9

Input T8T4 + T8T2 + K Add 6 or not A,K connect to +5V dp not connect Units Digit Tens Digit ( LED )