[ 4 ] Logic Symbols and Truth Table



Similar documents
Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

Lecture 8: Synchronous Digital Systems

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

CHAPTER 11 LATCHES AND FLIP-FLOPS

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

Chapter 9 Latches, Flip-Flops, and Timers

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

BINARY CODED DECIMAL: B.C.D.

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Counters and Decoders

CHAPTER 11: Flip Flops

Sequential Logic Design Principles.Latches and Flip-Flops

ASYNCHRONOUS COUNTERS

Upon completion of unit 1.1, students will be able to

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Wiki Lab Book. This week is practice for wiki usage during the project.

Chapter 8. Sequential Circuits for Registers and Counters

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

Digital Logic Elements, Clock, and Memory Elements

Figure 8-1 Four Possible Results of Adding Two Bits

Lesson 12 Sequential Circuits: Flip-Flops

Chapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann

Operating Manual Ver.1.1

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Module 3: Floyd, Digital Fundamental

A Lesson on Digital Clocks, One Shots and Counters

Design: a mod-8 Counter

Elementary Logic Gates

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks

7. Latches and Flip-Flops

Flip-Flops, Registers, Counters, and a Simple Processor

ECE124 Digital Circuits and Systems Page 1

A Lesson on Digital Clocks, One Shots and Counters

ECE380 Digital Logic

Copyright Peter R. Rony All rights reserved.

Memory Elements. Combinational logic cannot remember

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

Chapter 2 Logic Gates and Introduction to Computer Architecture

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

Digital Electronics Detailed Outline

2 : BISTABLES. In this Chapter, you will find out about bistables which are the fundamental building blocks of electronic counting circuits.

Counters are sequential circuits which "count" through a specific state sequence.

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

IC Overview: 74HC family

Chapter 10 Advanced CMOS Circuits

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

Digital Logic Design Sequential circuits

Digital Controller for Pedestrian Crossing and Traffic Lights

The components. E3: Digital electronics. Goals:

Chapter 6: From Digital-to-Analog and Back Again

Contents COUNTER. Unit III- Counters

Lecture-3 MEMORY: Development of Memory:

3.Basic Gate Combinations

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

DATA SHEETS DE COMPONENTES DA FAMÍLIA LÓGICA TTL GATES AND INVERTERS POSITIVES NAND GATES AND INVERTERS DESCRIÇÃO

MM74HC4538 Dual Retriggerable Monostable Multivibrator

Standart TTL, Serie Art.Gruppe

Decimal Number (base 10) Binary Number (base 2)

ANALOG & DIGITAL ELECTRONICS

Asynchronous counters, except for the first block, work independently from a system clock.

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

CHAPTER 3 Boolean Algebra and Digital Logic

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Fig1-1 2-bit asynchronous counter

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Technical data. General specifications. Indicators/operating means. 30 Hz Multiplex operation 30 Hz / n, n = number of sensors, n 5

Theory of Logic Circuits. Laboratory manual. Exercise 3

DATA SHEET. HEF40193B MSI 4-bit up/down binary counter. For a complete data sheet, please also download: INTEGRATED CIRCUITS

Programming A PLC. Standard Instructions

Counters. Present State Next State A B A B

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

Systems I: Computer Organization and Architecture

Engr354: Digital Logic Circuits

Layout of Multiple Cells

74F168*, 74F169 4-bit up/down binary synchronous counter

Two-level logic using NAND gates

Asynchronous Counters. Asynchronous Counters

6-BIT UNIVERSAL UP/DOWN COUNTER

CSE140: Components and Design Techniques for Digital Systems

1.1 The 7493 consists of 4 flip-flops with J-K inputs unconnected. In a TTL chip, unconnected inputs

Field-Effect (FET) transistors

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

The string of digits in the binary number system represents the quantity

Using Op Amps As Comparators

Binary Adders: Half Adders and Full Adders

DEPARTMENT OF INFORMATION TECHNLOGY

LOGO! functions. LOGO! Manual A5E

Transcription:

[ 4 ] Logic s and Truth Table 1. How to Read MIL-Type Logic s Table 1.1 shows the MIL-type logic symbols used for high-speed CMO ICs. This logic chart is based on MIL-TD-806. The clocked inverter and transmission gates have specific symbols. Table 1.1 MIL Logic s Circuit Function Logic s Logic Equation or truth Table Inverter = NND Gate = = + NOR Gate = + = ND Gate = = + OR Gate = + = Clocked inverter (Note 1) H H L H L H L Z : Don t care Z : High Impedance Transmission gate (Note 2) H H H H L L L Z : Don t care Z : High iimpedance 55

