CURRENT-MODE CMOS SEQUENTIAL MULTIPLE-VALUED LOGIC CIRCUITS

Size: px
Start display at page:

Download "CURRENT-MODE CMOS SEQUENTIAL MULTIPLE-VALUED LOGIC CIRCUITS"

Transcription

1 CURRENT-MODE CMOS SEQUENTIAL MULTIPLE-VALUED LOGIC CIRCUITS by Fatma Sarıca B.S., Electronics and Communication Engineering, Istanbul Technical University, 2001 M.S., Electronics Engineering, Boğaziçi University, 2004 Submitted to the Institute for Graduate Studies in Science and Engineering in partial fulfillment of the requirements for the degree of Doctor of Philosophy Graduate Program in Electronics Engineering Boğaziçi University 2012

2 ii CURRENT-MODE CMOS SEQUENTIAL MULTIPLE-VALUED LOGIC CIRCUITS APPROVED BY: Prof. Avni Morgül (Thesis Advisor) Prof. Günhan Dündar Prof. Ali Toker Prof. Oğuzhan Çiçekoğlu Assist. Prof. Faik Başkaya DATE OF APPROVAL:

3 iii ACKNOWLEDGEMENTS I would like to express my sincere gratitude to my thesis supervisor, Prof. Avni Morgül for his invaluable guidance, patience, motivation, advice and contributions throughout this study. His guidance helped me in all the time of research and writing of this thesis. It was really a pleasure for me to work with him. I would like to thank Prof. Günhan Dündar and Prof. Ali Toker for their insightful comments, valuable suggestions, and serving my thesis committee. I am also thankful to Prof. Oğuzhan Çiçekoğlu and Assist. Prof. Faik Başkaya as being part of my thesis committee. My deepest gratitude goes to my mother, for her care and support throughout my life; this dissertation is simply impossible without her. I have no suitable word that can fully describe her everlasting love to me. I would like to express my heart-felt gratitude to my family, Kemal and Berat, for they bring meaning to my life.

4 iv ABSTRACT CURRENT-MODE CMOS SEQUENTIAL MULTIPLE-VALUED LOGIC CIRCUITS The use of circuits with more than two logic levels, named as Multiple-Valued Logic (MVL) circuits, have a potential for reducing chip area consumed by interconnection wiring and functional units in Very-Large Scale Integration (VLSI). Many logical and arithmetic functions have been shown to be more efficiently implemented with multiplevalued logic in terms of number of operations, gates, transistor count and signal lines etc. However, in spite of their potential advantages, developments in multi-valued systems are not satisfactory. It is still a complicated task to design a system for processing a signal in a multi-valued manner despite considerable effort. Multi-valued logic circuits can be designed in current mode or voltage mode. Due to the limited supply voltages, higher radices could not be obtained using voltage mode circuits. On the other hand, current mode circuits have the advantages of current scaling, copying and sign changing with a simple current mirror, but unlike binary logic circuits, they are not self-restored. In this study, current-mode sequential logic circuits are designed and analyzed. Multiple-valued counterparts of the well-known flip-flop structures are discussed and a new type of flipflop circuit, named AB, is proposed. The proposed circuit is used in various counter and random sequential circuit designs. Circuit schematics and simulation results are presented. In addition, a multiple-valued and binary counter designs that are using D-type flip-flops (the only flip-flop that has the same output equations for both MVL and binary) are compared in terms of various VLSI design criteria.

5 v ÖZET AKIM-MODLU CMOS ARDIŞIL ÇOK DEĞERLİ MANTIK DEVRELERİ İkiden fazla mantık seviyesine sahip devreler, Çok Değerli Mantık (ÇDM) devreleri, çok büyük çapta tümleştirilmiş devrelerde, ara bağlantılar ve fonksiyonel kısımlar tarafından harcanan kırmık alanını azaltma potansiyeline sahiptirler. Birçok mantık ve aritmetik fonksiyonun işlem sayısı, kullanılan kapı ve transistör adedi gibi açılardan ÇDM devreleri ile daha etkin bir biçimde gerçekleştirilebileceği gösterilmiştir. Bununla birlikte, potansiyel faydalarına rağmen çok seviyeli sistemlerdeki gelişmeler tatmin edici değildir. Dikkate değer çabalara rağmen, bir sinyali çok değerli bir şekilde işleme için bir sistem tasarlamak halen karmaşık bir iştir. ÇDM devreleri akım-modlu veya gerilim-modlu olarak gercekleştirilebilirler. Sınırlı besleme gerilimleri nedeniyle, gerilim-modlu devreler kullanılarak yüksek tabanlar elde edilememiştir. Diğer taraftan, akım-modlu devreler basit bir akım aynası kullanarak akım ölçekleme, kopyalama ve işaret değiştirme avantajlarına sahiptirler, fakat ikili mantık devrelerinin aksine, kendi akım seviyelerini düzenleyemezler. Bu çalışmada, akım-modlu ardışıl mantık devreleri tasarlandı ve analiz edildi. Bilinen ikidurumlu devrelerin çok değerli karşılıkları tartışıldı ve yeni bir iki-durumlu devre yapısı olarak AB iki-durumlu devresi önerildi. Önerilen devre farklı sayıcı tasarımlarında ve rastgele bir ardışıl devre tasarımında kullanıldı. Devre şemaları ve benzetim sonuçları sunuldu. Buna ek olarak, D-tipi iki-durumlu (ÇDM ve iki seviyeli mantık devreleri için aynı çıkış denklemine sahip tek iki-durumlu) devre kullanılarak tasarlanan çok değerli ve iki seviyeli sayıcı devreleri çeşitli çok büyük capta tümleştirme kriterlerine göre karşılaştırıldı.

6 vi TABLE OF CONTENTS ACKNOWLEDGEMENTS... ABSTRACT... ÖZET... iii iv v LIST OF FIGURES... viii LIST OF TABLES... xii LIST OF SYMBOLS... xiv LIST OF ACRONYMS/ABBREVIATIONS... xvi 1. INTRODUCTION Literature Survey Outline of the Thesis MULTIPLE-VALUED LOGIC ALGEBRA Definitions for Multiple-Valued Algebra Basic Multi-Valued Circuit Elements CMOS Current-Mode Binary/MVL Encoding and Decoding Multiple-Valued Operators Functional Comleteness of Multiple-Valued Algebra Statistical Mismatch Analysis MOS Transistor Mismatch Model SEQUENTIAL MVL CIRCUITS Multiple-Valued Latch Multiple-Valued Flip-flops RS-Type Multistable D-type Multistable JK-Type Multistable... 36

7 vii T-Cyclic Multistable NOVEL SEQUENTIAL CURRENT-MODE CMOS MULTIPLE-VALUED AB FLIP-FLOP Counter Design Using AB Flip-Flop Digit Modulo-4 Synchronous Counter Design Digit Modulo-16 Synchronous Counter Design Digit Modulo-16 Ripple Counter Design Design of an Arbitrarily Selected State Diagram Using AB Flip-Flop COMPARISON OF A MULTIPLE-VALUED AND BINARY CIRCUIT CONCLUSION AND FURTHER STUDY Further Studies REFERENCES... 73

8 viii LIST OF FIGURES Figure 2.1. Addition operation in current-mode MVL Figure 2.2. n-type and p-type current mirrors Figure 2.3. Multiplying a current by a constant k Figure 2.4. Current redirecting circuit Figure 2.5. Using MVL circuits in binary designed systems Figure 2.6. Current comparator circuit Figure 2.7. Encoder circuit Figure 2.8. Decoder circuit Figure 2.9. Complement operator Figure Truncated difference operator Figure Lower threshold circuit Figure Window literal operator Figure Clockwise cyclic operator Figure min circuit introduced in [69] Figure Multi-input min circuit [52] Figure max circuit introduced in [69]

9 ix Figure Multi-input max circuit [48] Figure 3.1. Block diagram of a sequential circuit Figure 3.2. Current-mode CMOS quaternary latch circuit Figure 3.3. Restoration stage Figure level latch circuit based on level restoration circuit of reference [84] Figure 3.5. Input, output and clock signal waveforms of simulated 8-level latch circuit Figure 4.1. Block diagram of the AB flip-flop Figure 4.2. A and B input signals for the AB flip-flop Figure 4.3. Clock and Q output signals for the AB flip-flop Figure 4.4. Layout of AB flip-flop Figure 4.5. Counting diagram of 1-digit modulo-4 counter Figure digit modulo-4 synchronous counter block diagram Figure digit modulo-4 synchronous counter clock and output signals Figure 4.8. Counting diagram of 2-digit modulo-16 counter Figure digit modulo-16 synchronous counter block diagram Figure digit modulo-16 synchronous counter clock and output signals Figure Clock signal generator circuit for 2-digit modulo-16 ripple counter

10 x Figure digit modulo-16 ripple counter block diagram Figure Clock signals for the first and second flip-flop of 2-digit modulo-16 ripple counter Figure digit modulo-16 ripple counter output signals Figure State diagram of the new sequential circuit Figure Block diagram of the new sequential circuit Figure x and clock signal inputs of the new sequential circuit Figure Q 1 and Q 2 outputs for the new sequential circuit Figure Binary equivalent circuit of the same new sequential circuit Figure 5.1. Multiple-valued D-type flip-flop Figure 5.2. Counting diagram for 1-digit modulo-8 multiple-valued and 3-bit modulo-8 binary counter Figure 5.3. Block diagram of 1-digit modulo-8 multiple-valued counter Figure 5.4. Output and clock signal waveforms for 1-digit modulo-8 counter circuit Figure 5.5. Layout of 1-digit modulo-8 counter Figure 5.6. Binary XOR Figure 5.7. Binary D flip-flop Figure bit modulo-8 binary counter

11 Figure 5.9. Layout of 3-bit modulo-8 counter xi

12 xii LIST OF TABLES Table 2.1. Current levels of multi-valued current-mode signals Table 2.2. Truth table for complement operator Table 2.3. Truth table for lower and upper threshold operations Table 2.4. Truth tables of clockwise cyclic and counter clockwise cyclic operators Table 2.5. Truth table for min operator Table 2.6. Truth table for max operator Table 2.7. Truth table of a 4-valued, 2-variable example function Table 2.8. Rearranged truth table of the given example function Table 3.1. General transition table of R-S type multistable Table 3.2. General transition table of D- type multistable Table 3.3. General transition table of J-K type multistable Table 3.4. General transition table of T-cyclic type multistable Table 4.1. General transition table of the AB flip-flop Table 4.2. Power and delay measurements of AB flip-flop Table 4.3. Performance of the MVL flip-flop circuits

13 xiii Table 4.4. Possible flip-flop input values for specified present-state and nextstate values of 1-digit modulo-4 counter Table 4.5. Minimization maps for the 2-digit modulo-16 counter Table 4.6. Possible flip-flop input values for specified present-state and nextstate values of 2-digit modulo-16 counter Table 4.7. Possible flip-flop input values for specified present-state and nextstate values of the new sequential circuit Table 4.8. Minimization maps of first AB flip-flop for the new sequential circuit Table 4.9. Minimization maps of second AB flip-flop for the new sequential circuit Table Possible flip-flop input values for specified present-state and nextstate values of new sequential circuit for the binary JK flip-flop Table 5.1. Flip-flop input values for specified present-state and next-state values of 1-digit modulo-8 counter using D-type flip-flop Table 5.2. Power and delay measurements of modulo-8 counters

14 xiv LIST OF SYMBOLS [a,b] Closed interval with boundaries a and b c b c b a, a c-valued upper, lower threshold operation on a at value b A p C ox D I b KP n r S p th u th l V GS/DS VTO <x> x +, x - a b x Parameter p-associated area statistical variation parameter Oxide capacitance of a MOS transistor Total distance of an index from other indices Reference current SPice process transconductance parameter Number of variables Radix Parameter p-associated distance statistical variation parameter Upper threshold operation Lower threshold operation (Gate/drain)-to-source voltage of a MOS transistor SPice zero-bias threshold voltage parameter of a MOS transistor Restored value of x to a predefined logic level Successor and predecessor operators Window literal for interval [a,b] y x y, x Clockwise and counter clockwise operators x x Complement of x Variation in x,., + β γ λ Member of Min operator Max operator Transconductance of a MOS transistor SPice body-bias parameter of a MOS transistor Effective modulation parameter of a MOS transistor

15 xv µ Mobility φ SPice surface potential parameter of a MOS transistor Ξ Truncated difference operator σ/σ 2 Standard deviation/variance of a given parameter

16 xvi LIST OF ACRONYMS/ABBREVIATIONS CCWC CMOS CWC IC LSD LTA MOS MSD MVL VLSI WTA Counter Clockwise Cyclic Complementary Metal Oxide Semiconductor Clockwise Cyclic Integrated Circuit Least Significant Digit Loser-Takes-All Metal Oxide Semiconductor Most Significant Digit Multiple-Valued Logic Very Large Scale Integration Winner-Takes-All

17 1 1. INTRODUCTION The growth in the IC industry showed an exponential trend over the last decades. As the number of transistors per unit area increases, the industry has faced some new problems. The major problem that the industry must solve to maintain this growth is the interconnections (both on chip and between chips) and the routing of these interconnections. The silicon area that used for these interconnections may be greater than that used for the active logic elements [1]. The use of circuits with more than two logic levels has been offered as a solution to these interconnection problems. Such circuits, named as Multiple-Valued Logic (MVL) circuits, have a potential for reducing chip area consumed by interconnection wiring and functional units in Very-Large Scale Integration (VLSI) [2]. Applying signals having more than two levels to a single wire reduces the number of wires for the same range of data, and this reduction results in a decrease in number of required IC pins. As the interconnection length and number of wires used is reduced, the space between any two wires increases without increasing the total silicon area, leading to a decrease in resistance and capacitance of contacts and interconnections, and the interconnection delay can be greatly decreased [3]. However, in spite of their potential advantages, developments in multi-valued systems are not satisfactory. It is still a complicated task to design a system for processing a signal in a multi-valued manner despite considerable effort. Difficulties start with the implementation of the functional basic set and go on with simplification of logic expressions [4]. Multi-valued logic circuits can be designed in current mode or voltage mode. Due to the limited supply voltages, higher radices cannot be obtained using voltage mode circuits. On the other hand, current mode circuits have the advantages of current scaling, copying and sign changing with a simple current mirror, but unlike binary logic circuits, they are not self-restoring.

18 Literature Survey In 1921, Post [5] gave a definition of n-valued logic that was a generalization of the usual 2-valued logic. Later, Webb [6] and Rosenbloom [7] made studies on development of Post algebras and their properties. Attempts for realizing multi-valued switching circuits became visible a couple of decades after Post s definition. Until 1950 s, switching circuit theory has concentrated mainly on two-valued logic systems. The main reason of this interest is that logical devices are two-state and the mathematical model Boolean algebra- cannot be extended to other integer-valued logic systems. The idea of building systems from multistable devices appears in 1950 s. Berlin [8], Lee and Chen [9], and Lowenschuss [10] have made first studies about non-binary switching systems. Hartmanis [11] suggested that in some respects linear systems built from multistable devices maybe superior to the conventional two-state systems and their practical implementation is feasible. In 1960 s, researchers studied to devise a set of basic functions and to develop algebra such that functions of arbitrary complexity may be represented in terms of simple algebraic combinations of the basic functions. Allen and Givone [12] and Vranesic et al. [4] introduce a minimization technique for multiple-valued logic systems. Minimization is an important topic in multiple-valued logic and researchers are still studying to find new algorithms. In 1970 s, sequential multi-valued logic has attracted great attention. Researchers have focused their attention on the determination of general excitation tables and input equations for different type multistables. General next-state equation of a JK-type multistable first introduced by Wojcik [13], and extended for arbitrary radix by Acha and Huertas [14]. T-cyclic type multistable was introduced by Acha and Huertas [15], D type by Huertas and Acha [16], and RS type by Acha and Huertas [17]. Wills [18] made a detailed analysis about R-flop triggering modes. Several design examples are introduced by Sintonen [19] and Mouftah and Jordan [20]. Ternary flip-flop and sequential circuit designs based on modification of device threshold voltages and hybrid designs were introduced by Prosser et al. [21], Wu and Prosser [22], and Webb et al. [23] in later years.

