First published October, Online Edition available at For reprints, please contact us at

Similar documents
LATCHES & FLIP-FLOP. Chapter 7

RS flip-flop using NOR gate

Logic Design. Flip Flops, Registers and Counters

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

RS flip-flop using NOR gate

Asynchronous (Ripple) Counters

Name Of The Experiment: Sequential circuit design Latch, Flip-flop and Registers

LAB 7. Latches & Flip Flops

ELE2120 Digital Circuits and Systems. Tutorial Note 8

COE 202: Digital Logic Design Sequential Circuits Part 1. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

Chapter 5 Sequential Circuits

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) LATCHES and FLIP-FLOPS

ELCT201: DIGITAL LOGIC DESIGN

Counter dan Register

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

Introduction. Serial In - Serial Out Shift Registers (SISO)

Synchronous Sequential Logic

MC9211 Computer Organization

MODULE 3. Combinational & Sequential logic

Module 4:FLIP-FLOP. Quote of the day. Never think you are nothing, never think you are everything, but think you are something and achieve anything.

Chapter. Synchronous Sequential Circuits

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Chapter 4. Logic Design

D Latch (Transparent Latch)

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 151) Pass Marks: 24

Final Exam review: chapter 4 and 5. Supplement 3 and 4

Registers and Counters

Logic Design II (17.342) Spring Lecture Outline

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

ELCT201: DIGITAL LOGIC DESIGN

Experiment 8 Introduction to Latches and Flip-Flops and registers

Sequential Logic and Clocked Circuits

Unit 11. Latches and Flip-Flops

Introduction to Microprocessor & Digital Logic

IT T35 Digital system desigm y - ii /s - iii

CHAPTER 1 LATCHES & FLIP-FLOPS

CHAPTER1: Digital Logic Circuits

AIM: To study and verify the truth table of logic gates

Sequential Logic Circuits

Counters

Chapter 8 Sequential Circuits

Digital Design, Kyung Hee Univ. Chapter 5. Synchronous Sequential Logic

CHAPTER 4: Logic Circuits

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

The outputs are formed by a combinational logic function of the inputs to the circuit or the values stored in the flip-flops (or both).

CHAPTER 4: Logic Circuits

DIGITAL ELECTRONICS MCQs

2. Counter Stages or Bits output bits least significant bit (LSB) most significant bit (MSB) 3. Frequency Division 4. Asynchronous Counters

UNIT-3: SEQUENTIAL LOGIC CIRCUITS

Lecture 8: Sequential Logic

Flip-Flops and Sequential Circuit Design

EET2411 DIGITAL ELECTRONICS

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

Introduction to Sequential Circuits

1. Convert the decimal number to binary, octal, and hexadecimal.

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Review of digital electronics. Storage units Sequential circuits Counters Shifters

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

Chapter 5 Synchronous Sequential Logic

Multiplexor (aka MUX) An example, yet VERY useful circuit!

Rangkaian Sekuensial. Flip-flop

Sequential Logic. Analysis and Synthesis. Joseph Cavahagh Santa Clara University. r & Francis. TaylonSi Francis Group. , Boca.Raton London New York \

UNIT IV. Sequential circuit

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

Digital Systems Laboratory 3 Counters & Registers Time 4 hours

Contents Circuits... 1

Combinational vs Sequential

Experiment # 9. Clock generator circuits & Counters. Digital Design LAB

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

Flip-Flops and Related Devices. Wen-Hung Liao, Ph.D. 4/11/2001

EKT 121/4 ELEKTRONIK DIGIT 1

ASYNCHRONOUS COUNTER CIRCUITS

LSN 12 Shift Registers

Sequential Circuits: Latches & Flip-Flops

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

Registers and Counters

Module -5 Sequential Logic Design

EEE2135 Digital Logic Design Chapter 6. Latches/Flip-Flops and Registers/Counters 서강대학교 전자공학과

UNIVERSITI TEKNOLOGI MALAYSIA

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

Latches, Flip-Flops, and Registers. Dr. Ouiem Bchir

Registers & Counters. Logic and Digital System Design - CS 303 Erkay Savaş Sabanci University

WINTER 15 EXAMINATION Model Answer

Unit 9 Latches and Flip-Flops. Dept. of Electrical and Computer Eng., NCTU 1

CHAPTER 6 COUNTERS & REGISTERS

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

Other Flip-Flops. Lecture 27 1

DIGITAL CIRCUIT LOGIC UNIT 11: SEQUENTIAL CIRCUITS (LATCHES AND FLIP-FLOPS)

INC 253 Digital and electronics laboratory I

Engr354: Digital Logic Circuits

