Introduction. BME208 Logic Circuits Yalçın İŞLER

Similar documents
ECE 124 Digital Circuits and Systems Winter 2011 Introduction Calendar Description:

EEE 301 Digital Electronics

SE311: Design of Digital Systems Lecture 1: Introduction to Digital Systems

Digital Electronic Concepts

Number system: the system used to count discrete units is called number. Decimal system: the number system that contains 10 distinguished

CS302 - Digital Logic Design Glossary By

Unit level 4 Credit value 15. Introduction. Learning Outcomes

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

Digital Applications (CETT 1415) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite: CETT 1403 & CETT 1405

Written exam IE1204/5 Digital Design Friday 13/

DIGITAL ELECTRONICS QUESTION BANK

Digital Applications (CETT 1415) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite: CETT 1403 & CETT 1405

JEFFERSON COLLEGE COURSE SYLLABUS ETC255 INTRODUCTION TO DIGITAL CIRCUITS. 6 Credit Hours. Prepared by: Dennis Eimer

TABLE 3-2 Truth Table for Code Converter Example

Gates and Circuits 1

Fan in: The number of inputs of a logic gate can handle.

B.C.A 2017 DIGITAL ELECTRONICS BCA104T MODULE SPECIFICATION SHEET. Course Outline

EE 280 Introduction to Digital Logic Design

Syllabus: Digital Electronics (DE) (Project Lead The Way)

SRV ENGINEERING COLLEGE SEMBODAI RUKMANI VARATHARAJAN ENGINEERING COLLEGE SEMBODAI

Electronic Components And Circuit Analysis

Paper No. Name of the Paper Theory marks Practical marks Periods per week Semester-I I Semiconductor

ECE 241 Digital Systems. Basic Information

Digital Logic Design ELCT 201

Aim. Lecture 1: Overview Digital Concepts. Objectives. 15 Lectures

Asst. Prof. Thavatchai Tayjasanant, PhD. Power System Research Lab 12 th Floor, Building 4 Tel: (02)

*************************************************************************

UNIT-IV Combinational Logic

EECS 270 Schedule and Syllabus for Fall 2011 Designed by Prof. Pinaki Mazumder

Lecture 3: Logic circuit. Combinational circuit and sequential circuit