19 3 Many logical and arithmetic functions have been shown to be more efficiently implemented with multiple-valued logic, i.e. fewer operations, gates, transistors, signal lines, etc. are required. Multiplier circuits introduced by Kawahito [24-25], Chan et al. [26], Tanno et al. [27], Chu and Current [28], Hanyu and Kameyama [29], Ishizuka et al. [30], Tagaki et al. [31], Herrfeld and Hentschke [32], adder circuits by Wakui and Tanaka [33], Manzoul et al. [34], Radanovic and Syrzycki [35], Mingoto [36], PLA s by Pelayo et al. [37], decoders by Prieto et al. [38] are some examples. As the technology approaches to minimum dimension, we need an alternative way to achieve high-density memories. Multiple-valued logic is the way of encoding multiple states of information in a single memory cell. In 1980 s quaternary ROMs are introduced by Adlhoch [39], Rich et al. [40], etc. and quaternary logic used in processor design. Various current mode and voltage mode memory circuits introduced by Cilingiroglu and Ozelci [41], Lee and Gulak [42], Current [43] and latch circuits by Current [44-46], can be found in the literature. Main advantage of these latch circuits is that they are not only holding the output current, but also restoring the output current level to a predefined logic levels. This property helps in solving one of the main problems of current-mode CMOS MVL circuits. In 1990 s, similarities between multiple-valued logic and fuzzy logic were recognized. Min/max circuits are the basic building blocks in both multi-valued logic and fuzzy logic. Conventional min/max circuits accept two input values and produce an output. Although they have compact structures and their performance is quite well, only two input values become a problem when we have an array of input values. Lazzaro et al. [47] offered a solution to this problem by winner-take-all circuits. This type of circuits selects the maximum of the currents applied to its inputs. This circuit was improved by the researchers Baturone et al. [48], Ota and Wilamowski [49], Patel and DeWeerth [50], Sekerkiran and Cilingiroglu [51], Huang et al. [52], Günay and Sánchez-Sinencio [53], Wilamowski and Jordan [54], Carvajal et al. [55], Aksin [56], Pojanasuwanchai et al. [57], Keawconthai et al. [58], Yotingoravong et al. [59], Nia et al. [60], and high speed, high precision current/voltage mode winner/loser-take-all circuits were produced.

20 4 Toda y, almost every type of binary logic circuits can be realized as multiple-valued approach like adder/multiplier circuits [24-35], memory circuits [41-43], sequential circuits [13, 20-22, 61-62], decoders/encoders [38, 63], current/voltage comparators [64], programmable devices [37] and etc. and some of these circuits can be compatible with their binary counterparts Outline of the Thesis The current study is an attempt to close the gap in the sequential multiple-valued logic design area. Current-mode CMOS circuits are chosen for the implementation of the circuits due to their potential advantage of higher radix implementation and realizing algebraic sum operation with no cost on system design. In this section, the idea of multiple-valued logic is explained and its development over decades is discussed. Several MVL applications of combinational and sequential logic are introduced. In the next section, basic multiple-valued logic elements and combinational logic operator designs are introduced. Encoding and decoding operations that performs binaryto-mvl and MVL-to-binary conversions are presented. Functional completeness of MVL algebra and mismatch analysis is discussed. The third section focuses on sequential circuits and multiple-valued latch circuits. Input-output equations of well-known binary flip-flops, and their multiple-valued logic counterparts, input-output relations and truth tables are introduced. The fourth section introduces a new flip-flop circuit, called AB flip-flop. It is a twoinput single- output MVL flip-flop circuit with successful state transitions for all the inputoutput current combinations. Input-output equations and simulation results are studied carefully and the flip-flop circuit is used in several synchronous and asynchronous counter circuit design. In addition, a totally random state equation is realized using this flip-flop and binary JK flip-flops, the total area consumption of the circuits are compared.

21 5 The fifth section is about comparison of multi-valued and binary sequential logic according to various VLSI design criteria (power consumption, transistor count, etc). D-flip-flop (the only flip-flop that has the same input-output equation for binary and multiple-valued logic) is chosen for the realization to ensure a fair comparison. Last section concludes the study and compares the outcomes of the study with the current literature.

22 6 2. MULTIPLE-VALUED LOGIC ALGEBRA Digital binary systems use just two logic symbols, 0 and 1 to represent all information. Since the real world is not binary, we cannot surely claim that using two values is an optimum choice. In 1921, Post [5] gave a definition of r-valued logic that was a generalization of the usual 2-valued logic. In 1970 s, circuit level realizations of r-valued logic become apparent in the literature as voltage mode ternary circuits. For the last couple of decades multiple-valued logic circuits became more visible in the literature and in commercial products. These circuits have the potential advantage of reducing the number and complexity of interconnection wires because multiple-valued signals carry more information on a single line. As an example, consider the decimal number 255, which can be represented as in binary logic and as 3333 in quaternary logic. Designing the circuit as 4-valued rather than binary, at least decreases the number of digits to its half. Multiple-valued circuits can be realized as voltage-mode or current-mode, depending on the operation and complexity of the circuit. On voltage-mode circuits, the information is transferred by voltage levels. Ternary circuits are better candidates for voltage-mode realization, especially for the circuits using dual supply voltages and signed digit arithmetic. Maximum allowable radix of the voltage-mode designs are determined by the supply voltage. As the technology developed, chip densities have increased and only very little power can be dissipated per cell to avoid the chip from overheating. That makes supply voltage levels critical in circuit designs. In addition, for portable electronic devices, battery life is directly related to power consumption, which makes low power design a very important criteria for analog and digital integrated circuits. Since power consumption of the circuit is related to the square of the supply voltage, reduction of the supply voltage is the first choice for reducing power consumption, leading into reducing dynamic range of the voltage-mode signal. As a result, we have limited radix at voltage-mode. Using transistors having variable threshold voltages can be thought as a solution for voltage mode designs but it is still limited with quaternary logic levels.

23 7 On current-mode realizations of multiple-valued logic circuits, the information is transferred by current levels, that are integer multiples of a reference current. Currentmode circuits allow higher radix than voltage-mode circuits, which makes them preferable to voltage-mode ones as we need to increase the system speed and the information content of the current carrying wires. The main advantage of the current-mode multi-valued circuits is the simplicity of the addition operation. This basic and most used operation of logic design can be performed simply by connecting signal lines into a single node, resulting in a reduced number of active devices in the circuit. (every single addition operation in binary logic design requires 20 transistors). In addition, currents can be copied, scaled and algebraically sign-changed with a simple current mirror. However, current-mode circuits have larger static power consumption and unlike binary circuits, they are not self-restoring. Cascaded stages will result a deviation from the predefined output levels, and it is necessary to restore the output to its original level Definitions for Multiple-Valued Algebra An r-valued, n-variable function can be defined as f(x), where X = { x0, x1,..., xn 1} and each x takes on values from the set i R= {0,1,..., r 1}. Then, the function is mapping n f : R R, which means there are ( n r r ) possible different functions [65]. For example, if r=2 and n=2, there are 16 possible functions and if r=3 and n=2, then there are possible functions. Consider an r-valued n-digit number an 1an 2... aa. It represents the number 1 0 a r + a r ar (2.1) n 1 n 2 0 n 1 n 2 0 in decimal number system. Here, r=2 for binary, r=3 for ternary, and r=4 for the quaternary cases. In this study, due to its potential advantages, current mode circuits are chosen for the realization of the multi-valued circuits. The reference current level, I b, is chosen as 5µA and increases with its integer multiples as shown in Table 2.1.

24 8 Table 2.1. Current levels of multi-valued current-mode signals. Logic Level Current Level 0 0A 1 5µA 2 10µA 3 15µA The indicated current levels can be deviate from their original values due to some variations in active element dimensions, power supplies, technology parameters, etc., and unlike binary voltage-mode circuits, the variation on the output signal is carried to the next stages. This deviation can be tolerated and output can be detected correctly for a range of value that is called noise margin [1, 66]. Including the existence of current deviations from their original values, logic levels can be defined as follows, 0, I < 2.5µ A 1, 2.5µ A I < 7.5µ A l = 2, 7.5µ A I < 12.5µ A 3, 12.5µ A I (2.2) where l is the logic level and I is the current. As it can be understood from the equation, the noise margin is ±I b /2. Unlike voltage mode binary circuits, variations in the output current carried over stages, which cause accumulated error. For this reason, output current level of multi-valued circuits need regeneration operation before the signal exceeds the noise margin, that is called level restoration, which is explained in detail in later chapters Basic Multi-Valued Circuit Elements Choosing current-mode circuits in realization of multi-valued logic has some advantages as discussed before. In this section, brief description of mostly used currentmode basic circuit elements will be introduced.

25 9 Sum: The main advantage of current-mode implementation of multiple-valued circuits is its zero cost summation operation. Connecting current branches with a node simply performs an addition operation, y = x 1 + x x n, (algebraic sum) as shown in Figure 2.1. x 1 x 2... x n y Figure 2.1. Addition operation in current-mode MVL. Addition operation in voltage mode binary circuits need an XOR and AND operator which has 20 transistors in total. Constant: Constant logic level determining the logic steps is generated by enhancement mode p-type or n-type transistors depending on whether sourcing or sinking action are desired. In this study, the reference current level is chosen as 5µA. Current mirror: Mirror circuits are used to produce the replicas of input currents. They can be designed as n-type or p-type as shown in Figure 2.2. These circuits are used to provide fan-out greater than one, because current-mode CMOS logic allows fan-out of only one. In addition, by rearranging transistor dimensions, any current value in the design can be multiplied by a constant k (called the scale factor), as shown in Figure 2.3 and their direction (sign) can be changed as shown in Figure 2.4

26 10 Figure 2.2. n-type and p-type current mirrors. VDD Iref I1 (W/L) k*(w/l) I1 (W/L) k*(w/l) Iref Figure 2.3. Multiplying a current by a constant k. VDD I I Figure 2.4. Current redirecting circuit. Switch: It is an n-type or p-type transistor. Gate terminal of the transistor is controlled by a voltage signal, and the current can flow when the switch is ON.

27 CMOS Current-Mode Binary/MVL Encoding and Decoding Multiple-valued logic has many theoretical advantages -its potential to increase the functional density of metal-limited digital integrated circuit layouts by reducing the number of signal interconnections required is the most promising one- but it is not widely used because MVL circuits do not provide overwhelmingly advantageous characteristics, in general. However, overall system characteristics may be improved using specific MVL circuits in specific applications. Using the multiple-valued logic circuits as a part of a total design needs on-chip conversion from binary voltage signals to multiple-valued current-mode signals -encodingand from multiple-valued current-mode signals to binary voltage signals -decoding- as shown in Figure 2.5. Binary IN Encoder r-valued current-mode circuits Decoder Binary OUT Figure 2.5. Using MVL circuits in binary designed systems. There are compact and accurate designs of encoder and decoder circuits using current comparator circuits. Current comparator [64], or current threshold detector, circuits are key components in current-mode multiple-valued logic design as shown in Figure 2.6. The circuit introduced in Figure 2.6 is the simplest form of current-comparator circuits. Input diode-connected NMOS-PMOS transistor pair produces the threshold current. This reference current is mirrored to output as I th, and input current is mirrored to output as I in. The output of the comparator circuit is at logical HIGH voltage (output node has the same potential with power supply) when the input current is less than the threshold current and at logical LOW voltage (output node has the same voltage with the ground) when the input current is greater than the threshold current as shown in Equation 2.3. Applying the input current over PMOS transistor mirror, and threshold current over NMOS, produces the inverted version of output voltages, if needed.

28 12 V o High if Iin < I = Low if Iin I th th (2.3) VDD Ith Iin Vo Figure 2.6. Current comparator circuit. Performance limitations of the current comparator will determine the threshold circuits ability to discriminate between different input current levels. A large gain is desired to provide a sharp comparator transition and greater noise margin. Encoding operation for MVL signals is simply converting the voltage-mode binary signals to current-mode multiple-valued signals. An example for the encoder circuit can be found in [63] and shown in Figure 2.7. This circuit accepts the 2-bit binary input and produces a 1-digit quaternary output for quaternary conversion operation. For the n-bit input signal, the circuit can produce 2 n levels output current. The diode connected NMOS- PMOS pair produces a base current and it is reflected to the output with the coefficient 2 k where k= {0,1,,n-1}. Binary input bits are applied to the gates of the NMOS transistors to enable the current contrubute to the output current, I out. Choosing the number of logic levels of MVL circuit as a power of 2 makes encoding and decoding easier and systematic.

29 13 VDD I 2I LSB MSB Iout Figure 2.7. Encoder circuit. Once the binary signal encoded to its MVL counterpart and processed in a MVL circuit, it needs to be decoded again for the rest of the system. Decoding operation is based on current comparison. Multiple-valued input current compared with the (n-1) reference currents to produce log2 n binary voltage signals as shown in Figure 2.8. Output voltage levels of (n-1) comparator outputs are converted to a binary output using an appropriate combinational logic block. VDD 2I Iin A 0.5I 1.5I 2.5I B C B A+BC _ MSB LSB Figure 2.8. Decoder circuit.

30 Multiple-Valued Operators In addition to basic circuit elements explained in the previous section, we need to define multi-valued operators for the MVL circuit design and synthesis. Some of the operators are extensions of binary logic, and some of them are defined for multiple-valued logic. Definitions of some MVL operators, especially those useful for the rest of the study, are as follows: Definition 2.1. The complement (negation, inversion) operator is defined as: x = r 1 x (2.4) where x R. The operation can be simply realized by using a current mirror as shown in Figure 2.9, ensures the truth table given in Table 2.2. Table 2.2. Truth table for complement operator. x x x (r-1) x Figure 2.9. Complement operator. Definition 2.2. The truncated difference [67] operator is defined as:

31 15 x ky if x ky z = x Ξ ky = (2.5) 0 otherwise Truncated difference operator serves a basis for many other multiple-valued operators. Implementation of the circuit requires an n-type current mirror similar to those used in complement operation, except the inputs are applied as y and x respectively with the scale factor of k as shown in Figure y x z 1 : k Figure Truncated difference operator. Definition 2.3. The lower and upper threshold operators are main building blocks for MVL circuits and can be defined as: th l z z if x y : x = (2.6) y 0 otherwise z z if x y thu : x = (2.7) y 0 otherwise where x, y, z R. Several implementations of the threshold literal circuits can be found in the literature. For the realization of the latter circuits in these study, circuits from [68] are chosen for their full current-mode, fast and reliable structures. Truth table for the threshold literal operations (assuming z=r-1=3) are given in Table 2.3 and the lower threshold circuit is given in Figure 2.11.

32 16 In order to realize the upper threshold circuit, interchanging the x and y inputs of lower threshold circuit is enough. Table 2.3. Truth table for lower and upper threshold operations. th l th u x y x y y x z th l Figure Lower threshold circuit. Definition 2.4. The window literal operator [12] is defined as: a b r 1 if a x b z = x = (2.8) 0 otherwise Lower threshold and upper threshold circuits are special cases of window literal operation. In order to realize a lower threshold, we can set the value of a=0, and for an upper threshold realization b=r-1. Using these properties, window literal literal, in short circuit can be realized as cascading the lower threshold and upper threshold circuits respectively as shown in Figure 2.12.