Circuit Function Logic s Logic Equation or truth Table Exclusive-OR Gate = ( + ) ( + ) Exclusive -NOR Gate = ( ) + ( ) R D CK D-Type flip-flop D CK D CK R R D CK D CK R R H L H L H L L L H H L L L L L L n : Don t care : No change R J K CK J-K flip-flop J J CK CK J J CK CK K K R K K R H L H L H L L L L L n L L L H L L L H L H R R L L H H n L L n : Don t care : No change : Toggle 56

Note1: Clocked Inverter The clocked inverter circuit is shown in Figure 1.1. In this figure, 1 and 2 are P-channel MOFETs, and 3 and 4 are N-channel MOFETs. The four FETs are connected in series from V CC to GND. If the signal is High 1 and 4 turn on, and the circuit can be regarded as simply an inverter composed of 2 and 3. When the signal is Low, both 1 and 4 turn off, regardless of the condition of the input. The output,, is cut off from both V CC and GND and is thus set to High Impedance. Thus, a clocked inverter can be used as a switch to isolate the output from the input. V CC 1 2 3 4 GND Figure 1.1 Clocked Inverter Note2: Transmission Gate The transmission gate circuit is shown in. in Figure 1.2. s shown in this figure, 1 is a P-channel MOFET and 2 is an N-channel MOFET; these are connected in parallel. If the signal is High, both 1 and 2 turn on, and a signal can be applied in either direction. If is Low, both 1 and 2 turn off, and no signal can pass. IN/OUT V CC 1 2 GND OUT/IN Figure 1.2 Transmission Gate 57

2. How to Read a Truth Table Table2.1 explains the symbols used in truth tables. Table 2.1 Explanation of Truth Table H High level (indicates stationary input or output) L Low level (indicates stationary input or output) Indicates leading edge Indicates trailing edge Don t Care (either H or L) Z High Impedance state a h tationary input level of inputs a to h 0 Level of just before realization of input condition indicated in truth table n Level of just before input of active edge ( or ) One H level pulse One L level pulse 58

3. Explanation of IEC Logic s (1) Logic symbol composition logic symbol consist of an outline, a descriptive symbol, input/output lines and various additional information. The descriptive symbol indicates the operation of the device. These are classified into the following three types: function symbols, which indicate the logic function of the device; input and output symbols, which indicate input and output connections and logic states; and internal connection symbols. The additional information relates to specific inputs/outputs not specified under this standard and information regarding the general logic functions of the device. dditional information is shown within the outline enclosed in brackets [ ]. Function Outline Input Output : ualifying s for inputs and outputs (2) ualifying s (a) Function ualifying s & ND element > 1 OR element = 1 Exclusive OR element = Logic identify element. If all inputs have the same logic state, then the output is at internal logic 1. 2 K Even element. If an even number of inputs are at internal logic 1, then the output is at internal logic 1. 2 K + 1 Odd element. If an odd number of inputs are at internal logic 1, then the output is at internal logic 1. 1 Odd element. If an odd number of inputs are at internal logic 1, then the output is at internal logic 1. or uffer element with amplified output. The triangle points in the direction of signal flow. 59

(b) Input and Output ualifying s The input and output symbols indicate function and characteristic information relating to inputs, outputs and other connections. Logical negation at an input. n external logic 0 (1) produces an internal logic 1 (0). Logical negation at an output. n internal logic 0 (1) produces an external logic 1 (0). Polarity indicator at an input. L (Low) level active. Polarity indicator at an output. L level active. Polarity indicator at an input where the signal flow is from right to left Polarity indicator at an output where the signal flow is from right to left Indicator for direction of signal flow idirectional information flow (alternate) Dynamic input Positive logic Negative logic Polarity 1 0 H 0 1 L The above transitions set the internal logic to active. Dynamic input Positive logic Negative logic 1 0 0 1 The above transitions set the internal logic to active. Dynamic input Positive logic H L The above transitions set the internal logic to active. Non-logic connection Input for analog signals 60

