Digital Circuits ECGR2181 Chapter 3 Notes Data A-data B-data A B here

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

Chapter 10 Digital CMOS Logic Circuits
CT455: Computer Organization Logic gate
CMOS Logic Circuits.
Digital Electronics Logic Families TTL and CMOS.
Overview Memory definitions Random Access Memory (RAM)
EE 365 Introduction, Logic Circuits. Digital Logic Binary system -- 0 & 1, LOW & HIGH, negated and asserted. Basic building blocks -- AND, OR, NOT.
Chapter 4 Gates and Circuits.
Computer ArchitectureFall 2008 © August 20 th, Introduction to Computer Architecture Lecture 2 – Digital Logic Design.
CSET 4650 Field Programmable Logic Devices
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Chapter 4 Gates and Circuits.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
Digital Design: Principles and Practices
Chapter Four Active Components & Integrated Circuits.
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
PHY 201 (Blum)1 Transistor Odds and Ends. PHY 201 (Blum)2 RTL NOR.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Logic Signals and Gates. Binary Code Digital logic hides the pitfalls of the analog world by mapping the infinite set of real values for a physical quantity.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Transistor: Building.
Introduction to Computing Systems and Programming Digital Logic Structures.
Electrical Characteristics of Logic Gates Gate Characteristics Last Mod: January 2008  Paul R. Godin.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Lecture No. 2 Computer Logic Design. Binary Digits The two state number system is called binary. Its two digits are 0 and 1 A binary digit is called a.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
Basics of Bypass Capacitor, Its Functions and Applications.
1 Computer Organization Wireless & Mobile Networks Lab Li-hua Dong
Logic Families There are several different families of logic gates. Each family has its capabilities and limitations, its advantages and disadvantages.
Logic Families.
Logic gates.
Instructor:Po-Yu Kuo 教師:郭柏佑
LOGIC GATE TIMING DIAGRAM.
EI205 Lecture 3 Dianguang Ma Fall, 2008.
CMOS technology and CMOS Logic gate
Active Components & Integrated Circuits
Transistors and Logic Circuits
Instructor:Po-Yu Kuo 教師:郭柏佑
Introduction to Logic Gates
PROPAGATION DELAY.
EI205 Lecture 15 Dianguang Ma Fall 2008.
Overview Introduction Logic Gates Flip Flops Registers Counters
Principles & Applications and Simple Interfacing
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Lecture 4 EGRE 254 1/26/09.
Reading: Hambley Ch. 7; Rabaey et al. Sec. 5.2
ECE 434 Advanced Digital System L03
CHAPTER 2 Boolean Algebra
Chapter 4 Gates and Circuits.
CMOS circuits and Logic families
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Computer Science 210 Computer Organization
Digital Circuits ECGR2181 Chapter 3 Notes Data A-data B-data A B here
Digital Logic Structures Logic gates & Boolean logic
COMBINATIONAL LOGIC.
Chapter 3 Digital Logic Structures
CSE221- Logic Design, Spring 2003 Logic Technology
Schematics 201 Lecture Topic: Electrical Symbols
Digital Electronics Lab 2 Instructor:
CSET 4650 Field Programmable Logic Devices
Instructor:Po-Yu Kuo 教師:郭柏佑
COMBINATIONAL LOGIC DESIGN
KS4 Electricity – Electronic systems
Digital Fundamentals Floyd Chapter 1 Tenth Edition
ELECTRONIC SYSTEMS Note: There is no compulsory question set on Section 25 of the syllabus. Questions set on topics within Section 25 are always set as.
AWIM Series Lawndale High School Experiment 6 Dec, 2017
Digital Logic Chapter-2
Electricity and Circuits
CSE 370 – Winter Introduction -2- 1
Digital Circuits and Logic
Presentation transcript:

Digital Circuits ECGR2181 Chapter 3 Notes Data A-data B-data A B here new-A new-B Digital Circuits ECGR2181 Chapter 3 Notes These are all different interpretations of the same bit string. Reading: Chapter 3 Logic System Design I

What is a digital system? It is a organized collection of digital elements which is designed to perform specified operations on a set of digital inputs and to generate a set of digital responses. A digital system can be as simple as a block of combinational logic or as complex as a microprocessor. Logic System Design I

Characteristics of Digital Systems What are the characteristics of a digital system? Coordinate and sequence its internal operations. Data processing and storage. Cooperate in transferring data to & from itself. Sequences operations of external entities. Logic System Design I

Overview of a digital system Inputs Outputs Data Control Sequencing Processing Storage Logic System Design I

Input & Output Signals Data: Control: {generally single-bit signals} Multi-bit: “values” Single-bit: decision-making / information Control: {generally single-bit signals} Sequencing operations of system Coordinating operations with external units Logic System Design I

Introduction to Digital Systems Nomenclature: (Terms to know.) Word: A group of binary bits. Typically represents some element of data. The number of bits in a word is indeterminate unless specified. [Example: “24-bit word”] Byte: An 8-bit word. Nibble: A 4-bit word. Logic System Design I