33 17 b+0.5 x x a-0.5 r-1 z Figure Window literal operator. Definition 2.5. The cyclic operator takes the input value, and shifts it with the specified amount of current. If the shift operation is performed as addition of the specified amount to the input value, then it is called clockwise cyclic operation. If the shift operation is performed as subtraction of the specified amount from the input value, then it is called counter-clockwise cyclic operation. clockwise cyclic, CWC : y x y, if x y r 1 x = + + x + y r, otherwise (2.9) y x y, if x y 0 counter clockwise cyclic, C CWC : x = x y + r, otherwise (2.10) Truth tables for clockwise cycling and counter-clockwise cycling circuits are given in Table 2.4. Realization of the clockwise cyclic circuit from [69] is given in Figure Table 2.4. Truth tables of clockwise cyclic and counter clockwise cyclic operators. CWC CCWC y x y x

34 18 VDD x y r-0.5 r x y Figure Clockwise cyclic operator. For design simplicity, successor and predecessor operators can be defined as a special cases of CWC and CCWC operators for y=1. successor : x = ( x + + 1) mod r (2.11) predecessor : x = ( x 1) mod r (2.12) Definition 2.6. The min operator [5] takes the input values, and produces an output that is equal to the minimum of the input values, as follows: (, ) = (, ) =. (2.13) minxy ANDxy x y where xy, R. The truth table of the min operator is given in Table 2.5. There are various examples for the realization of the min circuit that can be found in the literature. An example can be found in [69] that needs only 4 transistors. The operation of the circuit is depending on truncated difference operation as follows:

35 19 z = x Ξ ( x Ξ y) = y Ξ ( y Ξ x) (2.14) Table 2.5. Truth table for min operator. x y Realization of the min circuit is introduced in Figure Performance of the circuit is quite well and the circuit is totally level independent, which is a desired property for multiple-valued logic designs. The main drawback of the circuit is it allows only two input variables. Whenever the number of input variables increases, the circuit needs to be cascaded which increases the transistor count, power consumption and delay considerably. x y y z Figure min circuit introduced in [69]. When we speak about large array of input values, Winner-Takes-All (WTA) and Loser-Takes-All (LTA) circuits are used for choosing the max/min of the input signals. Winner-take-all circuit is introduced by Lazzaro [47] with a primitive building block whose computation is continuous in time and no clock signal is needed. Several WTA and LTA circuits are developed and reported [48-52, 54, 56-59, 70] in the literature after

36 20 Lazzaro s primitive structure. They have increased speed and resolution. A detailed comparison of WTA circuits can be found in [53]. For the rest of the this study, LTA structured min circuit that has multi-input singleoutput [52] is used whenever the min operation is needed. Transistor-level circuit schematic is introduced in Figure VDD min(x,y,...) x y Ibias Figure Multi-input min circuit [52]. Definition 2.7. The max operator takes the input values, and produces an output that is equal to the maximum of the input values. (, ) = (, ) = + (2.15) max x y OR x y x y where xy, R. Truth table of the max operator is given in Table 2.6. There are various examples for the realization of the max circuit that can be found in the literature. An example can be found in [69]. The operation of the circuit depends on the truncated difference operation as follows: z = x+ ( y Ξ x) (2.16)

37 21 Table 2.6. Truth table for max operator. y x Realization of the circuit is introduced in Figure With the appropriate selection of PMOS transistor dimensions, operation of the circuit can be totally level independent. The main drawback of the circuit is it allows only two input variables. VDD z x y Figure max circuit introduced in [69]. When a large array of input values is desired, Winner-Takes-All (WTA) circuits are the best candidates to realize max circuits. In this study, a WTA structured max circuit chosen from [48] is used, as shown in Figure It has a very compact structure. Every single increase in number of input variable needs three transistors only.

38 22 VDD x y max(x,y,...)... Figure Multi-input max circuit [48]. From the definitions stated above, min and max are two-element (or multi-input), others are unary (single input) operators. The operators obey Boolean algebra axioms with r 2. The min and max operators are commutative, associative, absorptive, and distributive [71]. Definition 2.8. A k-valued product term is given by P: gx ( ) = k (2.17) k i i {0,1,.., n} where, g(x i ) refers to a unary operator such as cyclic, literal, etc. and refers to min operator over the unary operators. Definition 2.9. A multiple-valued combinational function can be expressed in terms of product as: f( x, x,..., x ) = P (2.18) 0 1 n j R j

39 23 where, refers to max operator. Under these given definitions, functional completeness of the multiple-valued algebra is discussed in the next session Functional Comleteness of Multiple-Valued Algebra An r-valued algebra is said to be functionally complete if it is possible to describe any n-variable fuction as an expression made up of constants, variables and defined operations. In binary logic, there are a limited number of operators, it is relatively easy to define a useful functionally complete algebra. In a multiple-valued logic system, the number of possible functions increases with the double exponential expression, resulting in a rapid increase in the total number of operators. Post [5] showed that a minimal or a complete MVL algebra can be formed from only one two-element operator and one unary operator, for example, min/max and complement or min/max and cyclic. Consider the truth table of 4-valued, 2-variable function given in Table 2.7. Table 2.7. Truth table of a 4-valued, 2-variable example function. x 2 x It can be expressed in terms of two-valued and unary operators such that:

40 24 f( x, x ) = 2. x. x + 1. x. x + 1. x. x + 1. x. x + 2. x. x x. x + 1. x. x + x. x + 2. x. x (2.19) + x. x + x. x + x. x + x. x where,. denotes the min operation and + denotes the max operation. To express the equation in more readable form,. sign can be dropped and x notation can be used for the literal operation j x. In order to minimize this huge expression, we can rewrite the j i truth table under the definition of some properties of literal circuits [72]. j i Property: Let a and b be constants such that a b and ab, R. Then a x + b x = a ( x + x ) + b x (2.20) i j i j j Using this property we can rewrite the function of Table 2.7 as Table 2.8. For clarity in reading, 0 values are not shown. The X values in the table are don t cares that are created by the help of the property given above. The + sign denotes the max operation. The rest of the minimization is similar to the Karnaugh map minimization technique in binary logic. Table 2.8. Rearranged truth table of the given example function. x 1 x x 1 x x 1 x X X X X 2 X X X X X 3 X X X X Combining these three tables, the output function can be found as:

41 25 f( x, x ) = 1. x + 2. x + x + x x (2.21) There are several studies in the literature about the minimization of multiple-valued circuits [12, 65, 73-74], but it is still hard to minimize complicated functions efficiently Statistical Mismatch Analysis Mismatch is the process that causes time-independent random variations in physical quantities of identically designed devices. Mismatching is a limiting factor in generalpurpose analog signal processing, but especially in multiplexed analog systems, digital-toanalog converters, reference sources, etc [75]. Characterization and simulation of MOS transistor mismatch is important. Mismatch models include two terms: (i) a size dependent and (ii) a distance dependent term. The distance dependent term can be compensated through layout techniques, and is consequently less critical for precise analog design [76] MOS Transistor Mismatch Model Although, there are studies in the literature [77] that claims alpha-power law model (I D ~(V GS -V T ) α ) should be applied for the current technology with α 1.2, some others [78] claim that square-law model ( α = 2 ) is still accurate. Assuming that a transistor is operating in the saturation region, the drain current will be expressed as follows: β I V V 2 2 D = ( GS T ) (2.22) where W β = µ ncox (2.23) L and ( ) V = V + γ φ+ V φ (2.24) T TO SB

42 26 V and GS V are the gate-to-source and gate-to-bulk potentials respectively, SB φ is the surface potential and γ is the body-bias parameter of a MOS transistor. Mismatch that can be observed between the parameters of a group of equally designed transistors is the result of several random processes which occur during every fabrication phase of the devices. Any variations in these parameters of two matched transistors would cause a difference in the currents of equally biased transistors. The physical causes for variations in these parameters are fixed oxide charges, depletion charges, edge roughness, variations in substrate doping, oxide thickness and mobility values. Variations in any parameter may have systematic and random causes. Topography of the layout and gradients in oxide thickness and wafer doping cause systematic variations in the parameters along a wafer and among different batches [79]. On the other hand, random, local variations in physical properties of the wafer cause mismatch between closely placed transistors. Non-uniform distribution of dopants in the substrate and fixed oxide charges are responsible for local zero-bias threshold voltage mismatches whereas variations in substrate doping is the only cause for γ mismatch. The mismatch in the current factor β is due to edge roughness and local mobility variations [76, 80-81]. A mathematical analysis for the matching of MOS transistors was carried out by several researchers. The mismatch in a parameter is modeled by a normal distribution with zero mean. Moreover, the variance of the distribution for mismatches in the zero-bias threshold voltage, substrate factor and current factor coefficient can be expressed as [76, 80], 2 A 2 VTO 2 2 σ ( VTO ) = + SV D TO x (2.25) WL σ A = + (2.26) WL 2 2 γ 2 2 ( γ) SD γ x ( ) ( W) ( L) ( C ) ( ) σ β σ σ σ ox σ µ A n β 2 2 = = + S D (2.27) β x β W L C µ WL ox n where AV, Aβ, Aγ, SV, Sβ, and S γ, are process related constants, W and L are the length TO and width of the transistors, and TO D is the spacing between the matched transistors. x

43 27 Hence, the output current can be expressed as a function of mismatches, and the variance can be calculated as; I I I σ = σ + σ + σ 2 out 2 out 2 out 2 Iout VTO γ β VTO γ β (2.28) Using these definitions of mismatch and analysis result of previous studies [82], logic level of 5µA is found suitable for the rest of the study. Simulations of the circuits used in this study show us that choosing I b =5µA allows us ±2.5µA error, that is enough for keeping the current at the predefined logic level. As the reference current minimized, increasing the number of logic levels becomes harder, since the output needs to reach the restoration circuit before it exceeds the allowable noise margin.

44 28 3. SEQUENTIAL MVL CIRCUITS Discussion about logic circuits can be divided into two classes; combinational logic and sequential logic. Combinational logic has the property that the output of the circuit is related directly to its present input signals by some Boolean expressions at any time instant. This property also holds true for multiple-valued logic circuits. Operators defined in the previous chapter produce outputs at any instant of time that are entirely dependent to the inputs at that time and obey the rules of Post algebra. For the sequential logic case, the outputs depend not just on the current values of the inputs, but also on the past values of the outputs. In other words, sequential logic circuits have memory in addition to their combinational parts as shown in Figure 3.1. Inputs Combinational Circuit Outputs Memory Figure 3.1. Block diagram of a sequential circuit. The combinational circuit in the block diagram can be the circuits introduced in the previous chapter, or new circuits that can be defined specifically for the given function. For the memory part of the sequential design, we need multiple-valued storage elements that hold and feedback the outputs to the input. This memory may be a latch circuit. There are two main types of sequential circuits, namely: asynchronous and synchronous. Whenever an external signal controls the timing of the circuit, it has been called synchronous (clocked). For the asynchronous case, the output changes as soon as the input changes.

45 29 The memory elements used in clocked sequential circuits are called flip-flops. A flipflop is capable of storing 1-bit information for the binary case and 1-digit information for the multiple-valued case. Flip-flop circuits can hold their states as long as the power delivered until they are directed by an input clock signal to switch the states. The number of inputs they process and the relationship between the input and output signals determines the type of the circuit. Flip-flops circuits can be realized using multiple-valued logic circuits. Huertas and Acha [14-15, 17] defined the next-state equations of T-cyclic, RS, and JK multistables. Studies about implementation of these flip-flops can be found in the literature but they are very limited. Some of these studies are made by fuzzy logic researchers. There are similarities between fuzzy logic and multiple-valued logic. In fuzzy logic, the output is not represented as true or false, instead a membership function used to indicate the level of truth. Fuzzy logic allows for set membership values between the range [0, 1]. Dividing the range [0, 1] into some number of values is fundamentally similar to multiple valued logic [62, 83]. In designing multiple-valued sequential logic circuits, it is important to have suitable, uncomplicated and inexpensive storage elements (memory cells) Multiple-Valued Latch In order to realize a multiple-valued sequential circuit, multiple-valued storage elements are needed. The core of these elements are latch circuits that are capable of storing 1-digit information at a time. There are several latch circuits in the literature, most of them are realized as ternary or quaternary voltage mode [43, 45-46]. When designing ternary circuits, it is reasonable to choose ternary voltage-mode latch circuit, especially with the dual supply voltage. For the quaternary case, as the technology shrinks the supply voltage, latch circuits tend to use FETs that have different threshold levels. In this study, current-mode multiple-valued circuits used. In literature, the only current-mode multiple-valued latch circuit -to the best of our knowledge- is the one proposed by Current [44] as shown in Figure 3.2.

46 30 VDD Mp1 Mp2 Mp3 Mref2 A B C Iout A B C Iin clk clk Irg Mref1 Mpass1 Mn1 Mn2 Mn3 Mpass2 Figure 3.2. Current-mode CMOS quaternary latch circuit. In this circuit, there are two phases of operation, namely SETUP (logically High clock signal) and HOLD (logically Low clock signal). When the clock signal clk is high the diode connected input transistor receives the input current I in, and in response generates a voltage V GS1 that that is coupled to the M n1 M n3 transistors through M pass1 pass transistor. So, the input current is mirrored by the three NMOS transistors M n1 M n3. M ni - M pi transistor pairs form the quantizer portion of the latch, composed of three current comparators. The current comparators thresholds are set to detect input currents of logical values of 1, 2, and 3 by adjusting the W/L ratios of three PMOS transistors M p1 M p3. Output of the each comparator circuit falls into logical LOW state whenever the input current exceeds the threshold of the comparator. In addition, output of each comparator circuit drives a standard CMOS inverter (voltage-mode binary output). The labeled inverter outputs drive pass transistors with the same label. The pass transistors let the appropriate quantity of current to the feedback summing node to form the regenerated current I rg when activated. This regenerated circuit mirrored to the output to form the output current I out. When the clock signal clk is high, the latch circuit performs the HOLD operation and the circuit isolated from the input current I in. The high clk signal turns on the M pass2 transistor and connects the generated current to the quantizer output. Since the quantizer and I rg are in a positive feedback loop, the regenerated current, I rg, and the output current, I out, remain stable at the value of the previous input current. Since the circuit performs both latching and restoring operation, positive feedback does not cause any oscillation in the output current. The only problem with this circuit is, it

47 x i-1 x i 31 needs r-1 quantizing transistor pairs and r-1 regenerating transistors. As the radix increase in the design, this increases the number of active elements dramatically. On the other hand, since every single quantizer set to a predefined current level, the power consumption of the circuit increasing significantly as the radix increases. Due to the these drawbacks of Current s circuit [44], a new latch circuit is proposed and used in this study as shown in Figure 3.3.This circuit is based on Morgul and Temel s level restoration circuit [84], The level restoration sets the current level to a predefined logic level. The restoration circuit is obtained by cascading restoration stages of Figure 3.3. x i-1 r i -0.5 r i <x > i Figure 3.3. Restoration stage. The number of restoration stages is calculated by # of cascaded stages = log r 1 (3.1) 2 i.e., three stages are necessary for 8-level design. Assume that x i is the input current of i th stage and < x i > is the restored value of that stage. Every single stage performs the upper threshold operation to calculate the restored output as follows: i r x i r i 0.5 < x >= (3.2) where,