(c) s for Internal Connections logic 1 on the left-hand side produces a logic 0 on the right-hand side. Negated internal connection. logic 1 on the left-hand side produces a logic 0 on the right-hand side. Dynamic internal connection. transition from internal logic 0 to internal logic 1 on the left-hand side produces a transitory logic 1 on the right-hand side. Internal input (virtual). This input is always at internal logic 1 unless overridden or modified. Internal output (virtual). This effect on the internal input connected to this output must be indicated using dependency notation. chmitt-trigger This has hysteresis characteristics. Retriggerable monostable element 1 Non-retriggerable monostable element G Unstable element ynchronous-starting unstable element!g G! ynchronous-stopping unstable element RGm hift register. m: number of bits CTRm inary counter. m: number of bits, cycle length: 2 CTRDIVm Counter of cycle length m RCTRm Ripple carry counter. m: number of bits, cycle length: 2 /Y Coder or code converter. and Y may be replaced by appropriate indications of the codes used. MU Multiplexer / data selector DMU or D Demultiplexer Σ dder P- ubtracter CPG Look-ahead carry generator π Multiplier 61

t 1 COMP Comparator LU rithmetic logic unit ROM Read-only memory RM Random access memory FIFO First-in first out memory I = 0 When power is switched ON, the element goes to internal logic 0. I = 1 When power is switched ON, the element goes to internal logic 1. Delay element with specified delay times t 2 When the input state changes from 0 to 1, the output state changes accordingly after a delay of t1. When the input state changes from 1 to 0, the output state changes accordingly after a delay of t2. (d) s inside the Outline These symbols are used inside the outline. They specify input/output characteristics and functions. Delayed output. The output change is delayed until the input that caused the change returns to its initial external state or level. chmitt trigger input Open-drain output without internal pull-up resistor Open-drain output with internal pull-up resistor Open-source output without internal pull-down resistor Open-source output with internal pull-down resistor Three-state output uffered output. (The triangle points in the direction of signal flow.) EN Enable input J, K JK Flip-Flop Inputs 62

R, Reset, et, Trigger and control flip-flop inputs T D m, m T-input (clock) for trigger (toggle) flip-flop The output state is inverted every time the input is set to 1. D-input (data) for D-type flip-flop The input state is held in memory for a certain period. This symbol requires subordinate notation. hift input. The direction of shifting is to the right or the left, as shown by the arrow. m = 1, 2, 3... ; however, the number may be omitted when +m m Counting input. Count-up or count-down are indicated by + and - respectively. The number m is the count per command and may be omitted when m = 1. o m it-grouping symbol. m is the highest power of 2 in the group. Content input. CT = 9 Internal logic 1 sets the element to the value m. CT = 9 Content output. For example, when the input state is 1, the internal register is set to 9. Line-grouping symbol. The inputs enclosed by this symbol form a single logic input. Fixed-mode input. Fixed-state output. This input (or output) is permanently at internal logic 1. 1, 1 63

(3) Dependency Notation Dependency notation is the powerful tool that makes IEC logic symbols compact and yet meaningful. With IEC symbols, the relationships between inputs and outputs are clearly illustrated without the necessity for showing all the elements and interconnections involved. In dependency notation, the terms affecting and affected are used. (a) The General Rules of Dependency Notation 1) n input (or output) affecting other inputs or outputs is labeled with a letter symbol that indicates the relationship involved, followed by an appropriate identifying number. 2) Each input or output affected by that affecting input (or output) is labeled with the same number. 3) If the complement of the input s (or output s) internal logic state affects inputs or outputs, then a bar is placed over the identifying numbers of the affected inputs or outputs. 4) If the affected input or output has a label to denote its function, this label will have the identifying number of the affecting input as a prefix. 5) If two affecting inputs or outputs have the same letter and the same identifying number, they are ORed together. 6) If the labels denoting the function of affected inputs or outputs are numbers (e.g. outputs from a coder), the identifying number of both affecting inputs and affected inputs or outputs is replaced by another character selected to avoid ambiguity, e.g. a Greek letter. 7) If an input or output is affected by more than one affecting input, the identifying numbers of all the affecting inputs, separated by commas, will appear in the label of the affected input (or output). The normal reading order of these numbers is the same as the sequence of the affecting relationships. ffecting a b c ffected inputs G1 1 1 2 Z2 Dependency symbol d e ffected output ffected output Dependency symbol ffecting ffecting input with dependency symbol a b c M1 C2 1, 2D Identifying number d Identifying Identifying Dependency symbol Figure 3.1 Example of Dependency Notation 64

(b) s for Dependency Notation Function Input tate 1 Input tate 0 ND G Permits action Imposes 0 state OR V Imposes 1 state Permits action Negate (E-OR) N Complements state No effect Interconnection Z Imposes action Permits action Control C Permits action Prevents action et = 1, R = 0 Prevents action Reset R = 0, R = 1 Prevents action Enable EN Permits action Prevents action of input Mode M Permits action Prevents action (mode selected) (mode not selected) ddress Permits action Preventsaction (address selected) (address not selected) 65