1.) If a 3 input NOR gate has eight input possibilities, how many of those possibilities result in a HIGH output? (a.) 1 (b.) 2 (c.) 3 (d.) 7 (e.

Course Outline Cover Page

Department of Electronics and Communication Engineering

IES Digital Mock Test

EE19D Digital Electronics. Lecture 1: General Introduction

LOGIC DIAGRAM: HALF ADDER TRUTH TABLE: A B CARRY SUM. 2012/ODD/III/ECE/DE/LM Page No. 1

Objective Questions. (a) Light (b) Temperature (c) Sound (d) all of these

Laboratory Manual CS (P) Digital Systems Lab

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT COURSE CURRICULUM. Course Title: Digital Electronics (Code: )

S-[F] NPW-02 June All Syllabus B.Sc. [Electronics] Ist Year Semester-I & II.doc - 1 -

ELECTRONICS ADVANCED SUPPLEMENTARY LEVEL

SYLLABUS of the course BASIC ELECTRONICS AND DIGITAL SIGNAL PROCESSING. Master in Computer Science, University of Bolzano-Bozen, a.y.

Module 4: Design and Analysis of Combinational Circuits 1. Module-4. Design and Analysis of Combinational Circuits

Gates and and Circuits

LIST OF EXPERIMENTS. KCTCET/ /Odd/3rd/ETE/CSE/LM

Digital Electronics Course Objectives

4:Combinational logic circuits. 3 July

Digital. Design. R. Ananda Natarajan B C D

COURSE LEARNING OUTCOMES AND OBJECTIVES

Combinational Circuits DC-IV (Part I) Notes

1. The decimal number 62 is represented in hexadecimal (base 16) and binary (base 2) respectively as

Winter 14 EXAMINATION Subject Code: Model Answer P a g e 1/28

EECS 452 Midterm Exam Winter 2012

DIGITAL ELECTRONICS. Methods & diagrams : 1 Graph plotting : - Tables & analysis : - Questions & discussion : 6 Performance : 3

EECS150 - Digital Design Lecture 28 Course Wrap Up. Recap 1

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Computerized Data Acquisition Systems. Chapter 4

NORTH MAHARASHTRA UNIVERSITY. F.Y. B. Sc. Electronics. Syllabus. Wieth effect from june2015

Digital Logic Circuits

EXPERIMENT NO 1 TRUTH TABLE (1)

Digital Design. With an Introduction to the Verilog HDL Pearson Education, Inc., Upper Saddle River, NJ All Rights Reserved

Preface... iii. Chapter 1: Diodes and Circuits... 1

Chapter 1 Binary Systems

COMPUTER ORGANIZATION & ARCHITECTURE DIGITAL LOGIC CSCD211- DEPARTMENT OF COMPUTER SCIENCE, UNIVERSITY OF GHANA

(CSC-3501) Lecture 6 (31 Jan 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

COMBINATIONAL CIRCUIT

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER

EE6301 DIGITAL LOGIC CIRCUITS LT P C UNIT I NUMBER SYSTEMS AND DIGITAL LOGIC FAMILIES 9

Positive and Negative Logic

BCD Adder. Lecture 21 1

2014 Paper E2.1: Digital Electronics II

NORTH MAHARASHTRA UNIVERSITY, JALGAON

EC 1354-Principles of VLSI Design

DIGITAL LOGIC DESIGN (ELE 241)

Electronics. Digital Electronics

Number of Lessons:155 #14B (P) Electronics Technology with Digital and Microprocessor Laboratory Completion Time: 42 months

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) SUMMER-16 EXAMINATION Model Answer

Lecture 02: Digital Logic Review

Government of Karnataka Department of Technical Education Board of Technical Examinations, Bengaluru

Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates

QUIZ. What do these bits represent?

DIGITAL CIRCUITS AND SYSTEMS ASSIGNMENTS 1 SOLUTIONS

Code No: R Set No. 1

Logic Circuit Design

SYLLABUS FOR SIX SEMESTERS BACHELOR of SCIENCE (B.Sc.) (GENERAL) DEGREE PROGRAMME IN THE SUBJECT OF ELECTRONICS FROM THE YEAR 2014

Combinational Logic Circuits. Combinational Logic

Course Overview. Course Overview

Chapter 1: Digital logic

Java Bread Board Introductory Digital Electronics Exercise 2, Page 1

Scheme of Teaching and Examination for IV Semester DIPLOMA in ELECTRONICS ENGINEERING

Introduction (concepts and definitions)

DEPARTMENT OF PHYSICS PHYS*2040 W'09. Fundamental Electronics and Sensors. Lecturer: Dr. Ralf Gellert MacN 450 Ext

ELECTRONIC CIRCUITS. Time: Three Hours Maximum Marks: 100

DAV Institute of Engineering & Technology Department of ECE. Course Outcomes

First Name: Last Name: Lab Cover Page. Teaching Assistant to whom you are submitting

Academic Course Description

Brought to you by. Priti Srinivas Sajja. PS01CMCA02 Course Content. Tutorial Practice Material. Acknowldgement References. Website pritisajja.

Adder Comparator 7 segment display Decoder for 7 segment display D flip flop Analysis of sequential circuits. Sequence detector

Practical Workbook Logic Design & Switching Theory

Academic Course Description

Transcription:

Introduction BME208 Logic Circuits Yalçın İŞLER islerya@yahoo.com http://me.islerya.com 1

Lecture Three hours a week (three credits) No other sections, please register this section Tuesday: 09:30 12:15 (BME-LAB #2) Attendance is compulsory 2

Laboratory Three sections Check from the department website 7 experiments Once in two weeks It is obligatory to do all the assignments See assistants for grading scheme Work in groups of two 3

Grading One midterm exam Weight: 40% November 11, 2015 (Not determined yet) Final exam Weight: 40% As scheduled by the registration office Homeworks & Project Weight: 20% You need to learn Verilog HDL 4

Lab Assistants Özlem Karabiber 5

Yalçın İŞLER Contact Information Place: Central Offices #1, 2nd Floor, Room 124 e-mail: islerya @ yahoo.com Office hours: Whenever you find me Or by appointment 6

Motivation Analysis & design of digital electronic circuits Why digital circuits? They are everywhere and generic digital computers, smart phones, data communication, digital recording, digital TV, many others Fundamental concepts in the design of digital systems Basic tools for the design of digital circuits Logic gates (AND, OR, NOT) Boolean algebra 7

What is a Digital System? One characteristic: Ability of manipulating discrete elements of information A set that has a finite number of elements contains discrete information Examples for discrete sets Decimal digits {0, 1,, 9} Alphabet {A, B,, Y, Z} Binary digits {0, 1} One important problem how to represent the elements of discrete sets in physical systems? 8

How to Represent? In electronics circuits, we have electrical signals voltage current Different strengths of a physical signal can be used to represent elements of the discrete set. Which discrete set? Binary set is the easiest two elements {0, 1} Just two signal levels: 0 V and 5 V This is why we use binary system to represent the information in digital systems. 9

How to Represent? In electronics circuits, we have electrical signals voltage current Base current 4.5 μa Collector current 4.5mA +5V 1k 1M F =1000 +5V or 0V 0V 10

Binary System Binary set {0, 1} The elements of binary set, 0 and 1 are called binary digits or shortly bits. How to represent the elements of other discrete sets Decimal digits {0, 1,, 9} Alphabet {A, B,, Y, Z} Elements of any discrete set can be represented using groups of bits. 9 1001 A 1010 11

How Many Bits? What is the formulae for number of bits to represent a discrete set of n elements {0, 1, 2, 3} 00 0, 01 1, 10 2, and 11 3. {0, 1, 2, 3, 4, 5, 6, 7} 000 0, 001 1, 010 2, ands 011 3 100 4, 101 5, 110 6, ands 111 7. The formulae, then, #of bits required= log 2 #of Symbols If n = 9, then? bits are needed 12

Nature of Information Is information of discrete nature? Sometimes, but usually not. Anything related to money (e.g. financial computations, accounting etc) involves discrete information In nature, information comes in a continuous form temperature, humidity level, air pressure, etc. Continuous data must be converted (i.e. quantized) into discrete data lost of some of the information We need ADC (DAC) 13

General-Purpose Computers Best known example for digital systems Components CPU, I/O units, Memory unit CPU Memory I/O Registers Inter connect ALU Control Outside world FPU Multiplier/ CPU Divider General-purpose computer 14

Textbook & References Textbook M. Morris ManoDigital Design: With an Introduction to the Verilog HDL, 5th Edition, Prentice Hall, 2013. Other references Tens of digital design books Lectures from MIT Open Courseware and Stanford 15

Contents 1 Digital Systems and Binary Numbers 1 1.1 Digital Systems 1 1.2 Binary Numbers 3 1.3 Number Base Conversions 6 1.4 Octal and Hexadecimal Numbers 8 1.5 Complements of Numbers 10 1.6 Signed Binary Numbers 14 1.7 Binary Codes 18 1.8 Binary Storage and Registers 27 1.9 Binary Logic 30 16

Contents 2 Boolean Algebra and Logic Gates 38 2.1 Introduction 38 2.2 Basic Definitions 38 2.3 Axiomatic Definition of Boolean Algebra 40 2.4 Basic Theorems and Properties of Boolean Algebra 43 2.5 Boolean Functions 46 2.6 Canonical and Standard Forms 51 2.7 Other Logic Operations 58 2.8 Digital Logic Gates 60 2.9 Integrated Circuits 66 17

Contents 3 Gate Level Minimization 73 3.1 Introduction 73 3.2 The Map Method 73 3.3 Four Variable K-Map 80 3.4 Product of Sums Simplification 84 3.5 Don t Care Conditions 88 3.6 NAND and NOR Implementation 90 3.7 Other Two Level Implementations 97 3.8 Exclusive OR Function 103 3.9 Hardware Description Language 108 18

Contents 4 Combinational Logic 125 4.1 Introduction 125 4.2 Combinational Circuits 125 4.3 Analysis Procedure 126 4.4 Design Procedure 129 4.5 Binary Adder Subtractor 133 4.6 Decimal Adder 144 4.7 Binary Multiplier 146 4.8 Magnitude Comparator 148 4.9 Decoders 150 4.10 Encoders 155 4.11 Multiplexers 158 4.12 HDL Models of Combinational Circuits 164 19

Contents 5 Synchronous Sequential Logic 190 5.1 Introduction 190 5.2 Sequential Circuits 190 5.3 Storage Elements: Latches 193 5.4 Storage Elements: Flip Flops 196 5.5 Analysis of Clocked Sequential Circuits 204 5.6 Synthesizable HDL Models of Sequential Circuits 217 5.7 State Reduction and Assignment 231 5.8 Design Procedure 236 20

Contents 6 Registers and Counters 255 6.1 Registers 255 6.2 Shift Registers 258 6.3 Ripple Counters 266 6.4 Synchronous Counters 271 6.5 Other Counters 278 6.6 HDL for Registers and Counters 283 21

Contents 7 Memory and Programmable Logic 299 7.1 Introduction 299 7.2 Random Access Memory 300 7.3 Memory Decoding 307 7.4 Error Detection and Correction 312 7.5 Read Only Memory 315 7.6 Programmable Logic Array 321 7.7 Programmable Array Logic 325 7.8 Sequential Programmable Devices 329 22

Contents (If time permits) 8 Design at the Register Tr a n s f e r L e v e l 351 8.1 Introduction 351 8.2 Register Transfer Level Notation 351 8.3 Register Transfer Level in HDL 354 8.4 Algorithmic State Machines (ASMs) 363 8.5 Design Example (ASMD Chart) 371 8.6 HDL Description of Design Example 381 8.7 Sequential Binary Multiplier 391 8.8 Control Logic 396 8.9 HDL Description of Binary Multiplier 402 8.10 Design with Multiplexers 411 8.11 Race Free Design (Software Race Conditions) 422 8.12 Latch Free Design (Why Waste Silicon?) 425 8.13 Other Language Features 426 23