48 32 ri = r/2 i (3.3) Then, the following quantities are used to obtain the intermediate restored value: < x >= x [mod( r/ 2)], x = ( x < x > ) < x >= x [mod( r/ 2 )], x = ( x < x > ) k 1... k < x >= x [mod( r/ 2 )] k (3.4) and total restored current can be found by summing up the individual restored outputs: log2 r 1 xi (3.5) i= 1 < x>= < > Holding and storing operation in current-mode is not as easy as in the voltage-mode operation. The main idea of current-mode latch circuit is obtaining the current in SETUP mode and storing as long as the HOLD signal is available. Storing operation needs a continuous feedback of the output signal to the input, which feeds the error back too. In order to get rid of feeding the error back, a restoration circuit can be used. However, using a latch circuit that has its own restoration property is even better. Adding two pass transistors stimulated by clk and clk signals turns this level restoration circuit into a latch circuit with restoration property. Logical HIGH clock signal implies the SETUP mode, which enables the input pass transistor and the input current is regenerated at the output. Logical LOW clock signal implies the HOLD cycle, which enables the pass transistor at the feedback path and allows the output behave as an input signal. Since every input signal is regenerated, the output error is not accumulated. Input, latched output and clock signal waveforms of the simulated latch circuit are shown in Figure 3.4.

49 33 VDD Iin=X clk 3.5Ib 4Ib X X1 1.5Ib 2Ib X2 0.5Ib Ib VDD Iout <x> clk <x1> <x2> <x3> Figure level latch circuit based on level restoration circuit of reference [84].

50 34 Figure 3.5. Input, output and clock signal waveforms of simulated 8-level latch circuit Multiple-Valued Flip-flops Flip-flops are circuits that have two stable states (in binary logic) and can be used to store state information. Output of flip-flop circuits depend on their input(s) with some equation. In multiple-valued logic, input-output equations are complicated RS-Type Multistable The set-reset flip-flop is the basic flip-flop structure in the binary logic. It has two inputs, namely Reset (R) and the Set (S). The characteristic equation for the binary flip-flop is as follows: Q = n+ 1 S + RQ (3.6)

51 35 and R=S= logic 1 state is undefined and usually avoided. Similar to the binary reset-set (RS) type flip-flop, multiple-valued RS flip-flops have undefined transition states. The next-state equation of a multiple-valued RS-type flip-flop is given as follows [17]: n+ 1 r 1 i r 1 i r 1 i r 1 ( n ) (3.7) i= 1 Q = i S + R Q where S and R are set and reset inputs respectively and Q n indicates the present-state, Q n+1 is the next-state. The general transition table for r=4 is shown in Table 3.1. Table 3.1. General transition table of R-S type multistable. RS Q n D-type Multistable In order to eliminate the undesired condition of indeterminate state in the binary RS flip-flop, input is applied directly to S input and its compliment is applied to the R input. Operation of the D-type multiple-valued flip-flop is same as the binary case. The next-state equation defined in [16] is given as follows: Q = n+ 1 D (3.8) where D is the flip-flop input and it is valid for the binary case too. General transition table of the D-type multiple-valued flip-flop is shown in Table 3.2.

52 36 Table 3.2. General transition table of D- type multistable. D Q n r-2 r r-2 r r-2 r r-2 r r r-2 r-1 r r-2 r JK-Type Multistable The JK flip-flop is a refinement of the RS flip-flop in that the undefined case of the RS flip-flop is defined in JK. The J and K inputs behave like S and R inputs. The operation of the flip-flop in binary case is defined as: Q = n 1 ( J + Qn)( K + Qn) = + JQ + n KQ (3.9) n Since xx = 0 equation does not hold true for the multiple-valued case. The operation of the JK-type multiple-valued flip-flop [13-14] is represented by the next-state equation as follows: Q = n 1 J Q + n K + Q + n J K (3.10) where J and K are inputs and Q n is output. General transition table for r = 4 is shown in Table 3.3.

53 37 Q n Table 3.3. General transition table of J-K type multistable. JK T-Cyclic Multistable Binary T-type flip-flop is the single-input version of the binary JK flip-flop. This definition does not apply for the multiple-valued case. The T-cyclic multistable operation is defined by the next-state equation [15]: T Q n Q = (3.11) n+ 1 where the clockwise cyclic operation defined in Equation (2.7) is employed as: T Q = Q + T ( mod R) (3.12) n n Here, Q n indicates the present-state where Q n+1 is the next-state. In addition, T is toggle input value and R is radix. General transition table of the T-cyclic multiple-valued flip-flop is shown in Table 3.4.

54 38 Table 3.4. General transition table of T-cyclic type multistable. T Q n r-2 r r-2 r r r-2 r-2 r r-4 r-3 r-1 r r-1 r-2

55 39 4. NOVEL SEQUENTIAL CURRENT-MODE CMOS MULTIPLE- VALUED AB FLIP-FLOP Flip-flops are well known circuits in designing sequential logic circuits. In the previous chapter, well known flip-flop structures and their input-output equations for multiple-valued logic were introduced. For the binary case, JK flip-flop is the most versatile of the basic flip-flops. It has two inputs, and can perform the functions of the RS flip-flop and has the advantage that there are no undefined states. It can also act as a T flip-flop to accomplish a toggling action if J and K inputs are tied together. For multiple-valued logic, JK flip-flop has the input-output equation Q = n 1 J Q + n K + Q + n J K where K and Q n are complements of K and Q. Realizing n the complement operation takes cost as indicated previous chapters. The current, ( r 1). I b must constantly flow to obtain a complement of any input or output value. That results 2 ( r 1). I b current flowing every single JK flip-flop operation, which makes this flip-flop unable to meet the expectations about the power consumption and that the practical implementation. In this study, a new flip-flop structure is proposed as a starting point. The new structure is named AB flip-flop due to its A and B inputs. The input-output equation of the proposed flip-flop is as follows: Q = + A + BQ (4.1) n 1 n As it can be seen from the equation, it has no complement operation which makes it advantageous over other flip-flops. State transition table of the AB flip-flop is given in Table 4.1, and it is clear that the flip-flop can successfully change its state from one to other for any input combination.

56 40 Q n AB Table 4.1. General transition table of the AB flip-flop The flip-flop equation can be rewritten in terms of mostly used operators as follows: Q = n+ 1 OR( A, AND( B, Qn)) = max( A, min( BQ, )) n (4.2) which indicates that for the realization of the flip-flop circuit a min circuit is needed to perform AND operation, a max circuit to perform OR operation, and a latch circuit to HOLD the current state Q n. The block diagram for the circuit realization is illustrated in Figure 4.1. A Max Latch Q Q Min B Figure 4.1. Block diagram of the AB flip-flop. In order to realize the circuit at transistor level, the min circuit introduced in Figure 2.15, the max circuit introduced in Figure 2.17, and the latch circuit introduced in Figure 3.3 is used. The latch circuit performs timing of the flip-flop circuit. Pass transistors of the latch circuit are stimulated by opposite phase voltage-mode binary clock signals.

57 41 When the input currents A and B shown in figure Figure 4.2 are applied to the AB flip-flop, with the clock signal shown in Figure 4.3, the resulting Q output signal shall be as shown in Figure 4.3. Hspice is used to simulate the circuit with UMC 0.18µm parameters and full extraction from the layout. Figure 4.2. A and B input signals for the AB flip-flop. Figure 4.3. Clock and Q output signals for the AB flip-flop.

58 42 Input signals applied to the AB flip-flop shown in Figure 4.2 are totally random signals to show the behavior of the flip-flop is consistent with the transition table introduced in Table 4.1. Magic layout of the flip-flop is shown in Figure 4.4. Figure 4.4. Layout of AB flip-flop. Dimensions of the circuit are 34.2µm x 8.64µm and, all the current sources in the circuit are realized with transistors instead using the ideal ones. Table 4.2 gives a detailed information about transistor count, power and delay measurements of circuit. Table 4.2. Power and delay measurements of AB flip-flop. Transistor count Average power consumption (µw) Delay (nsec) AB flip-flop There are several multiple-valued flip-flop designs in the literature, most of them are voltage-mode. The performance of the flip-flop is better than most of them as introduced in Table 4.3. Also, the flip-flop is designed by using standard CMOS technology, i.e. only n- type and p-type enhancement-mode transistors, two metal layers, no variable threshold voltages, etc.

59 43 Table 4.3. Performance of the MVL flip-flop circuits. Reference Average power consumption (µw) Delay (nsec) Quaternary Latch [85] Quaternary D flip-flop [61] NMAX-TG D flip-flop [86] NMIN-TG D flip-flop [86] AB flip-flop Counter Design Using AB Flip-Flop The proposed flip-flop can be used in sequential multiple-valued logic circuits wherever the other type flip-flops find application areas. The most popular design application of the flip-flop circuits are counter circuits. For this reason, synchronous and ripple (asynchronous) multiple-valued counter circuits are implemented and simulated using AB flip-flop circuit Digit Modulo-4 Synchronous Counter Design A new type of flip-flop, AB, is proposed in this study having the advantage of not including complement operation. Proposed flip-flop circuit is used in designing 1-digit modulo-4 counter design as an implementation example. The counter is expected to count as 0, 1, 2, 3, 0,1, as shown in Figure Figure 4.5. Counting diagram of 1-digit modulo-4 counter.

60 44 Using this counting diagram, the truth table of 1-digit modulo-4 counter can be generated as shown in Table 4.4. In this table, Q n+1 indicates the next-state value of Q n flipflop output. Using the possible input values of the counter circuit, A and B input equations can be defined as: A= Q n B = 0 1 (4.3) 1 where Q indicates 1-level clock-wise cycling successor- operation. Using these n equation, the block diagram of the counter circuit can be formed as shown in Figure 4.6. Table 4.4. Possible flip-flop input values for specified present-state and next-state values of 1-digit modulo-4 counter. Q n Q n+1 A B X X X where X is considered as don t care for multiple-valued logic signals. At the high clock phase AB flip flop calculates the next-state and at the low clock phase it holds the calculated output. Since the counter output is fed back to input, another latch circuit has to be used for stability. Figure digit modulo-4 synchronous counter block diagram.

61 45 The counter circuit is realized using the AB flip-flop circuit given in Figure 4.1, the 4-valued version of latch circuit given in Figure 3.3, and the clock-wise cyclic circuit given in Figure Logic step is selected as 5μA, and the maximum current that identifies the logic level-3 is 15μA. Applied clock function and resulting counter output current is shown in Figure 4.7. Figure digit modulo-4 synchronous counter clock and output signals Digit Modulo-16 Synchronous Counter Design Another example of synchronous logic design is modulo-16 counter. For the binary case, the counting operation needs 4-bits the circuit counts as 0000, 0001,, 1110, In order to design modulo-16 counter circuit using 4-valued logic circuits, 2-digits are needed and the circuit counts as 00,01,,,32,33 as shown in Figure 4.8.

62 Figure 4.8. Counting diagram of 2-digit modulo-16 counter. Using the counting diagram in Figure 4.8, the truth table of 2-digit modulo-16 counter can be generated as shown in Table 4.6. In this table, Q 1,n+1 and Q 2,n+1 indicates the next-state values of least significant digit and most significant digit flip-flop outputs respectively. The information from the truth table can be transferred into the maps as shown in Table 4.5 to perform the necessary minimizations. Table 4.5. Minimization maps for the 2-digit modulo-16 counter. Q 1 Q 2 A 1 B Q 1 Q A 2 B 2 Q 1 Q Q 1 Q

63 47 Table 4.6. Possible flip-flop input values for specified present-state and next-state values of 2-digit modulo-16 counter. Q 2,n Q 1,n Q 2,n+1 Q 1,n+1 A 1 B 1 A 2 B X 0 X X 0 X X 0 X X X 0 1 1,2,3 X X 0 1 1,2,3 X X X 0 1 1,2,3 X X X X ,3 2,3 X 2,3 2,3 X 2,3 2,3 X X X X X X X X

64 48 Minimization maps of Table 4.5 can be used to obtain the necessary minimum input expressions. The equations related to four inputs of two AB flip-flops are as follows: A = Q B = 0 1 A = Q Q (4.4) B = QQ Here, Q and Q indicates successor operation and 3 2 Q and 0 Q are window literal operations. In general 3 Q operation is logically equal to detect if Q or not, and 0 Q operation is logically equal to detect if Q or not. Because of this reason, upper and lower threshold operations can be used instead of window literal operation. Threshold operations require half the transistor count and less complicated than the literal operation. Using the input-output equations related to AB flip-flops, the block diagram of the 2- digit modulo-16 synchronous counter can be designed as shown in Figure 4.9. The counter circuit is realized using the AB flip-flop circuit given in Figure 4.1, 4- valued version of latch circuit in Figure 3.3, clock-wise cyclic circuit given in Figure 2.13, min circuit of Figure 2.15, threshold circuits given in Figure Applied clock function, resulting most significant (I MSD ) and least significant (I LSD ) counter output currents are shown in Figure 4.10.

65 49 Figure digit modulo-16 synchronous counter block diagram. Figure digit modulo-16 synchronous counter clock and output signals.

66 Digit Modulo-16 Ripple Counter Design In synchronous counter design, the input clock signal is applied to all clock inputs of all flip-flops. On the other hand, for the ripple counters only first flip-flop is triggered by clock signal and the others are triggered by the output of the previous flip-flops. The 2-digit modulo-16 synchronous counter design, which is presented in the previous section, can also be realized as ripple counter. The clock signal of the second AB flip flop (producing most significant digit MSD) is produced by the first flip-flop circuit. When the least significant digit of the counter reaches to logic level-3, a clock signal is produced and applied to the second flip-flop. Detection of logic level-3 operation can easily be handled by an upper-threshold circuit as shown in Figure In this circuit, x input is the output of the first stage. An inner voltage signal of threshold circuit becomes high when the input current reaches to logic level-3. This signal is applied to a simple voltage mode inverter and restored. The restored signal is the inverted clock signal ( clk ' ) for the second flip-flop. The non-inverted clock signal ( clk ' ) is obtained by using another inverter as shown in Figure Counting diagram of the ripple counter is same as the synchronous counter given in Figure 4.8. Since the second stage is triggered by the first stage output, combining two 1- digit modulo-4 counters with the clock signal generator circuit of Figure 4.11 results a 2- digit modulo-16 ripple counter as given in Figure VDD x (r-1-0.5)*ib clk clk Figure Clock signal generator circuit for 2-digit modulo-16 ripple counter.

67 51 Figure digit modulo-16 ripple counter block diagram. The counter circuit is realized using the 1-digit modulo-4 synchronous counter circuit given in Figure 4.6, and clock signal generator circuit given in Figure Applied clock function to the first flip-flop and generated clock function for the second flip-flop is given in Figure 4.13, resulting most significant (I MSD ) and least significant (I LSD ) counter output currents are shown in Figure Figure Clock signals for the first and second flip-flop of 2-digit modulo-16 ripple counter.

68 52 Figure digit modulo-16 ripple counter output signals Design of an Arbitrarily Selected State Diagram Using AB Flip-Flop Counter circuits are important for the sequential logic design where flip-flop circuits find application areas. The new flip-flop, AB, having the input-output equation without the complement operation is successfully used in synchronous and ripple counter designs. Another design example using the new AB flip-flop is to realize an arbitrarily given state diagram. For the sake of simplicity, a 16-state sequential circuit which may be realized by using only two AB flip-flops is preferred. State transitions are randomly assigned. This new quaternary sequential circuit uses previous outputs and 1-digit 4-level x input. State diagram of the circuit is given in Figure Using this state diagram, truthtable is formed and introduced in Table 4.7.