SEQUENTIAL CIRCUITS THE RELAY CIRCUIT

Serial In/Serial Left/Serial Out Operation

Computer Organization & Architecture Lecture #5

Digital Fundamentals: A Systems Approach

LAB #4 SEQUENTIAL LOGIC CIRCUIT

Transcription:

SMGr up Title: Ternary Digital System: Concepts and Applications Authors: A P Dhande, V T Ingole, V R Ghiye Published by SM Online Publishers LLC Copyright 2014 SM Online Publishers LLC ISBN: 978-0-9962745-0-0 All book chapters are Open Access distributed under the Creative Commons Attribution 3.0 license, which allows users to download, copy and build upon published articles even for commercial purposes, as long as the author and publisher are properly credited, which ensures maximum dissemination and a wider impact of the publication. Upon publication of the ebook, authors have the right to republish it, in whole or part, in any publication of which they are the author, and to make other personal use of the work, identifying the original source. Statements and opinions expressed in the book are these of the individual contributors and not necessarily those of the editors or publisher. No responsibility is accepted for the accuracy of information contained in the published chapters. The publisher assumes no responsibility for any damage or injury to persons or property arising out of the use of any materials, instructions, methods or ideas contained in the book. First published October, 2014 Online Edition available at www.smgebooks.com For reprints, please contact us at ebooks@esciencemedicine.com 1

SMGr up Sequential Logic Design CHAPTER 6 INTRODUCTION A sequential circuit is defined from the behavioral point of view as a circuit whose output depends on the present input as well as the past history of input or can be defined from the constructional point of view as a circuit that contains memory element. Figure 6.1 shows basic sequential circuit. Figure 6.1: Diagram of sequential circuit. Sequential circuit consists of combinational circuit and memory element in the feedback path of it. It has one input applied externally and one from memory element. An output is decided by external input signal and input from memory element. A memory element is a medium in which one trit of information (0-2) can be stored and retained till needed and there after it s contain can be replaced by new value. The contain of circuit shown in Figure 6.1 can be changed by the output of combinational circuits that are concern to its input along with memory element. Above process demonstrates the dependence of external output of a sequential circuit on the external input and the new contains of memory element. The sequential circuits are be classified in to two main categories viz Asynchronous and Synchronous circuits. Sequential circuit whose behavior depends upon the sequence in which the input signal changes is referred to as asynchronous and a sequential circuit whose behavior can be defined from the knowledge of its signal at discrete instance of time is referred to as synchronous circuits. The synchronization is achieved by a timing device known as system clock that generates a periodic train of clock pulses. The output is affected only with the application of clock pulses. 1

Ternary clock pulse is shown in Figure 6.2 below. (a) (b) Figure 6.2: Ternary clock (a) Balance ternary clock (b) Unbalance ternary clock. ONE TRIT MEMORY CELL Ternary memory element is medium in which one trit of information is stored or retained till necessary, and thereafter its contents are replaced by new one. Basic ternary memory element is Flip-flap-Flop. It has three stable states 0-2. Figure 6.3 shows the basic ternary cell. Figure 6.3: 1-trit memory element. Latch: It is a circuit in which it is possible to latch (lock) and retrive (open) the information as and when required.the circuit for latch is shown in Figure 6.4(a) (a) (b) Figure 6.4 (a): 1-trit memory (b): 1-trit latch with input gates. Basic ternary digital memory circuit is known as flip-flap-flop.it has three states i.e.0,1 and 2. It can be obtained by using NAND gates.outputs Q1 and Q2 will depend on power On condition. Assume that inetially Q1 =0then Q2 =2,When Q1=1, Q2 will also 1 and for Q1 =2, Q2 will be 0 thus maintaining flip-flap-flop condition.there is no provision to store desird inputs.it is possible by 2

adding gates with 1-trit memorycell as shown in Figure 6.4(b). Assuming S,R,Q and Q n+1 as inputs and present and netx state output. Truth table for the same is shown in Table 6.1. Table 6.1: SR flip -flap- flop. S R Q Q n+1 0 0 0 0 0 1 1 0 0 2 2 0 1 0 0 1 1 1 1 1 1 2 2 1 2 0 0 2 2 1 1 2 2 2 2 2 As a way to compose ternary flip-flap-flop, the similar structure of Flip-Flops as in binary is applied. The fundamental flip-flops in binary logic are designed using NAND/NOR binary gates. Therefore by replacing binary gates by ternary gates it is possible to construct ternary Flip-flap- Flops. Figure 6.5 shows structure of R-S flip-flap-flop and its truth table is given in Table 6.2. Table 6.2: Truth table for R-S FF Figure 6.5: Structure of R-S flip-flap-flop 3