Introduction to Digital Systems Structure of digital systems: “system” vs. “module” A digital system can be created as a monolithic structure. Complex systems often need to be partitioned into some number of subsystems -- “modules” For small systems which can be conveniently designed monolithically the terms “system” and “module” may be used interchangeably. Logic System Design I

Introduction to Digital Systems Single module system: module data in control data out System Logic System Design I

Introduction to Digital Systems Multiple module system: System data in control module module data out control data in control module Logic System Design I

Examples of digital systems Data Selector: Route input data to one of two outputs. Data Converter: Inputs a 32-bit data word and outputs it as 4 bytes. Message Generator: Outputs a fixed message when a “start” command is received Communications Buffer: Receives and stores a “block” of data. When the block is complete, it resends the stored data. Microprocessor: “Does everything!” Logic System Design I

A first look at the design process 1. Understand the functional specification. 2. Create a block diagram from the external viewpoint. 3. Fill in the major internal components. 4. Determine the sequence of operations which must occur within the module Logic System Design I

Data Selector Route input data to one of two outputs. Specification: When a new data word arrives at the input, the module inspects the state of the most significant bit and routes the data to output A if the bit is true and to B if the bit is false. The last value sent to either output is retained until replaced. Data A-data B-data A B here new-A new-B Logic System Design I

Data Converter Inputs 32-bit data word and outputs it as 4 bytes. Specification: When a new data word arrives at the input, the module accepts it and then outputs the word as 4 bytes. IN ready OUT new REG Logic System Design I

Message Generator Outputs a fixed message when a “start” command is received. Specification: When a “start” command is received, the module retrieves the bytes of a message stored in an internal ROM and outputs them sequentially. start DOUT new ROM Memory Logic System Design I

Communications Buffer Receives and stores a “block” of data. When the block is complete, it resends the data. Specification: The module receives a series of data bytes and stores them in an internal memory. Intake of data stops when a byte of all 1’s is received. Then it resends the message with pairs of bytes packed in 16-bit words. IN here OUT new RAM Memory Logic System Design I

Digital Logic Binary system -- 0 & 1, LOW & HIGH, negated and asserted. Basic building blocks -- AND, OR, NOT Logic System Design I

NAND and NOR Logic System Design I

Truth Tables X Y Z XY X’ Y’ X’+Y’+Z F Logic System Design I

More Practice X Y Z F Logic System Design I

Many representations of digital logic Transistor-level circuit diagrams Logic System Design I

Truth tables Logic diagrams Logic System Design I

Logic levels Switching threshold varies with voltage, temp, process, etc. need “noise margin” Operating closer to the tolerances requires an increase in attention to “analog” behavior. Logic voltage levels decreasing with process 5 -> 3.3 -> 2.5 -> 1.8 V Logic System Design I

MOS Transistors Voltage-controlled resistance PMOS NMOS Logic System Design I

CMOS Inverter Logic System Design I

Alternate transistor symbols Logic System Design I

Switch model Logic System Design I

CMOS NAND Gates Use 2n transistors for n-input gate Logic System Design I

CMOS NAND -- switch model Logic System Design I

CMOS NAND -- more inputs (3) Logic System Design I

CMOS NOR Gates Like NAND -- 2n transistors for n-input gate Logic System Design I

NAND vs. NOR PMOS transistors have higher “on” resistance than NMOS transistors. NAND NOR Result: NAND gates are preferred in CMOS. Logic System Design I

Additional Terms Sinking/Sourcing Current – (sect. 3.5.2, p. 106) current entering/leaving the output of a device. Fanout – (sect. 3.5.4) how many gate inputs can a particular device drive and still maintain digital logic characteristics. Unused Inputs – (sect. 3.5.6) always connect unused inputs to either power supply rail (Vcc or Gnd.) Static conditions – may appear to be stable, Dynamic conditions – could be unstable Makes circuit behavior unpredictable. ESD – Electro-Static Discharge. (sect. 3.5.7) ESD involves the discharge of static electricity and is the deadly enemy of electronic circuits, especially, CMOS devices. ESD damage can be avoided with the use of ESD straps and rubber mats. Transition Time – (sect. 3.6.1) time required for signal to transit the abnormal region. The time to transit the abnormal region may be different for traversing the region in different directions. Logic System Design I

More Terms … Propagation Delay – (sect. 3.6.2) time required for a change on the input to produce a change on the output. Current Spikes – (sect. 3.6.4) typically seen on the power rails. Produced when many outputs change at the same time. Switching Power Supplies often produce these effects. {t/s note: check frequency to help find source} Decoupling Capacitors – (sect. 3.6.4) distributes the filtering on the board and aids in the reduction of noise on the power rails. Ground Bounce – (sect. 3.6.6) read the text. {describe how it looks on an o’scope} Three-state Outputs – (sect. 3.7.3) devices whose outputs are one of three states, high, low and high impedance. Used to drive an output from multiple, mutually exclusive sources (or devices.) Different types of Logic Families: TTL – Transitor-Transitor Logic CMOS – Complementary Metal Oxide Semiconductor ECL – Emitter-Coupled Logic Take extreme care when interfacing TTL and CMOS logic devices Logic System Design I