69 53 X=2 X= X=3 X=3 01 X=2 X=2 X=0,1,2,3 X=1 31 X=1,2 X=3 X=2 X=3 X=3 02 X=0 30 X=3 X=3 X=1 X=2 03 X=3 X=0 X=2 X=2 X=1 X=2 23 X=1 X=0 X=3 X=0 X=1 X=0 X=3 X=3 X=0,1,2 X=2 X=1 X=0 X=2 X1,2 10 X=1 X=0,1,2,3 X=1 22 X=3 X=3 X=1 X=0 11 X=1 21 X=0 X=0,1,2 X= X=0 X=0 X=0 Figure State diagram of the new sequential circuit.

70 54 Table 4.7. Possible flip-flop input values for specified present-state and next-state values of the new sequential circuit. x Q 2 Q 1 Q 2+ Q 1+ A 1 B 1 A 2 B 2 x Q 2 Q 1 Q 2+ Q 1+ A 1 B 1 A 2 B

71 55 For the implementation of the circuit, we use two AB flip-flops. In the Table 4.7, x is a 4-valued input current, Q 2 and Q 1 are current state outputs of the AB flip-flops and also used as inputs. Q 2+ and Q 1+ are the calculated next state output levels and A 1, B 1, A 2, B 2 are the flip-flop inputs. The information from the truth table can be transferred into the maps as shown in Table 4.8 and Table 4.9 to perform the necessary minimizations. Table 4.8. Minimization maps of first AB flip-flop for the new sequential circuit. A 1 Q 2 Q 1 x Q 2 Q 1 x B Using this truth table, we obtain the input functions of the first flip-flop, by inspection, as follows (unfortunately there is no known method to simplify the multilevel logic equations): A = Q B = xq + xq (4.5)

72 56 Using this truth table given in Table 4.9, we obtain the input functions of the second flip-flop, by inspection, as follows: A = Q x B = x QQ (4.6) Table 4.9. Minimization maps of second AB flip-flop for the new sequential circuit. A 2 Q 2 Q 1 x Q 2 Q 1 x B 2 Using the input-output equations related to AB flip-flops, the block diagram of the new sequential circuit can be designed as shown in Figure Using the min, max, threshold, cyclic and AB flip-flop circuits introduced before, the new sequential circuit is simulated for the voltage mode clock and x input currents given in Figure Resulting Q 1, and Q 2 output currents are shown in Figure Reading from the simulation outputs, high clock signal applied when Q 2 Q 1 is in 32 state and x=0, changes the current state to 13. Similary for this current state and x=1, next state becomes 23 and so on.

73 57 In order to show the reduced circuit complexity advantage of multiple-valued logic, the same new sequential circuit is implemented in binary mode. Since the proposed circuit is quaternary, two binary variable is needed to represent every single multiple-valued variable in the circuit. Thus, binary circuit requires 6 input variables (two of them are to represent x and four of them are flip-flop outputs) where the multiple valued one needs only three. For the implementation, binary JK flip-flops are chosen. Truth table of the circuit introduced in Table 4.7 can be reproduced for the binary case as shown in Table X CWC min clk clk latch clk clk lower threshold clk clk A2 ABff2 Q2 Q2 min latch B2 CWC clk clk clk clk latch A1 Q1 upper threshold lower threshold min min max clk clk latch B1 ABff1 Q1 Figure Block diagram of the new sequential circuit.

74 58 Figure x and clock signal inputs of the new sequential circuit. Figure Q 1 and Q 2 outputs for the new sequential circuit.

75 59 Table Possible flip-flop input values for specified present-state and next-state values of new sequential circuit for the binary JK flip-flop. x 2 x 1 Q 4 Q 3 Q 2 Q 1 Q 4+ Q 3+ Q 2+ Q 1+ J 4 K 4 J 3 K 3 J 2 K 2 J 1 K d 1 d 0 d 1 d d 1 d 1 d d d 1 d d 0 1 d d 1 d d 0 d d d 0 0 d 1 d d d 0 1 d d d d 0 d 0 1 d d d 0 d 0 d d 1 0 d 0 d 1 d d 1 1 d 1 d d d 1 1 d d 0 1 d d 1 1 d d 0 d d 1 d 1 0 d 1 d d 1 d 0 1 d d d 1 d 0 d 0 1 d d 1 d 0 d 0 d d 0 d d 1 d d d 1 0 d 1 d d d 1 1 d d d d 1 d 0 1 d d d 1 d 1 d d 1 0 d 0 d 1 d d 1 0 d 1 d d d 1 0 d d 0 1 d d 1 0 d d 0 d d 1 d 1 0 d 1 d d 1 d 1 1 d d d 1 d 1 d 0 1 d d 1 d 1 d 0 d 0

76 60 After performing the necessary minimizations, J and K input equations of the binary equivalent sequential circuit can be found as follows: J 1 = 1 K = Q + xq J = Q 2 1 K = x QQ J = xq + xx( Q + Q) + QQ( xxq + xx) (4.7) K = xqq ( Q + x ) + x x( Q + Q + Q ) + xx J = xx + xx K = xx + xx + Q( xx + xx ) Using the input-output equations related to JK flip-flops, the block diagram of the new binary sequential circuit can be designed as shown in Figure This arbitrarily selected circuit aims to show that the proposed flip-flop circuit can be used in any circuit design. Transistor counts for the multiple-valued and binary design are nearly the same. The only advantage of the circuit is has less number of nodes that results less interconnection wiring.

77 61 x2 x1 1 J1 Q1 K1 Q1 J2 Q2 K2 Q2 J3 Q3 K3 Q3 J4 Q4 K4 Q4 Figure Binary equivalent circuit of the same new sequential circuit.

78 62 5. COMPARISON OF A MULTIPLE-VALUED AND BINARY CIRCUIT Flip-flop circuits are the primary structures in sequential logic designs. They have several voltage mode binary types with different input-output relations. Considerable effort has been spent throughout the years to implement these flip-flops in multiple-valued type. Most of these studies concentrated on designing D-type flip-flop and designers usually prefer using variable threshold voltage for the quaternary implementation. As discussed before, voltage-mode multiple-valued design can not allow higher radices, studies are limited with quaternary logic levels. In the previous section, instead of trying to improve the existing flip-flop structures, a new type of flip-flop is proposed. It has two input variables, A and B, and a single output and named AB flip-flop due to its input-variables. Main advantage of the flip-flop is its input output equation does not include inversion operation, which consumes extra power in MVL design. For this reason, inverse output for the AB flip-flop does not exist. Counter circuits are chosen to be implemented by AB flip-flops as they are the main application area of sequential logic design. Modulo-4 and modulo-8 counters are implemented, and an arbitrary selected state diagram is realized using this flip-flop. In this section, counter circuits using D-type flip-flops are compared in terms of transistor count, power, area and delay. D-type flip-flops are chosen intentionally, as they are the only flip-flop type that have the same input-output equation for binary and multiple-valued logic as follows; Q = n+ 1 D (5.1) For the comparison, modulo-8 up counter is chosen. Both binary-and MVL realizations are synchronous, no set and reset inputs. Multiple-valued master-slave D flipflop realization is performed using cascaded 8-level latch circuits with opposite phase clock signals as shown in Figure 5.1.

79 63 clk clk clk clk D Latch Latch Q Figure 5.1. Multiple-valued D-type flip-flop. The counting diagram of the 1-digit modulo-8 counter is shown in Figure 5.2. First line of every state correspons to multiple-valued counter and the second line corresponds to binary counter state Figure 5.2. Counting diagram for 1-digit modulo-8 multiple-valued and 3-bit modulo-8 binary counter. Using this counting diagram, truth table for the MVL counter can be formed as shown in Table 5.1. By inspection from the table, input-output equation of the multiplevalued counter using D-type flip-flop can be found as follows: D= Q 1 (5.2)

80 64 Table 5.1. Flip-flop input values for specified present-state and next-state values of 1-digit modulo-8 counter using D-type flip-flop. Q n Q n+1 D Simply, a D-type flip-flop and a clockwise cyclic circuit is enough for the realization as shown in Figure 5.3. CWC clk clk clk clk Latch Latch Q Q Figure 5.3. Block diagram of 1-digit modulo-8 multiple-valued counter. The latch circuit and clockwise cyclic circuits are introduced in Figure 3.3 and Figure 2.13 respectively. The reference current level, I b, is chosen as 5µA and maximum input current level is 35µA. The circuit is simulated using Hspice with full extraction from layout. Simulation results of Q output signal and input clock signal is shown in Figure 5.4.

81 65 Figure 5.4. Output and clock signal waveforms for 1-digit modulo-8 counter circuit. Magic layout of designed circuit is introduced in Figure 5.5. Circuit dimensions are 44.45µm*17.64µm. There are 91 transistors in the circuit, no variable threshold elements and only two metal layers are used. Figure 5.5. Layout of 1-digit modulo-8 counter.

82 66 Designing modulo-8 counter circuit in voltage-mode binary logic using D-flip-flop requires the input-output equations as follows: D = Q 1 1 D = Q Q (5.3) D = Q ( QQ) where denotes the XOR operation and its block diagram is introduced in Figure 5.6. Binary D-flip-flops are master-slave as shown in Figure 5.7. Block diagram of the binary counter circuit is introduced in Figure 5.8. in1 out in2 Figure 5.6. Binary XOR. D Q clk _ Q Figure 5.7. Binary D flip-flop.

83 67 D Q _ Q Q 1 D Q _ Q Q 2 clk D Q _ Q Q 3 Figure bit modulo-8 binary counter. Layout of the circuit, which is drawn using Magic layout program and is given in Figure 5.9. Circuit dimensions are measured as 35.46µm*33.75µm. Designing the circuit in binary logic rather than the multiple-valued logic requires 60% increase in transistor count and 44% more circuit area. Detailed comparison of these two counter circuits can be found in Table 5.2. Another important point, which is not stated in Table 5.2 is engineering time. Binary counter circuit given in Figure 5.8 can easily be realized using the D flip-flop block introduced in Figure 5.7 and XOR block introduced in Figure 5.6. These circuits are using 2-input binary NAND gate and the only thing to do is making necessary connections. On the other hand, there are not such standard cell libraries for multiple-valued circuits.

84 68 Table 5.2. Power and delay measurements of modulo-8 counters. Type Transistor count Area Multiple-valued counter Average power consumption (µw) Delay (nsec) µm*17.64µm Binary counter µm*33.75µm Figure 5.9. Layout of 3-bit modulo-8 counter.

85 69 6. CONCLUSION AND FURTHER STUDY The use of circuits with more than two logic levels, named as multiple-valued logic circuits has attracted a great attention over the last couple of decades. It has been offered as a solution to the interconnection (both on chip and between chips) and routing problems of the exponentially growing IC industry. However, in spite of their potential advantages, developments in multi-valued systems are not satisfactory. It is still a complicated task to design a system for processing a signal in a multi-valued manner despite considerable effort. Implementation of the functional basic set and simplification of the logic expressions are still the issues to work on it. These difficulties made the research areas centered around combinational logic circuit and its elements. Many useful MVL operators are derived; some of them has considerably high performance than their binary counterparts. Studies about sequential logic design always stay in shadow of combinational logic studies since the last decade due to design complexity and lack of proper minimization algorithms. In this thesis, current-mode CMOS sequential MVL circuits are discussed and analyzed. Main building blocks of the sequential logic design, i.e. flip-flops, are studied and their multiple-valued input-output relations are evaluated. Only the D-type flip-flop has the same characteristic equation in binary and multiple-valued logic. The rest are complicated and requires multiple-valued inversion operation, which is not desired in current-mode MVL designs due to increase in current consumption. For this reason, a new type of two-input single output MVL flip-flop circuit, named as AB flip-flop, is proposed. Simulation results of this new flip-flop confirm the input-output currents totally compatible with the truth table. Proposed flip-flop is used in various counter designs and found out that, it reduces the total area consumption and number of active elements compared to its counterparts. It is also tested in realization of arbitrarily selected state-diagrams, and the results show that it can be used in any design like other flip-flop structures.

86 70 A new latch and restorer circuit is also realized. There are very few studies about current-mode latches. Existing ones are either radix-limited or having high delay. The latch circuit is a necessary element to hold the current-state output of the flip-flop. The new latch is self-restored, that is, the output of the flip-flop restored at every clock cycle and there is no current deviation accumulated at the output. In the last part of the thesis, a detailed comparison is made between multiple-valued and binary counter circuit. D-type flip-flop is chosen for both designs to ensure the fair comparison as it has the same input-output equation for both logics. The D-type flip-flop composed of the proposed latch shows better performance than the most of other D-type multiple-valued flip-flops in the literature. It has been found out that designing the circuit in binary logic rather than the multiple-valued logic requires 60% increase in transistor count and 44% more circuit area for a modulo-8 up-counter. On the other hand, currentmode multi-valued circuits have constant current consumption, regardless of the switching activity, which makes the power consumption 80 times higher than the binary one. Another advantage of binary design over multiple-valued ones is that, the binary circuits have a standard cell library. Desired system can easily be designed by placing these cells together and making the necessary connections. For the multiple-valued case, the design procedure is considerably more difficult. There is no standard cell library and there is no attempt to build it due to minimization and some other problems. Mainly, multiple-valued logic is not found out to be superior over binary logic in every design criteria. It has some positive properties and the negative ones. IC design is always a tradeoff between many performance characteristics like chip area, power dissipation, speed, design cost, pin reduction, CAD programs for IC design, etc., that called VLSI criteria. Multiple-valued circuits and two-valued circuits must not be seen as competitors. Multiple-valued integrated circuits can present characteristics equivalent or superior to the corresponding two-valued ones according to some VLSI criteria, and worse than two-valued ones according to other criteria. The key objective is to carefully examine the domains, the applications where multiple-valued circuits can be useful in two-valued world. For this purpose, on chip binary-to MVL encoder circuits can be used to convert the input signal to MVL current-mode signal. Desired functions can then be performed and the signal can be re-converted to binary using MVL-to-binary decoder. As long as the standard

87 71 CMOS technology is chosen for the circuit realization, and the radix of MVL circuits are chosen as power of 2, embedding MVL circuits in binary structure will perform better than binary only Further Studies Current-mode CMOS realization of multiple-valued sequential circuits have the advantage of reduced area consumption and number of active elements on the cost of increased power dissipation and delay. Increasing the radix makes the power consumption worse and after a certain level, the circuit becomes infeasible. The main reason of the dramatically increasing power consumption is the current mirror circuits. Current mirrors should be used for almost every operator in current-mode multiple-valued design (truncated difference, threshold etc.) for the operation or sign changing or replicating the output signal. Unlike the voltage mode circuits, the currentmode circuits have fan-out capacity of one. Current mirrors are used whenever the replicas are needed and every single mirroring operation comes with a higher cost especially for the higher radices. Further study for the multiple-valued sequential circuits must be concentrated on reducing these mirrors. Then the power consumption of the circuit can be compatible with the binary ones. The power consumption of binary circuits increase relatively, as the supply voltages scale down, since the leakage current becomes significant. In addition, mirror circuits slow down the total design and mismatch of the dimensions will introduce the variations from the preset logic level. Designing current-mode circuits that have less number of mirror circuits will increase the speed and reduce errors on the reference logic current. Another problem with the sequential logic is lack of high performance latch circuits. There are very few studies about current-mode latches. Existing ones are either radixlimited or having high delays. Although the latch circuit proposed in this thesis and the master-slave D-type flip-flop composed of the proposed latch shows better performance from the most of other D-type multiple-valued flip-flops in the literature, they cannot