Assuming initially clock =0, R=2, S=0 & Q=0, here output of G1 is 2 & G2 is 0. Output of G4 will be 2 which is applied to G3, so the output of G3=0.Thus Q follows the clock pulses. On the basis of R-S Flip-Flop, clock synchronized D-type flip-flop is constructed. The circuit for D-latch is shown in Figure 6.6. It has only one input referred to as D input. Its truth table is given in Table 8.3, from which it is clear that output Q n+1 at the end of clock pulse equals to input before the clock pulse. Symbols for T-S-R and D flip-flap-flop are as shown below in Figure 6.6 (a) and (b) respectively. Table 6.2: Truth table for D flip flap flop Input Dn Output Dn+1 0 0 1 1 2 2 Figure 6.5: Structure of D-flip-flap-flop using S-R flip- flap-flop. Figure 6.6: Block diagram for (a) S-R and (b) D flip-flap-flop. APPLICATIONS OF SEQUENTIAL CIRCUITS As an application of D-FFF ternary encoder is proposed [1]. As a means of data communication, ternary codes are preferred because of its information carrying capacity is much higher than binary [2]. Assume, message block as 11201(=k) in ternary code. The encoder generates message block of size n (k < n). Figure 6.7 shows ternary encoder. Here D1, D2 &D3 are ternary flip-flops. For the generation of codes assume all the flip-flops are cleared initially. During message bit interval commutator samples the modulo-3 adder outputs C 1, C 2 & C 3 that is given by the equation. C 1 = D1 D2 D3 C 2 = D1 4

C 3 = D1 D2 Thus single message bit gives three output bits. The next message bit in the input sequence enters the D1 and contents of D1are shifted to D2. Commutators again sample the output during next bit interval. The process is repeated until last digit shifted to D3. The sequence of code generated by encoder is shown in Figure 6.7 Figure 6.7: Ternary encoder. TERNARY COUNTERS Figure 6.8: Encoding operation. Ternary counter is a circuit that counts the number of pulses connected to it. T-flip-flapflops are use to construct ternary counters. Figure 6.9 shows block diagram for T-flip-flap-flop with truth table. Two trit counter circuit is shown in Figure 6.10 along with counting pulses. Corresponding table is shown in Table 6.3 for two trit counter. Input Output T 0 Flip (0) 1 Flap (1) 2 Flop (2) Figure 6.9: Block diagram for T-flip-flap-flop with truth table. 5

Table 6.3: Two trit counter. Q0 Q1 Counting state 0 0 0 0 1 1 0 2 2 1 0 3 1 1 4 1 2 5 2 0 6 2 1 7 2 2 8 Figure 6.10: 2-trit counter. Figure 6.11: 2-trit counter waveform. Figure 6.10 is a diagram for 2-trit counter and 6.11 shows corresponding counting pulses. When the clock is applied, initially Q0 and Q1 both stores o values. As the clock progresses, data in flip-flap-flop changes according to the rising edge of pulse. When clock changes from 0 to 1, data in Q1 is shifted to Q0 and new clock data is stored to Q1.The same sequence is followed by the clock pulse. Same analogy can be extended for design n trit counter. An inverted clock has to connect to T input so that it will follow flip-flap-flop condition. TERNARY SHIFT REGISTER Difference between register and counter is, counters are use to counting number of digital 6

pulses connected to it whereas registers are use to store digital data according to clock pulse connected to it. This data is inputted through D- input of D-flip-flap-flop. Diagram for 2-trit register is shown in Figure 6.12. Registers are classified depending upon the way in which data are entered and retrieved. There are four possible modes of operation as below. 1) Serial in serial out. 2) Serial in parallel out 3) Parallel in serial out 4) Parallel in parallel out. Figure 6.12 represent serial in serial out register. Remaining registers can be developing for other modes of operation. Figure 6.12: 2-trit serial in serial out shift register. Assume initially input D is 0 and clock pulse is applied, output from Q0 will be 0. After rising edge of pulse, Data from register 1 will be shifted to register 2 and flip-flap-flop will have new data in it. Assume again that data is now 1, then register 1 will have value 1 and output Q0 will be 1, in next cycle data2 will be shifted to register 1and output Q0 will be2 and so on. Below waveform indicates data flow sequence. Figure 6.13: Data representation of serial in-serial out register. 7

References 1. Dhande P, Ingole VT. Design of clocked ternary S-R and D flip-flop based on simple ternary gates. International journal on software engineering and knowledge engineering. 2005; 15: 411417. 2. Porat DI. Three valued digital Systems. Proc. IEE. 1969; 116: 947-954. 8