88 72 compete with their binary counterparts when the power consumption is in question. Designing a fast and low powered latch circuit, which allows higher radices, will be another topic of future study. Power consumption is a general problem for current-mode multiple-valued logic designs. Voltage-mode multiple-valued designs can be offered as a solution to this problem. Although they are known to be radix-limited as the supply voltages reduced, variable threshold transistors can be chosen for the realization of the circuits without increasing the power supply voltages. In addition, ternary (3-valued) logic is the smallest and simplest form of multiplevalued logic and still has the capacity of increasing information density. Ternary voltage mode designs are worth of notice especially when dual power supply and signed digit arithmetic operations is used. The proposed AB flip-flop can be realized using ternary voltage-mode circuits.

89 73 REFERENCES 1. Etiemble, D. and M. Israel, "Comparison of Binary and Multi-Valued ICs According to VLSI Criteria", Computer, Vol. 21, No. 4, pp , Jain, A. K., R. J. Bolton and M. H. Abd-El-Barr, "CMOS Multiple-valued Logic Design, Part I: Circuit Implementation", IEEE Transactions on Circuits and Systems- Fundamental Theory and Applications, Vol. 40, No. 8, pp , Kameyama, M., "Toward the Age of Beyond-Binary Electronics and Systems", Proceedings of 20 th IEEE International Symposium on Multiple-Valued Logic, pp , Vranesic, Z. G., E. S. Lee and K. C. Smith, "A Many-Valued Algebra for Switching Systems", IEEE Transactions on Computers, Vol. 100, No. 10, pp , Post, E. L., "Introduction to a General Theory of Elementary Propositions", American Journal of Mathematics, Vol. 43, No. 3, pp , Webb, D. L., "The Algebra of n-valued Logic", Comptes Rendus Society Science Varsovie, Vol. 29, pp , Rosenbloom, P. C., "Post Algebras. I. Postulates and General Theory", American Journal of Mathematics, Vol. 64, No. 1, pp , Berlin, R., "Synthesis of N-valued Switching Circuits", IRE Transactions on Electronic Computers, No. 1, pp , Lee, C. and W. Chen, "Several Valued Combinational Switching Circuits", Transactions of the American Institute of Electrical Engineers (Communication and Electronics), Vol. 75, No.1, pp , 1956.

90 Lowenschuss, O., "Non-binary Switching Theory", IRE National Convention Record, Vol. 1, pp , Hartmanis, J., "Linear Multivalued Sequential Coding Networks", IRE Transactions on Circuit Theory,, Vol. 6, No. 1, pp , Allen, C. M. and D. D. Givone, "A Minimization Technique for Multiple-Valued Logic Systems", IEEE Transactions on Computers, Vol. C-17, No. 2, pp , Wojcik, A., "Multi-valued Asynchronous Sequential Circuits", Proceedings of the 4 th International Symposium on Multiple Valued Logic, Acha, J. and J. Huertas, "General excitation table for a JK multistable", Electronics Letters, Vol. 11, No. 25, p. 624, Acha, J. and J. Huertas, "Master-Slave T-Cyclic Multistable", Annals of the Royal Spanish Society of Physics and Chemistry (in Spanish), Vol. 71, pp , Huertas, J. and J. Acha, "Synthesis of p-valued Asynchronous Sequential Circuits by Using a General Clock Function", Proceedings of the 6 th International Symposium on Multiple Valued Logic, pp , Acha, J. and J. L. Huertas, "On Input and Next-State Equations of the R-S Type M- Stable", IEEE Transactions on Computers, Vol. 100, No. 7, pp , Wills, M. S., "A Behavioral Model and Triggering Modes for MVL R-flops", Proceedings of the 8 th International Symposium on Multiple Valued Logic, pp , Sintonen, L., "A Clocked Multivalued Flip-Flop", IEEE Transactions on Computers, Vol. C-26, No. 3, pp , 1977.

91 Mouftah, H. and I. Jordan, "Design of Ternary COS-MOS Memory and Sequential Circuits", IEEE Transactions on Computers, Vol. C-26, No. 3, pp , Prosser, F., X. Wu and X. Chen, "CMOS Ternary Flip-Flops and their Applications", IEE Proceedings, Vol. 135, pp , Wu, X. and F. Prosser, "Ternary CMOS Sequential Circuits", Proceedings of the 18 th International Symposium on Multiple Valued Logic, pp , Webb, J., S. Forbes, J. Wilson and S. Laverty, "Hybrid Higher Radix JK Flipflop Sequencer with ASIC Implementation Potential", Electronics Letters, Vol. 27, No. 21, pp , Kawahito, S., M. Ishida, T. Nakamura, M. Kameyama and T. Higuchi, "High-Speed Area Efficient Multiplier Design Using Multiple-Valued Current-Mode Circuits", IEEE Transactions on Computers Vol. 43, No. 1, pp , Kawahito, S., M. Kameyama, T. Higuchi and H. Yamada, "A 32x32-bit Multiplier Using Multiple-Valued MOS Current Mode Circuits", IEEE Journal of Solid-State Circuits, Vol. 23, No. 1, pp , Chan, C. F., H. Ling and O. Choy, "A One Volt Four-Quadrant Analog Current Mode Multiplier Cell", IEEE Journal of Solid-State Circuits, Vol. 30, No. 9, pp , Tanno, K., O. Ishizuka and Z. Tang, "Four-Quadrant CMOS Current-Mode Multiplier Independent of Device Parameters", IEEE Transactions on Circuits and Systems II: Analog and Digital Signal Processing Vol. 47, No. 5, pp , Chu, W. S. and W. Current, "Quaternary Multiplier Circuit", Proceedings of the 24 th International Symposium on Multiple Valued Logic, pp , 1994.

92 Hanyu, T. and M. Kameyama, "A 200 MHz Pipelined Multiplier Using 1.5V-Supply Multiple-Valued MOS Current-Mode Circuits with Dual-Rail Source-Coupled Logic", IEEE Journal of Solid-State Circuits, Vol. 30, No. 11, pp , Ishizuka, O., A. Ohta, K. Tannno, Z. Tang and D. Handoko, "VLSI Design of a Quaternary Multiplier with Direct Generation of Partial Products", Proceedings of the 27 th International Symposium on Multiple Valued Logic, pp , Takagi, N., H. Yasuura and S. Yajima, "High Speed VLSI Multiplication Algorithm with a Redundant Binary Addition Tree", IEEE Transactions on Computers, Vol. 100, No. 9, pp , Herrfeld, A. and S. Hentschke, "Ternary Multiplication Circuits Using 4-Input Adder Cells and Carry Look-Ahead", Proceedings of the 29 th International Symposium on Multiple Valued Logic, pp , Wakui, F. and M. Tanaka, "Comparison of Binary Full Adder and Quaternary Signed-Digit Full Adder Using High-Speed ECL", Proceedings of the 19 th International Symposium on Multiple Valued Logic, pp , Manzoul, M., S. Moorthy and R. Swartwout, "An Improved m-valued Carry Look- Ahead Adder", Proceedings of the 19 th International Symposium on Multiple Valued Logic, pp , Radanovic, B. and M. Syrzycki, "Current-Mode CMOS Adders Using Multiple- Valued Logic", Canadian Conference Electrical and Computer Engineering (CCECE 96), Vol. 1, pp , Mingoto Jr, C., "A Quaternary Half-Adder Using Current-Mode Operation with Bipolar Transistors", Proceedings of the 36 th International Symposium on Multiple Valued Logic, pp. 15, 2006.

93 Pelayo, F., A. Prieto, A. Lloris and J. Ortega, "CMOS Current Mode Multivalued PLAs", IEEE Transactions on Circuits and Systems, Vol. 38, No. 4, pp , Prieto, A., P. Martin-Smith, F. Pelayo and A. Lloris, "The Design of Decoders for Q- Valued Logic Circuits", Proceedings of the 18 th International Symposium on Multiple Valued Logic, pp , Adlhoch, R., "Quaternary ROM Design Utilizing Variable-Threshold Storage Cells", Proceedings of the 15 th International Symposium on Multiple Valued Logic, Rich, D. A., K. Naiff and K. Smalley, "A Four-State ROM Using Multilevel Process Technology", IEEE Journal of Solid-State Circuits, Vol. 19, No. 2, pp , Cilingiroglu, U. and Y. Ozelci, "Multiple-Valued Static CMOS Memory Cell", IEEE Transactions on Circuits and Systems II: Analog and Digital Signal Processing, Vol. 48, No. 3, pp , Lee, E. K. F. and P. G. Gulak, "Dynamic Current-Mode Multi-Valued MOS Memory with Error Correction", Proceedings of the 22 nd International Symposium on Multiple Valued Logic, pp , Current, K., "Memory Circuits for Multiple Valued Logic Voltage Signals", Proceedings of the 25 th International Symposium on Multiple Valued Logic, pp , Current, K., "A CMOS Quaternary Latch", Proceedings of the 19th International Symposium on Multiple Valued Logic, pp , Current, K., "Voltage-Mode Quaternary Latch Circuit", Electronics Letters, Vol. 30, No. 23, pp , 1994.

94 Current, K., "Ternary Static Latch Circuit", International Journal of Electronics, Vol. 88, No. 1, pp , Lazzaro, J., S. Ryckebush, M. A. Mahowald, and C. A. Mead, "Winner-Take-All networks of O (n) complexity", Advances in Neural Information Processing Systems, Vol. 1, pp , Baturone, I., J. Huertas, A. Barriga and S. Sánchez-Solano, "Current-Mode Multiple- Input Max Circuit", Electronics Letters, Vol. 30, No. 9, pp , Ota, Y. and B. M. Wilamowski, "Current-Mode CMOS Implementation of a Fuzzy Min-Max Network", World Congress of Neural Networks, Vol. 2, pp , Patel, G. and S. DeWeerth, "Compact Current-Mode Loser-Take-All Circuit", Electronics Letters, Vol. 31, No. 24, pp , Sekerkiran, B. and U. Cilingiroglu, "A High Resolution CMOS Winner-Take-All Circuit", IEEE International Conference on Neural Networks, Vol. 4, pp Huang, C. Y., C. J. Wang and B. D. Liu, "Modular Current-Mode Multiple Input Minimum Circuit for Fuzzy Logic Controllers", Electronics Letters, Vol. 32, No. 12, pp , Gunay, Z. S. and E. Sanchez-Sinencio, "CMOS Winner-Take-All Circuits: a Detailed Comparison", IEEE International Symposium on Circuits and Systems, ISCAS 97, Vol. 1, pp Wilamowski, B. M. and D. L. Jordan, "A Synchronous High-Speed, High-Accuracy, Loser-Take-All Circuit", International Joint Conference on Neural Networks, IJCNN 99, Vol. 4, pp , 1999.

95 Carvajal, R., J. Ramirez-Angula and J. Tombs, "High-Speed High-Precision Voltagemode MIN/MAX Circuits in CMOS Technology", IEEE International Symposium on Circuits and Systems 2000, ISCAS 2000, Vol. 5, pp , Aksin, D. Y., "A High-Precision High-Resolution WTA-MAX circuit of O(N) Complexity", IEEE Transactions on Circuits and Systems II: Analog and Digital Signal Processing, Vol. 49, No. 1, pp , Pojanasuwanchai, C., C. Wangwiwattana, A. Chaikla, V. Riewruja and P. Julsereewong, "Fuzzy Multiple-Input Maximum Circuit in Current-Mode", SICE 2003 Annual Conference, Vol. 3, pp Keawconthai, S., R. Masuchun, A. Chaikla, V. Riewruja and P. Julsereewong, "An Analog Current-mode Multiple-Input Max/Min Circuit", 7 th International Conference on Signal Proccessing, ICSP 04, Vol. 1, pp Yotingoravong, C., T. Kamsri, A. Chaikla and V. Riewruja, "High-Speed Multiple- Input Maximum and Minimum Circuits", IEEE Conference on Electron Devices and Solid-State Circuits, pp , Nia, S. K., A. Khoei and K. Hadidi, "High Speed High Precision Voltage-Mode MAX and MIN Circuits", ICECS'06, 13 th IEEE International Conference on Electronics, Circuits and Systems, pp , KS, V. P. and K. Gurumurthy, "Quaternary Sequential Circuits", IJCSNS International Journal of Computer Science and Network Security, Vol. 10, No. 7, pp. 110, Maguire, L., T. McGinnity and L. McDaid, "From a Fuzzy Flip-Flop to a MVL Flip- Flop", Proceedings of the 29 th International Symposium on Multiple Valued Logic, pp , 1999.

96 Current, K. W., "Current-Mode CMOS Multiple-Valued Logic Circuits", IEEE Journal of Solid-State Circuits,, Vol. 29, No. 2, pp , Freitas, D. A. and K. W. Current, "CMOS current comparator circuit", Electronics Letters, Vol. 19, No. 17, pp , Tirumalai, P. P. and J. T. Butler, "Prime and Non-Prime Implicants in the Minimization of Multiple-valued Logic Functions", Proceedings of the 19 th International Symposium on Multiple Valued Logic, pp , Smith, K. C., "The Prospects for Multi-valued Logic: A technology and Applications View", IEEE Transactions on Computers, Vol. 100, No. 9, pp , Onneweer, S. P. and H. G. Kerkhoff, "High-radix Current-Mode Circuits Based on the Truncated Difference Operator", Proceedings of the 17 th International Symposium on Multiple Valued Logic, pp , Temel, T., A. Morgul and N. Aydin, "A Novel Signed Higher-Radix Full-Adder Algorithm and Implementation with Current-Mode Multi-Valued Logic Circuits", Proceedings of the Euromicro Systems on Digital System Design, pp , Temel, T., Current Mode CMOS Design of Multi-Valued Logic Circuits, Ph. D. Thesis, Bogazici University, Serrano, T. and B. Linares-Barranco, "A Modular Current-Mode High-Precision Winner-Take-All Circuit", IEEE Transactions on Circuits and Systems II: Analog and Digital Signal Processing,, Vol. 42, No. 2, pp , Miller, D. M. and M. A. Thornton, Multiple Valued Logic: Concepts and Representations, Morgan & Claypool, Hassoun, S. and T. Sasao, Logic Synthesis and Verification, Kluwer Academic Publishers, 2002.

97 Dubrova, E., Y. Jiang and R. Brayton, "Minimization of Multiple-Valued Functions in Post Algebra", International Workshop on Logic Synthesis, pp. 1-5, Jiang, Y. and R. K. Brayton, "Don't Cares and Multi-Valued Logic Network Minimization", Proceedings of the IEEE/ACM International Conference on CAD, ICCAD'2000, pp , Pelgrom, M., A. Jochijms and H. Heijns, "A CCD Delay Line for Video Applications", IEEE Transactions on Consumer Electronics, No. 4, pp , Pelgrom, M. J. M., A. C. J. Duinmaijer and A. P. G. Welbers, "Matching Properties of MOS Transistors", IEEE Journal of Solid-State Circuits, Vol. 24, No. 5, pp , Sakurai, T. and A. R. Newton, "Alpha-Power Law MOSFET Model and its Applications to CMOS Inverter Delay and Other Formulas", IEEE Journal of Solid- State Circuits, Vol. 25, No. 2, pp , Liu, B., Q. Dong, B. Yang, J. Li and S. Nakatake, "Layout-Aware Mismatch Modeling for CMOS Current Sources with D/A Converter Analysis", Proceedings of the 12 th International Symposium on Quality Electronic Design, pp , Gregor, R. W., "On the Relationship Between Topography and Transistor Mismatching in analog CMOS Technology", IEEE Transactions on Electron Devices, Vol. 39, No. 2, pp , Lakshmikumar, K. R., R. A. Hadaway and M. A. Copeland, "Characterization and Modeling of Mismatch in MOS Transistors for Precision Analog Design", IEEE Journal of Solid-State Circuits, Vol. 21, No. 6, pp , 1986.

98 Lan, M. F. and R. Geiger, "Matching Performance of Current Mirrors with Arbitrary Parameter Gradients Through the Active Devices", Proceedings of International Symposium on Circuits and Systems, ISCAS98, Vol. 1, pp , IEEE, Sarica, F., Level Restoration and Optimization of Current Mode CMOS Multi-Valued Logic Circuits, M.S. Thesis, Bogazici University, Hirota, K. and K. Ozawa, "The Concept of Fuzzy Flip-Flop", IEEE Transactions on Systems, Man and Cybernetics, Vol. 19, No. 5, pp , Morgul, A. and T. Temel, "Current-Mode Level Restoration: Circuit for Multi- Valued Logic", Electronics Letters, Vol. 41, No. 5, pp , Current, K., "Design of a Quaternary Latch Circuit Using a Binary CMOS RS Latch", Proceedings of the 30 th International Symposium on Multiple Valued Logic, pp , Shim, S., S. Park and S. Hong, "Design of Advanced Multiple-Valued D-FF Using Neuron-MOS", IJCSNS International Journal of Computer Science and Network Security,, Vol. 6, No. 9B, p. 118, 2006.

Multilevel Sequential Logic Circuit Design

Multilevel Sequential Logic Circuit Design International Journal of Electronics and Electrical Engineering Vol., No. 4, December, 4 Multilevel Sequential Logic Circuit Design vni Morgül FSM Vakıf University, iomedical Eng. Dept, Istanbul, Turkey

More information

CHAPTER 3 Boolean Algebra and Digital Logic

CHAPTER 3 Boolean Algebra and Digital Logic CHAPTER 3 Boolean Algebra and Digital Logic 3.1 Introduction 121 3.2 Boolean Algebra 122 3.2.1 Boolean Expressions 123 3.2.2 Boolean Identities 124 3.2.3 Simplification of Boolean Expressions 126 3.2.4

More information

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

Flip-Flops, Registers, Counters, and a Simple Processor June 8, 22 5:56 vra235_ch7 Sheet number Page number 349 black chapter 7 Flip-Flops, Registers, Counters, and a Simple Processor 7. Ng f3, h7 h6 349 June 8, 22 5:56 vra235_ch7 Sheet number 2 Page number

More information

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

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad A. M. Niknejad University of California, Berkeley EE 100 / 42 Lecture 24 p. 1/20 EE 42/100 Lecture 24: Latches and Flip Flops ELECTRONICS Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad University of California,

More information

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1. File: chap04, Chapter 04 1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1. 2. True or False? A gate is a device that accepts a single input signal and produces one

More information

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design PH-315 COMINATIONAL and SEUENTIAL LOGIC CIRCUITS Hardware implementation and software design A La Rosa I PURPOSE: To familiarize with combinational and sequential logic circuits Combinational circuits

More information

Counters and Decoders

Counters and Decoders Physics 3330 Experiment #10 Fall 1999 Purpose Counters and Decoders In this experiment, you will design and construct a 4-bit ripple-through decade counter with a decimal read-out display. Such a counter

More information

3.Basic Gate Combinations

3.Basic Gate Combinations 3.Basic Gate Combinations 3.1 TTL NAND Gate In logic circuits transistors play the role of switches. For those in the TTL gate the conducting state (on) occurs when the baseemmiter signal is high, and

More information

International Journal of Electronics and Computer Science Engineering 1482

International Journal of Electronics and Computer Science Engineering 1482 International Journal of Electronics and Computer Science Engineering 1482 Available Online at www.ijecse.org ISSN- 2277-1956 Behavioral Analysis of Different ALU Architectures G.V.V.S.R.Krishna Assistant

More information

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

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa Experiment # 9 Clock generator circuits & Counters Eng. Waleed Y. Mousa 1. Objectives: 1. Understanding the principles and construction of Clock generator. 2. To be familiar with clock pulse generation

More information

ANALOG & DIGITAL ELECTRONICS

ANALOG & DIGITAL ELECTRONICS ANALOG & DIGITAL ELECTRONICS Course Instructor: Course No: PH-218 3-1-0-8 Dr. A.P. Vajpeyi E-mail: [email protected] Room No: #305 Department of Physics, Indian Institute of Technology Guwahati,

More information

Digital Electronics Detailed Outline

Digital Electronics Detailed Outline Digital Electronics Detailed Outline Unit 1: Fundamentals of Analog and Digital Electronics (32 Total Days) Lesson 1.1: Foundations and the Board Game Counter (9 days) 1. Safety is an important concept

More information

1.1 Silicon on Insulator a brief Introduction

1.1 Silicon on Insulator a brief Introduction Table of Contents Preface Acknowledgements Chapter 1: Overview 1.1 Silicon on Insulator a brief Introduction 1.2 Circuits and SOI 1.3 Technology and SOI Chapter 2: SOI Materials 2.1 Silicon on Heteroepitaxial

More information

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

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng Digital Logic Design Basics Combinational Circuits Sequential Circuits Pu-Jen Cheng Adapted from the slides prepared by S. Dandamudi for the book, Fundamentals of Computer Organization and Design. Introduction

More information

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

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies ETEC 2301 Programmable Logic Devices Chapter 10 Counters Shawnee State University Department of Industrial and Engineering Technologies Copyright 2007 by Janna B. Gallaher Asynchronous Counter Operation

More information

Contents COUNTER. Unit III- Counters

Contents COUNTER. Unit III- Counters COUNTER Contents COUNTER...1 Frequency Division...2 Divide-by-2 Counter... 3 Toggle Flip-Flop...3 Frequency Division using Toggle Flip-flops...5 Truth Table for a 3-bit Asynchronous Up Counter...6 Modulo

More information

Fault Modeling. Why model faults? Some real defects in VLSI and PCB Common fault models Stuck-at faults. Transistor faults Summary

Fault Modeling. Why model faults? Some real defects in VLSI and PCB Common fault models Stuck-at faults. Transistor faults Summary Fault Modeling Why model faults? Some real defects in VLSI and PCB Common fault models Stuck-at faults Single stuck-at faults Fault equivalence Fault dominance and checkpoint theorem Classes of stuck-at

More information

Gates. J. Robert Jump Department of Electrical And Computer Engineering Rice University Houston, TX 77251

Gates. J. Robert Jump Department of Electrical And Computer Engineering Rice University Houston, TX 77251 Gates J. Robert Jump Department of Electrical And Computer Engineering Rice University Houston, T 77251 1. The Evolution of Electronic Digital Devices...1 2. Logical Operations and the Behavior of Gates...2

More information

CO2005: Electronics I (FET) Electronics I, Neamen 3th Ed. 1

CO2005: Electronics I (FET) Electronics I, Neamen 3th Ed. 1 CO2005: Electronics I The Field-Effect Transistor (FET) Electronics I, Neamen 3th Ed. 1 MOSFET The metal-oxide-semiconductor field-effect transistor (MOSFET) becomes a practical reality in the 1970s. The

More information

Topics of Chapter 5 Sequential Machines. Memory elements. Memory element terminology. Clock terminology

Topics of Chapter 5 Sequential Machines. Memory elements. Memory element terminology. Clock terminology Topics of Chapter 5 Sequential Machines Memory elements Memory elements. Basics of sequential machines. Clocking issues. Two-phase clocking. Testing of combinational (Chapter 4) and sequential (Chapter

More information

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012 Flip-Flops and Sequential Circuit Design ECE 52 Winter 22 Reading ssignment Brown and Vranesic 7 Flip-Flops, Registers, Counters and a Simple Processor 7.5 T Flip-Flop 7.5. Configurable Flip-Flops 7.6

More information

Flip-Flops and Sequential Circuit Design

Flip-Flops and Sequential Circuit Design Flip-Flops and Sequential Circuit Design ECE 52 Winter 22 Reading ssignment Brown and Vranesic 7 Flip-Flops, Registers, Counters and a Simple Processor 7.5 T Flip-Flop 7.5. Configurable Flip-Flops 7.6

More information

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.

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. equential Logic o far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs. In sequential logic the output of the

More information

7. Latches and Flip-Flops

7. Latches and Flip-Flops Chapter 7 Latches and Flip-Flops Page 1 of 18 7. Latches and Flip-Flops Latches and flip-flops are the basic elements for storing information. One latch or flip-flop can store one bit of information. The

More information

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

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language Chapter 4 Register Transfer and Microoperations Section 4.1 Register Transfer Language Digital systems are composed of modules that are constructed from digital components, such as registers, decoders,

More information

NAME AND SURNAME. TIME: 1 hour 30 minutes 1/6

NAME AND SURNAME. TIME: 1 hour 30 minutes 1/6 E.T.S.E.T.B. MSc in ICT FINAL EXAM VLSI Digital Design Spring Course 2005-2006 June 6, 2006 Score publication date: June 19, 2006 Exam review request deadline: June 22, 2006 Academic consultancy: June

More information

Module 3: Floyd, Digital Fundamental

Module 3: Floyd, Digital Fundamental Module 3: Lecturer : Yongsheng Gao Room : Tech - 3.25 Email : [email protected] Structure : 6 lectures 1 Tutorial Assessment: 1 Laboratory (5%) 1 Test (20%) Textbook : Floyd, Digital Fundamental

More information

CMOS Binary Full Adder

CMOS Binary Full Adder CMOS Binary Full Adder A Survey of Possible Implementations Group : Eren Turgay Aaron Daniels Michael Bacelieri William Berry - - Table of Contents Key Terminology...- - Introduction...- 3 - Design Architectures...-

More information

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell Digital Electronics Part I Combinational and Sequential Logic Dr. I. J. Wassell Introduction Aims To familiarise students with Combinational logic circuits Sequential logic circuits How digital logic gates

More information

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential

More information

Sequential Logic: Clocks, Registers, etc.

Sequential Logic: Clocks, Registers, etc. ENEE 245: igital Circuits & Systems Lab Lab 2 : Clocks, Registers, etc. ENEE 245: igital Circuits and Systems Laboratory Lab 2 Objectives The objectives of this laboratory are the following: To design

More information

Static-Noise-Margin Analysis of Conventional 6T SRAM Cell at 45nm Technology

Static-Noise-Margin Analysis of Conventional 6T SRAM Cell at 45nm Technology Static-Noise-Margin Analysis of Conventional 6T SRAM Cell at 45nm Technology Nahid Rahman Department of electronics and communication FET-MITS (Deemed university), Lakshmangarh, India B. P. Singh Department

More information

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

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012 Latches, the D Flip-Flop & Counter Design ECE 52A Winter 22 Reading Assignment Brown and Vranesic 7 Flip-Flops, Registers, Counters and a Simple Processor 7. Basic Latch 7.2 Gated SR Latch 7.2. Gated SR

More information

DM9368 7-Segment Decoder/Driver/Latch with Constant Current Source Outputs

DM9368 7-Segment Decoder/Driver/Latch with Constant Current Source Outputs DM9368 7-Segment Decoder/Driver/Latch with Constant Current Source Outputs General Description The DM9368 is a 7-segment decoder driver incorporating input latches and constant current output circuits

More information

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

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1 WEEK 8.1 egisters and Counters ECE124 igital Circuits and Systems Page 1 Additional schematic FF symbols Active low set and reset signals. S Active high set and reset signals. S ECE124 igital Circuits

More information

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

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill Objectives: Analyze the operation of sequential logic circuits. Understand the operation of digital counters.

More information

Here we introduced (1) basic circuit for logic and (2)recent nano-devices, and presented (3) some practical issues on nano-devices.

Here we introduced (1) basic circuit for logic and (2)recent nano-devices, and presented (3) some practical issues on nano-devices. Outline Here we introduced () basic circuit for logic and (2)recent nano-devices, and presented (3) some practical issues on nano-devices. Circuit Logic Gate A logic gate is an elemantary building block

More information

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: [email protected]. Sequential Circuit

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: jimmy@ee.ncu.edu.tw. Sequential Circuit Modeling Sequential Elements with Verilog Prof. Chien-Nan Liu TEL: 03-4227151 ext:34534 Email: [email protected] 4-1 Sequential Circuit Outputs are functions of inputs and present states of storage elements

More information

Introduction to CMOS VLSI Design

Introduction to CMOS VLSI Design Introduction to CMOS VLSI esign Slides adapted from: N. Weste,. Harris, CMOS VLSI esign, Addison-Wesley, 3/e, 24 Introduction Integrated Circuits: many transistors on one chip Very Large Scale Integration

More information

Sistemas Digitais I LESI - 2º ano

Sistemas Digitais I LESI - 2º ano Sistemas Digitais I LESI - 2º ano Lesson 6 - Combinational Design Practices Prof. João Miguel Fernandes ([email protected]) Dept. Informática UNIVERSIDADE DO MINHO ESCOLA DE ENGENHARIA - PLDs (1) - The

More information

Sequential Logic Design Principles.Latches and Flip-Flops

Sequential Logic Design Principles.Latches and Flip-Flops Sequential Logic Design Principles.Latches and Flip-Flops Doru Todinca Department of Computers Politehnica University of Timisoara Outline Introduction Bistable Elements Latches and Flip-Flops S-R Latch

More information

Lecture 5: Gate Logic Logic Optimization

Lecture 5: Gate Logic Logic Optimization Lecture 5: Gate Logic Logic Optimization MAH, AEN EE271 Lecture 5 1 Overview Reading McCluskey, Logic Design Principles- or any text in boolean algebra Introduction We could design at the level of irsim

More information

CS311 Lecture: Sequential Circuits

CS311 Lecture: Sequential Circuits CS311 Lecture: Sequential Circuits Last revised 8/15/2007 Objectives: 1. To introduce asynchronous and synchronous flip-flops (latches and pulsetriggered, plus asynchronous preset/clear) 2. To introduce

More information

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

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse. DIGITAL COUNTERS http://www.tutorialspoint.com/computer_logical_organization/digital_counters.htm Copyright tutorialspoint.com Counter is a sequential circuit. A digital circuit which is used for a counting

More information

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

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop. Objectives Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop. describe how such a flip-flop can be SET and RESET. describe the disadvantage

More information

Layout of Multiple Cells

Layout of Multiple Cells Layout of Multiple Cells Beyond the primitive tier primitives add instances of primitives add additional transistors if necessary add substrate/well contacts (plugs) add additional polygons where needed

More information

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

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute DIGITAL TECHNICS II Dr. Bálint Pődör Óbuda University, Microelectronics and Technology Institute 2. LECTURE: ELEMENTARY SEUENTIAL CIRCUITS: FLIP-FLOPS 1st year BSc course 2nd (Spring) term 2012/2013 1

More information

BINARY CODED DECIMAL: B.C.D.

BINARY CODED DECIMAL: B.C.D. BINARY CODED DECIMAL: B.C.D. ANOTHER METHOD TO REPRESENT DECIMAL NUMBERS USEFUL BECAUSE MANY DIGITAL DEVICES PROCESS + DISPLAY NUMBERS IN TENS IN BCD EACH NUMBER IS DEFINED BY A BINARY CODE OF 4 BITS.

More information

DEPARTMENT OF INFORMATION TECHNLOGY

DEPARTMENT OF INFORMATION TECHNLOGY DRONACHARYA GROUP OF INSTITUTIONS, GREATER NOIDA Affiliated to Mahamaya Technical University, Noida Approved by AICTE DEPARTMENT OF INFORMATION TECHNLOGY Lab Manual for Computer Organization Lab ECS-453

More information

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department Counters By: Electrical Engineering Department 1 Counters Upon completion of the chapter, students should be able to:.1 Understand the basic concepts of asynchronous counter and synchronous counters, and

More information

Memory Elements. Combinational logic cannot remember

Memory Elements. Combinational logic cannot remember Memory Elements Combinational logic cannot remember Output logic values are function of inputs only Feedback is needed to be able to remember a logic value Memory elements are needed in most digital logic

More information

PLL frequency synthesizer

PLL frequency synthesizer ANALOG & TELECOMMUNICATION ELECTRONICS LABORATORY EXERCISE 4 Lab 4: PLL frequency synthesizer 1.1 Goal The goals of this lab exercise are: - Verify the behavior of a and of a complete PLL - Find capture

More information

LFSR BASED COUNTERS AVINASH AJANE, B.E. A technical report submitted to the Graduate School. in partial fulfillment of the requirements

LFSR BASED COUNTERS AVINASH AJANE, B.E. A technical report submitted to the Graduate School. in partial fulfillment of the requirements LFSR BASED COUNTERS BY AVINASH AJANE, B.E A technical report submitted to the Graduate School in partial fulfillment of the requirements for the degree Master of Science in Electrical Engineering New Mexico

More information

Clocking. Figure by MIT OCW. 6.884 - Spring 2005 2/18/05 L06 Clocks 1

Clocking. Figure by MIT OCW. 6.884 - Spring 2005 2/18/05 L06 Clocks 1 ing Figure by MIT OCW. 6.884 - Spring 2005 2/18/05 L06 s 1 Why s and Storage Elements? Inputs Combinational Logic Outputs Want to reuse combinational logic from cycle to cycle 6.884 - Spring 2005 2/18/05

More information

Alpha CPU and Clock Design Evolution

Alpha CPU and Clock Design Evolution Alpha CPU and Clock Design Evolution This lecture uses two papers that discuss the evolution of the Alpha CPU and clocking strategy over three CPU generations Gronowski, Paul E., et.al., High Performance

More information

CHAPTER 16 MEMORY CIRCUITS

CHAPTER 16 MEMORY CIRCUITS CHPTER 6 MEMORY CIRCUITS Chapter Outline 6. atches and Flip-Flops 6. Semiconductor Memories: Types and rchitectures 6.3 Random-ccess Memory RM Cells 6.4 Sense-mplifier and ddress Decoders 6.5 Read-Only

More information

Gates, Circuits, and Boolean Algebra

Gates, Circuits, and Boolean Algebra Gates, Circuits, and Boolean Algebra Computers and Electricity A gate is a device that performs a basic operation on electrical signals Gates are combined into circuits to perform more complicated tasks

More information

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute. 2nd (Spring) term 2012/2013

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute. 2nd (Spring) term 2012/2013 DIGITAL TECHNICS II Dr. Bálint Pődör Óbuda University, Microelectronics and Technology Institute 4. LECTURE: COUNTERS AND RELATED 2nd (Spring) term 2012/2013 1 4. LECTURE: COUNTERS AND RELATED 1. Counters,

More information

Lecture 8: Synchronous Digital Systems

Lecture 8: Synchronous Digital Systems Lecture 8: Synchronous Digital Systems The distinguishing feature of a synchronous digital system is that the circuit only changes in response to a system clock. For example, consider the edge triggered

More information

Figure 8-1 Four Possible Results of Adding Two Bits

Figure 8-1 Four Possible Results of Adding Two Bits CHPTER EIGHT Combinational Logic pplications Thus far, our discussion has focused on the theoretical design issues of computer systems. We have not yet addressed any of the actual hardware you might find

More information

Multipliers. Introduction

Multipliers. Introduction Multipliers Introduction Multipliers play an important role in today s digital signal processing and various other applications. With advances in technology, many researchers have tried and are trying

More information

Combinational Logic Design

Combinational Logic Design Chapter 4 Combinational Logic Design The foundations for the design of digital logic circuits were established in the preceding chapters. The elements of Boolean algebra (two-element switching algebra

More information

CHAPTER 11 LATCHES AND FLIP-FLOPS

CHAPTER 11 LATCHES AND FLIP-FLOPS CHAPTER 11 LATCHES AND FLIP-FLOPS This chapter in the book includes: Objectives Study Guide 11.1 Introduction 11.2 Set-Reset Latch 11.3 Gated D Latch 11.4 Edge-Triggered D Flip-Flop 11.5 S-R Flip-Flop

More information

Introduction to VLSI Programming. TU/e course 2IN30. Prof.dr.ir. Kees van Berkel Dr. Johan Lukkien [Dr.ir. Ad Peeters, Philips Nat.

Introduction to VLSI Programming. TU/e course 2IN30. Prof.dr.ir. Kees van Berkel Dr. Johan Lukkien [Dr.ir. Ad Peeters, Philips Nat. Introduction to VLSI Programming TU/e course 2IN30 Prof.dr.ir. Kees van Berkel Dr. Johan Lukkien [Dr.ir. Ad Peeters, Philips Nat.Lab] Introduction to VLSI Programming Goals Create silicon (CMOS) awareness

More information

Theory of Logic Circuits. Laboratory manual. Exercise 3

Theory of Logic Circuits. Laboratory manual. Exercise 3 Zakład Mikroinformatyki i Teorii Automatów yfrowych Theory of Logic ircuits Laboratory manual Exercise 3 Bistable devices 2008 Krzysztof yran, Piotr zekalski (edt.) 1. lassification of bistable devices

More information

ISSCC 2003 / SESSION 13 / 40Gb/s COMMUNICATION ICS / PAPER 13.7

ISSCC 2003 / SESSION 13 / 40Gb/s COMMUNICATION ICS / PAPER 13.7 ISSCC 2003 / SESSION 13 / 40Gb/s COMMUNICATION ICS / PAPER 13.7 13.7 A 40Gb/s Clock and Data Recovery Circuit in 0.18µm CMOS Technology Jri Lee, Behzad Razavi University of California, Los Angeles, CA

More information

10 BIT s Current Mode Pipelined ADC

10 BIT s Current Mode Pipelined ADC 10 BIT s Current Mode Pipelined ADC K.BHARANI VLSI DEPARTMENT VIT UNIVERSITY VELLORE, INDIA [email protected] P.JAYAKRISHNAN VLSI DEPARTMENT VIT UNIVERSITY VELLORE, INDIA [email protected]

More information

Lesson 12 Sequential Circuits: Flip-Flops

Lesson 12 Sequential Circuits: Flip-Flops Lesson 12 Sequential Circuits: Flip-Flops 1. Overview of a Synchronous Sequential Circuit We saw from last lesson that the level sensitive latches could cause instability in a sequential system. This instability

More information

CHARGE pumps are the circuits that used to generate dc

CHARGE pumps are the circuits that used to generate dc INTERNATIONAL JOURNAL OF DESIGN, ANALYSIS AND TOOLS FOR CIRCUITS AND SYSTEMS, VOL. 1, NO. 1, JUNE 2011 27 A Charge Pump Circuit by using Voltage-Doubler as Clock Scheme Wen Chang Huang, Jin Chang Cheng,

More information

Sequential Circuit Design

Sequential Circuit Design Sequential Circuit Design Lan-Da Van ( 倫 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C. Fall, 2009 [email protected] http://www.cs.nctu.edu.tw/~ldvan/ Outlines

More information

Chapter 5. Sequential Logic

Chapter 5. Sequential Logic Chapter 5 Sequential Logic Sequential Circuits (/2) Combinational circuits: a. contain no memory elements b. the outputs depends on the current inputs Sequential circuits: a feedback path outputs depends

More information

TRUE SINGLE PHASE CLOCKING BASED FLIP-FLOP DESIGN

TRUE SINGLE PHASE CLOCKING BASED FLIP-FLOP DESIGN TRUE SINGLE PHASE CLOCKING BASED FLIP-FLOP DESIGN USING DIFFERENT FOUNDRIES Priyanka Sharma 1 and Rajesh Mehra 2 1 ME student, Department of E.C.E, NITTTR, Chandigarh, India 2 Associate Professor, Department

More information

Sequential 4-bit Adder Design Report

Sequential 4-bit Adder Design Report UNIVERSITY OF WATERLOO Faculty of Engineering E&CE 438: Digital Integrated Circuits Sequential 4-bit Adder Design Report Prepared by: Ian Hung (ixxxxxx), 99XXXXXX Annette Lo (axxxxxx), 99XXXXXX Pamela

More information

Binary Adders: Half Adders and Full Adders

Binary Adders: Half Adders and Full Adders Binary Adders: Half Adders and Full Adders In this set of slides, we present the two basic types of adders: 1. Half adders, and 2. Full adders. Each type of adder functions to add two binary bits. In order

More information

System on Chip Design. Michael Nydegger

System on Chip Design. Michael Nydegger Short Questions, 26. February 2015 What is meant by the term n-well process? What does this mean for the n-type MOSFETs in your design? What is the meaning of the threshold voltage (practically)? What

More information

The components. E3: Digital electronics. Goals:

The components. E3: Digital electronics. Goals: E3: Digital electronics Goals: Basic understanding of logic circuits. Become familiar with the most common digital components and their use. Equipment: 1 st. LED bridge 1 st. 7-segment display. 2 st. IC

More information

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

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks UNIVERSITY OF KERALA First Degree Programme in Computer Applications Model Question Paper Semester I Course Code- CP 1121 Introduction to Computer Science TIME : 3 hrs Maximum Mark: 80 SECTION A [Very

More information

BOOLEAN ALGEBRA & LOGIC GATES

BOOLEAN ALGEBRA & LOGIC GATES BOOLEAN ALGEBRA & LOGIC GATES Logic gates are electronic circuits that can be used to implement the most elementary logic expressions, also known as Boolean expressions. The logic gate is the most basic

More information

The 104 Duke_ACC Machine

The 104 Duke_ACC Machine The 104 Duke_ACC Machine The goal of the next two lessons is to design and simulate a simple accumulator-based processor. The specifications for this processor and some of the QuartusII design components

More information

NEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell.

NEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell. CHAPTER 4 THE ADDER The adder is one of the most critical components of a processor, as it is used in the Arithmetic Logic Unit (ALU), in the floating-point unit and for address generation in case of cache

More information

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff Supply voltage Supervisor TL77xx Series Author: Eilhard Haseloff Literature Number: SLVAE04 March 1997 i IMPORTANT NOTICE Texas Instruments (TI) reserves the right to make changes to its products or to

More information

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on Digital Logic Circuits Digital circuits make up all computers and computer systems. The operation of digital circuits is based on Boolean algebra, the mathematics of binary numbers. Boolean algebra is

More information

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

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots Registers As you probably know (if you don t then you should consider changing your course), data processing is usually

More information

CHAPTER IX REGISTER BLOCKS COUNTERS, SHIFT, AND ROTATE REGISTERS

CHAPTER IX REGISTER BLOCKS COUNTERS, SHIFT, AND ROTATE REGISTERS CHAPTER IX-1 CHAPTER IX CHAPTER IX COUNTERS, SHIFT, AN ROTATE REGISTERS REA PAGES 249-275 FROM MANO AN KIME CHAPTER IX-2 INTROUCTION -INTROUCTION Like combinational building blocks, we can also develop

More information

Design and analysis of flip flops for low power clocking system

Design and analysis of flip flops for low power clocking system Design and analysis of flip flops for low power clocking system Gabariyala sabadini.c PG Scholar, VLSI design, Department of ECE,PSNA college of Engg and Tech, Dindigul,India. Jeya priyanka.p PG Scholar,

More information

MM74C150 MM82C19 16-Line to 1-Line Multiplexer 3-STATE 16-Line to 1-Line Multiplexer

MM74C150 MM82C19 16-Line to 1-Line Multiplexer 3-STATE 16-Line to 1-Line Multiplexer MM74C150 MM82C19 16-Line to 1-Line Multiplexer 3-STATE 16-Line to 1-Line Multiplexer General Description The MM74C150 and MM82C19 multiplex 16 digital lines to 1 output. A 4-bit address code determines

More information

DESIGN CHALLENGES OF TECHNOLOGY SCALING

DESIGN CHALLENGES OF TECHNOLOGY SCALING DESIGN CHALLENGES OF TECHNOLOGY SCALING IS PROCESS TECHNOLOGY MEETING THE GOALS PREDICTED BY SCALING THEORY? AN ANALYSIS OF MICROPROCESSOR PERFORMANCE, TRANSISTOR DENSITY, AND POWER TRENDS THROUGH SUCCESSIVE

More information

Latch Timing Parameters. Flip-flop Timing Parameters. Typical Clock System. Clocking Overhead

Latch Timing Parameters. Flip-flop Timing Parameters. Typical Clock System. Clocking Overhead Clock - key to synchronous systems Topic 7 Clocking Strategies in VLSI Systems Peter Cheung Department of Electrical & Electronic Engineering Imperial College London Clocks help the design of FSM where

More information

CpE358/CS381. Switching Theory and Logical Design. Class 4

CpE358/CS381. Switching Theory and Logical Design. Class 4 Switching Theory and Logical Design Class 4 1-122 Today Fundamental concepts of digital systems (Mano Chapter 1) Binary codes, number systems, and arithmetic (Ch 1) Boolean algebra (Ch 2) Simplification

More information

Engr354: Digital Logic Circuits

Engr354: Digital Logic Circuits Engr354: igital Circuits Chapter 7 Sequential Elements r. Curtis Nelson Sequential Elements In this chapter you will learn about: circuits that can store information; Basic cells, latches, and flip-flops;

More information

IE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1)

IE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1) IE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1) Elena Dubrova KTH / ICT / ES [email protected] BV pp. 584-640 This lecture IE1204 Digital Design, HT14 2 Asynchronous Sequential Machines

More information

CSE140: Components and Design Techniques for Digital Systems

CSE140: Components and Design Techniques for Digital Systems CSE4: Components and Design Techniques for Digital Systems Tajana Simunic Rosing What we covered thus far: Number representations Logic gates Boolean algebra Introduction to CMOS HW#2 due, HW#3 assigned

More information

Upon completion of unit 1.1, students will be able to

Upon completion of unit 1.1, students will be able to Upon completion of unit 1.1, students will be able to 1. Demonstrate safety of the individual, class, and overall environment of the classroom/laboratory, and understand that electricity, even at the nominal

More information

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics PROGETTO DI SISTEMI ELETTRONICI DIGITALI Digital Systems Design Digital Circuits Advanced Topics 1 Sequential circuit and metastability 2 Sequential circuit - FSM A Sequential circuit contains: Storage

More information

COMBINATIONAL CIRCUITS

COMBINATIONAL CIRCUITS COMBINATIONAL CIRCUITS http://www.tutorialspoint.com/computer_logical_organization/combinational_circuits.htm Copyright tutorialspoint.com Combinational circuit is a circuit in which we combine the different

More information

INTRODUCTION TO DIGITAL SYSTEMS. IMPLEMENTATION: MODULES (ICs) AND NETWORKS IMPLEMENTATION OF ALGORITHMS IN HARDWARE

INTRODUCTION TO DIGITAL SYSTEMS. IMPLEMENTATION: MODULES (ICs) AND NETWORKS IMPLEMENTATION OF ALGORITHMS IN HARDWARE INTRODUCTION TO DIGITAL SYSTEMS 1 DESCRIPTION AND DESIGN OF DIGITAL SYSTEMS FORMAL BASIS: SWITCHING ALGEBRA IMPLEMENTATION: MODULES (ICs) AND NETWORKS IMPLEMENTATION OF ALGORITHMS IN HARDWARE COURSE EMPHASIS:

More information

(Refer Slide Time: 00:01:16 min)

(Refer Slide Time: 00:01:16 min) Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control

More information

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

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas Take-Home Exercise Assume you want the counter below to count mod-6 backward. That is, it would count 0-5-4-3-2-1-0, etc. Assume it is reset on startup, and design the wiring to make the counter count

More information